how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / saravanan p
select count(column_Name) from information_schema.columns
where table_name='tableName'
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
What is sqlservr.exe - process - sql server (sqlex?press)?
How you would rewrite the sql query to return the customerid sorted numerically?
How to get the definition of a user defined function back?
Why use “nolock” in sql server?
What is extent? Types of extents?
What is public role in sql server?
Tell me the difference between clustered and non-clustered index?
What are the properties of sub-query?
What is a file group?
Explain primary key in sql server?
How do you implement session management in SQL Server mode?
What are drilldown reports?
What is the openxml statement in sql server?
What are the different types of Indexes available in SQL Server?
Why should we go for stored procedures? Why not direct queries?