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 2016 have ssms?
What are the five major components of a dbms?
State the difference between local and global temporary tables?
What is a collation in ms sql server?
What is join and name different type of joins?
What does the update command do?
Where in ms sql server is ’100’ equal to ‘0’?
Explain about Views?
Explain what stored procedure sp_replcounters is used for? : sql server replication
How to use order by with union operators in ms sql server?
What are commit and rollback in sql?
What is cursors?
What is RMS migrations?
How do I install sql server?
How dts is used to extract, transform and consolidate data?