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 do you mean by tablesample?
How to get a list of columns using the "sys.columns" view in ms sql server?
How will you know when statistics on a table are obsolete?
What is a view in sql?
Explain filtered indexes benefits?
What is best institute to Learn DotNET And SQL in chennai?
explain what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration
How sql server enhances scalability of the database system?
What are the different kinds of ssrs reports?
What is sql server 2000 work load governor?
What information is maintained within the msdb database?
how many triggers you can have on a table? : Sql server database administration
What is the difference between join and inner join?
How do you implement session management in SQL Server mode?
Differentiate between a primary key and a unique key.