how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / naren
sp_help tablename
another command is
select name from syscolumns where id=object_id
('table_name')
Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
How will you know when statistics on a table are obsolete?
What is normalization? Explain different forms of normalization?
What are audit control procedures?
Mention what are the different types of ssrs reports?
What is raid, and how it can influence database performance?
Explain what is cte (common table expression)?
Write a program using SQL queries to find a unique entry in a table.
What is a database in ms sql server?
What is a join in sql? What are the types of joins?
what are statistics, under what circumstances they go out of date, how do you update them? : Sql server database administration
Explain tables in SQL Azure?
What is explicit mode in sql server?
What is table level trigger?
What are some examples of schemas?
How will you monitor replication latency in transactional replication? : sql server replication