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
which backup strategy you are following at ur company
What is the difference between primary key and unique constraints?
mention different types of relationships in the dbms?
What are indexers?
Which data types generate inaccurate results if used with an = or <> comparison in a where clause of a sql statement?
Explain what role entity and relationship play in an ER diagram.
what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration
Can you explain powershell included in sql server 2008?
When would you use sql joins?
What is the difference between a function and a stored procedure?
What you can do to delete a table without the delete trigger firing?
How do you trace the traffic hitting a sql server?
How do I run sql server 2014?
Can we shrink data file in sql server?
Can you pass expressions to function parameters?