how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / surbhi
SELECT count(*) FROM INFORMATION_SCHEMA.COLUMNS where
table_name='tablename'
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What happens if we shrink log file in sql server?
When does a workload on SQL Azure get throttled?
What stored procedure can you use to display the current processes?
Explain the properties of subqueries in sql server?
What is the cartesian product of table?
What's the information that can be stored inside a bit column?
Mention what are the different types of ssrs reports?
How many replicas are maintained for each sql azure db?
What is the difference between writing data to mirrored drives versus raid5 drives
How except clause is differs from not in clause?
How to create a simple user defined function in ms sql server?
What are the restrictions that views have to follow? : SQL Server Architecture
What happens on checkpoint?
Explain the dirty pages?
How will you know when statistics on a table are obsolete?