how to find number of columns in a table in sql server 2000
and 2005 also
Answer Posted / ajit kumar nayak
select count(*) from syscolumns sy,Sysobjects so
where
sy.id =so.id
and so.name = <table name>
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the restrictions that views have to follow? : SQL Server Architecture
What is sharding?
can we have a nested transaction? : Sql server database administration
In my application I have a process which picks the scanned files (tif format) from a shared location and it links to application and shown on it.The actuall issue is that my process picks the file before it is completly written or scanned which results in displaying few parts of the image or incomplete image.I need to check if the file is not completly scanned or written then do not link it to application.Please help if any body tell me that how can i check that file is in written phase or locked through DTS.thanking you in advance
What is code near application topology?
explain declarative management framework (dmf) in sql server 2008?
What command would you use to create an index?
Is BCNF better than 2NF & 3NF? Why?
What is exporting utility?
what is a deadlock? : Sql server database administration
Can we install sql server 2016 on windows 7?
What are the types of subquery?
What is dirty read?
Explain different types of index?
What is cursor in ms sql server?