Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too many columns
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00913740
Message ID:
00913743
Views:
15
>Anyone know a way to retrieve all the column names from a sql table that has more columns than VFP9 or earlier can return in sqlcolumns()?

John,

You can use sp_columns system stored procedure or INFORMATION_SCHEMA view
SELECT * FROM pubs.INFORMATION_SCHEMA.COLUMNS
	WHERE table_name = 'authors'
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform