Code Snippet posted by:
Dotnet4ashu | Posted on: 6/2/2012 | Category:
SQL Server Codes | Views: 547 | Status:
[Member] |
Points: 40
|
Alert Moderator
hello friends,
I declaring a new query for finding out how many columns of a table in the same database
select * from sys.columns where object_name(object_id)='table name'
for example
select * from sys.columns where object_name(object_id)='resale'
I hope you will get better knowledge...................
Himanshu Sharma
If you see Dreams then Get Success On Dreams.....
Found interesting? Add this to: