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

Answer Posted / mohan

None of the above answer can result the columns which is
having auto incremented (Identity).
Also if a column is binded to user defined data type that
is also excluded....
So the Correct Number of column cannot be resulted in the
above answers.........

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are various aggregate functions that are available?

504


How can sql server instances be hidden? : sql server security

597


Can we take the full database backup in log shipping?

536


Please differentiate between a local and a global temporary table?

566


How can you know if the row fetched from cursor is still valid in underlying table?

517






What are the instances when triggers are appropriate?

523


How to view the error log for any specific instance? : sql server database administration

579


Write a query for primary key constraint with identity key word?

571


What is the maximum size of column in sql server?

505


What are different backups available in sql server?

606


How do I make a resultset scrollable?

506


What are three major types of constraints?

518


Do you know what is a linked server in sql server?

547


Explain stored procedure?

598


How to maintain a fill factor in existing indexes?

530