how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / surbhi
SELECT count(*) FROM INFORMATION_SCHEMA.COLUMNS where
table_name='tablename'
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is bulkcopy in sql?
What is filtered index?
What is analysis service repository?
How to provide default values to function parameters?
Do you know how to send email from database?
Define normalisation?
Which are the important points to note when multilanguage data is stored in a table?
Does a specific recovery model need to be used for a replicated database? : sql server replication
whats the maximum size of view state??
How to create a new schema in a database?
How to list all user names in a database?
What is BCP? When does it used in sql server 2012?
What are different types of schemas?
what is a schema in sql server 2005? : Sql server database administration
Explain the difference between primary keys and foreign keys?