I havent really used Excel as a datastore, but I would imagine that each worksheet is treated like an individual table. If I am right in assuming this, you could try,
SELECT name
FROM dbo.sysobjects
WHERE xtype = 'U'
But I couldnt be sure that is going to work.
|