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
Can we add an identity column to decimal datatype?
What is the bookmark lookup and rid lookup?
What does ss stand for sexually?
What is the default value of an integer data type in sql server 2005?
What is an identity?
What you can do to delete a table without the delete trigger firing?
What is a constant or literal in ms sql server?
What is the difference between clustered and non-clustered indexes in ms sql server?
How to access the inserted record of an event?
What is normalization process?
What is equi join with example?
What is an example of a primary key?
Write the syntax for stuff function in an sql server?
Can primary key be null?
how would you store your query in an SSRS report or a Database server?