Answer Posted / kishore
select count(*) NoOfColumns from SYSCOLUMNS
WHERE id= (Select id from SYSOBJECTS where name = 'city')
In this querry may name is Tablename
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
What is the difference between char, varchar and nvarchar?
How can sql injection be stopped? : sql server security
Would you store your query in a ssrs report or a database server? State the reason why?
Explain the dirty pages?
How to return the second 5 rows in ms sql server?
Explain about nested stored procedure?
What is faster join or union?
What are key, name and value columns of an attribute? : sql server analysis services, ssas
What are functions in the sql server?
What is fill factor and pad index?
I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?
How to invoke a trigger on demand?
Find first and last day of current month in sql server
Define ACID properties in a Database?
How to count duplicated values in a column in ms sql server?