how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / kumar.t
Select Count(Column_Name) As NoOfColumns From
Information_Schema.Columns Where table_Name='Company'
| Is This Answer Correct ? | 22 Yes | 2 No |
Post New Answer View All Answers
Explain syntax for disabling triggers?
How do you send email on SQL Server?
What is candidate key with example?
What is a rownum?
What is a file group?
Equi join and non equi join is possible with sql server?
How do you rebuild an identity column?
How to generate create procedure script on an existing stored procedure?
What is your recommendation for a query running very slow? : sql server database administration
Can group by and orderby be used together?
How to copy the tables, schema and views from one sql server to another?
What are filegroups in sql server?
How do I find the sql server instance name?
How to run queries with sql server management studio express?
What are the underflow and overflow behaviors on float literals?