Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine Field Type
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00845774
Message ID:
00845777
Views:
20
You can use INFORMATION_SCHEMA
USE pubs
SELECT data_type FROM INFORMATION_SCHEMA.COLUMNS 
  WHERE table_name = 'authors' AND column_name = 'au_lname'
>I need to find out the type of a field in a table?
>
>Create Table Dodah
>(
>fctablename CHAR(10),
>fddate Datetime)
>
>How can I find out what type of field fddate is in Transact SQL?
>
>Thanks!
>Donna
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform