how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / bhaskar
select count(*) from syscolumns where id=(select id from
Sysobjects where [name]='Table_Name')
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
How do I find the transaction log size in sql server?
What is table value parameters (tvp)?
What is right outer join in sql server joins?
How do I view a stored procedure in sql server query?
What are acid properties of transaction?
Define clusters?
What do you mean by cardinality?
What are the different index configurations a table can have?
What do you do in data exploration
Write an SQL query to obtain the 2nd highest salary.
What are truncate options available in sql server? : sql server database administration
Suppose you want to implement the many-to-many relationships while designing tables. How would you do it?
How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database?
Explain a checkpoint?
Is natural join and equi join same?