how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / rajkumar v
select count(*) from information_schema.columns where
table_name='Emp'
EMP table name
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Define Wed Edition in SQL Azure?
What is the difference between osql and query analyzer?
When do you think a developer should use sql server-based cursors?
How does Report Builder support Analysis Services cubes?
What is shared lock?
Why should we go for stored procedures? Why not direct queries?
what exactly sql injuction.how to overcome.....
How to search for a string in all stored procedure in sql server?
What does the update command do?
What is attribute hierarchy? : sql server analysis services, ssas
Where cross join is used?
What are parameterized reports?
How you can minimize the deadlock situation?
What methods do you follow to protect from sql injection attack?
What is a heap?