how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / laxmi reddy
SELECT COUNT(COLUMN_NAME) FROM ALL_TAB_COLS WHERE
TABLE_NAME=<'TABLE_NAME'>;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we create clustered index on composite key?
Do you know what are pages and extents? : SQL Server Architecture
Why I am getting "the microsoft .net framework 2.0 in not installed" message?
Explain about unique identifier data type in sql server?
What is stretch database in sql server?
Explain about analysis services?
What is importing utility?
Explain the cursor lock types?
Write an SQL query to obtain the 2nd highest salary.
What is it unwise to create wide clustered index keys?
What is the full form of ddl?
Is a null value equal to anything? Can a space in a column be considered a null value? Why or why not?
Can select statements be used on views in ms sql server?
Is it ok to shrink transaction log?
How to find which stored procedure is currently running in sql server?