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 are different types of table joins?
What is the default fill factor value?
Explain tables in SQL Azure?
Explain candidate key, alternate key, and composite key?
What are the Advantages of using CTE in sql server?
What are the commands used in DCL?
Explain intellisense for query editing
What is table valued function and scalar valued functions?
What does sql server mean?
what is the information that can be stored inside a bit column? : Sql server database administration
What is DCL?
List out the different types of locks available in sql server?
Explain timestamp datatype?
Explain the different index configurations a table can have?
Write a SQL command to insert and update only a particular field?