Register   |  Login
You are hereInterview Questions
 Article Details
Getting column count of a table

SELECT Count(*) FROM Syscolumns WHERE ID=(SELECT object_id('tablename'))


Written By: Kumaravel
Date Posted: 1/20/2009
Number of Views: 743


Comments
You must be logged in to submit a comment.

Return