how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / rajkumar v
select count(*) from information_schema.columns where
table_name='Emp'
EMP table name
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain identity in sql server?
How to drop existing views from a database in ms sql server?
what are database files and filegroups? : Sql server database administration
What are the main sources of data?
What do you understand by mirroring and mention the advantages of the mirroring?
Write the queries for commands like Create Table, Delete table, Drop Table etc.
What is tempdb database? : SQL Server Architecture
How do you know if sql server is running on your local system?
What are the different editions available in sql server 2000?
Disadvantages of the indexes?
What are the types of lock supported by ?
Write query to return all rows sql?
What is explicit mode in sql server?
Can the query output be sorted by multiple columns in ms sql server?
What happens if null values are involved in datetime operations?