how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / sudhir kumar
IN SQLSERVER 20005
SELECT COUNT(COLUMN_NAME) FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = N'TABLENAME'
try in sql server 2000
Is This Answer Correct ? | 29 Yes | 5 No |
Post New Answer View All Answers
Does sql server 2000 full-text search support clustering?
What is the web service used for reporting services?
What is parameterized reports in ssrs ?
explain what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration
Why the trigger fires multiple times in single login?
What is difference between temp table and cte?
What is a view and what are its advantages?
What is sql injection? How to protect against sql injection attack?
What are the different types of Indexes available in SQL Server?
Where can you add custom error messages to sql server?
As per your opinion what are the five top responsibilities of a dba? : sql server database administration
Explain Geometry datatype in sql server 2008 with example
What is an index in a database?
How to locate and take substrings with charindex() and substring() functions?
What is the recommended total size of your memory optimized tables?