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
Why use update_statistics command in sql server?
what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration
What are the results of running this script?
What is difference between inner join and join?
Why we need sql server?
What is sql server profiler?
What are the commands used in DCL?
What is the purpose of the master database?
What is the largest component inside a field?
Explain what is the difference between a local and a global temporary table?
Suppose you want to implement the one-to-one relationships while designing tables. How would you do it?
Please explain go command in sql server?
How sql server executes a statement with nested subqueries?
what's the maximum size of a row? : Sql server database administration
What is the use of stored procedure?