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 the purpose of the model database?
How many types of built in functions are there in sql server 2012?
Distinguish between nested subquery and correlated subquery?
What are trace flags?
Do comments need to go in a special place in sql server 2005?
Explain the disadvantages of cursors?
What is log cache in sql server?
What is database white box testing?
What is the difference between executequery () and executeupdate ()?
What is difference between temp table and cte?
Tell me what is the stuff and how does it differ from the replace function?
What is the purpose of indexing?
How do I find my localdb version?
Difference between LEN() and DATALENGTH() in sql server ?
Is sql different from sql server?