Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table schema
Message
 
To
23/10/2007 11:41:31
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01262822
Message ID:
01262823
Views:
10
This message has been marked as the solution to the initial question of the thread.
>Hi All,
>
>I know this has been talked about before, but I can not find if I replied to it or not.
>
>I want a way to get the schema of a table and pass it back to vfp. I am going to use this to build the cursoradapter for that table on vfp side. Can someone point me to the thread, please.
>
>I believe it was talking about using the information schema table to get info, but not sure.
>
>TIA
>Beth
SELECT *
      FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'YourTableName'
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform