how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / jerry joseph
SELECT count(*) NoOfColumns FROM SYSCOLUMNS
WHERE id= (Select id from SYSOBJECTS where name = 'TableName')
| Is This Answer Correct ? | 14 Yes | 6 No |
Post New Answer View All Answers
Can you always create a cache of a report?
What are the types of normalization?
What is the Control Flow in SSIS
What is the difference between local and global temporary tables?
Does partitioning ssd reduce performance?
How to maintain a fill factor in existing indexes?
Can you explain what is sql server english query?
Can we use where and having clause together?
what changed between the previous version of sql server and the current version? : Sql server database administration
How many tables can be joined in SQL Server?
What are the types of ssrs?
What is 2nf in normalization?
What are the new scripting capabilities of ssms? : sql server management studio
What is amo? : sql server analysis services, ssas
What is pivot and unpivot?