how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / naren
sp_help tablename
another command is
select name from syscolumns where id=object_id
('table_name')
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What is an indexing strategy?
Explain what is scheduled job and how to create it?
What is your recommendation for a query running very slow? : sql server database administration
Can one drop a column from a table?
What are the differences between INNER JOIN, LEFT JOIN and RIGHT JOIN in SQL Server?
How does the report manager work in SSRS?
What is the full form of dql?
Explain different types of locks in sql server.
but what if you have to create a database with two filegroups, one on drive c and the other on drive d with log on drive e with an initial size of 600 mb and with a growth factor of 15%? : Sql server database administration
Difference Between ORDER BY Clause and GROUP BY Clause in SQL?
Which data type columns are the best candidates for full-text indexing?
What are cursors in ms sql server?
How to generate create table script on an existing table in ms sql server?
Can you tell me about the concept of ER diagrams?
Does group by or order by come first?