how to find number of columns in a table in sql server 2000
and 2005 also

Answer Posted / ashutosh jha

select count (*) from tablename.

Is This Answer Correct ?    7 Yes 134 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to select some specific columns from a table in a query in ms sql server?

727


Suppose you want to implement the one-to-many relationships while designing tables. How would you do it?

690


Characterize join and name diverse sorts of joins?

683


What are the requirements on sql server network connections?

694


How do I start sql server 2017?

705


Is a null value equal to anything? Can a space in a column be considered a null value? Why or why not?

809


How do you delete a trigger?

744


Mention the 3 ways to get a count of the number of records in a table.

722


How to implement service broker?

705


Would you store your query in a ssrs report or a database server? State the reason why?

132


How to create stored procedures with parameters in ms sql server?

707


What it means to be triggered?

664


What is abstracting periodical?

699


What are diverse clauses that form a part of sql?

800


what are the steps you will take to improve performance of a poor performing query? : Sql server database administration

711