Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
dummy-girl
Starting Member
3 Posts |
Posted - 2005-05-12 : 14:41:41
|
| How do I display the datatype of a column using SQL?Not the datatype of the column value, but the datatype of the column as mentioned when it is created.Select unknownFunction(myColumnName) from myTableName |
|
|
X002548
Not Just a Number
15586 Posts |
Posted - 2005-05-12 : 14:43:08
|
| [code]USE NorthwindGOSELECT * FROM INFORMATION_SCHEMA.Columns WHERE TABLE_NAME = 'Orders'GOsp_help OrdersGO[/code]Brett8-) |
 |
|
|
|
|
|