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 the query and subquery?
How to create a user name in a database?
How many non clustered indexes there can be on table ?
Explain about integration services of Microsoft SQL server?
How and why use sql server?
Can we create clustered index on composite key?
What is application role in sql server database security? : sql server security
Describe different Processing Modes offered by SSRS?
How to list all dsn entries on your local machine using odbc_data_source()?
What do you know about normalization and de- normalization?
How to insert a new row into a table with "insert into" statements in ms sql server?
Do you know data definition language, data control language and data manipulation language?
how to define testing of network layers? : Sql server database administration
What is indexed view?
How can you set the threshold at which sql server will generate keysets asynchronously?