how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / bhaskar
select count(*) from syscolumns where id=(select id from
Sysobjects where [name]='Table_Name')
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
How to provide column names in insert statements in ms sql server?
What are the types of subscriptions in SQL Server replication?
which table keeps the locking information? : Sql server administration
Explain following error properties?
System requirements for sql server 2005 express edition?
What are recommended options to be used while using db mirroring? : sql server database administration
what is difference between NULL and ISNULL in SQL Server 2008?
How do I find my localdb version?
What is difference between clustered index and non clustered index?
What is data set in report?
What is the architecture of ms sql reporting service?
What are the different types of data sources in ssrs?
What is an entity-relationship diagram (erd)?
What do you understand by recursive stored procedure?
How to change the system date and time from SQL Plus Terminal ?