Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2000 Equivalent?
Message
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
2000 Equivalent?
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01509488
Message ID:
01509488
Views:
98
Does anybody know if there is an Equivalent of the following in SQL 2000? This code works in 2008 but returns invalid object when trying to run it in SQL 2000. The purpose is to get all the field names in my Temp Table which is #MyBedsByDate.
SELECT Name 
FROM tempdb.sys.columns where object_id =object_id('tempdb..#MyBedsByDate') 
Thanks in advance

Kirk
Next
Reply
Map
View

Click here to load this message in the networking platform