|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
MSSQL Describe
Hi
I've recently been put in charge of a website that uses the asp/mssql combo. Unfortunately in my google travels I've been unable to find a basic guide or structured tutorials on mssql. Basically what I need is the equivalent of the MySQL Describe command. So how do I extract the field names and types using asp? If the above is confusing, you can see the Mysql example here Thanks |
|
#2
|
||||
|
||||
|
Code:
SELECT * FROM Information_Schema.Columns WHERE Table_Name = 'TableName' |
|
#3
|
|||
|
|||
|
You can also use:
sp_help TableName
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > MSSQL Describe |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|