Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine Field Type
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00845774
Message ID:
00845777
Vues:
21
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform