C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...







Sqlquery please


Posted Date: 03 Jul 2008      Total Responses: 3

Posted By: Naresh       Member Level: Silver     Points: 1



How many tables are in one database by using query analzer please tell me the query..




Responses

Author: Dharmaraj    03 Jul 2008Member Level: DiamondRating:     Points: 1
Hi,

“SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = N’myTable’;”



Author: Abhijeet Kumar    03 Jul 2008Member Level: GoldRating:     Points: 1
select count(*) from sysobjects where xtype = 'U'

should work


Author: Satyanarayan SushilKumar Bajoria    03 Jul 2008Member Level: GoldRating:     Points: 3
Hi,

Please select the appropriate database and then execute the below query to get the required result,

Select count(*) from sysobjects
Where xtype='u'

Thanks and Regards
S.S.Bajoria



Post Reply
You must Sign In to post a response.
Next : Sqlquery please
Previous : How to delete a running program or file using c#
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

conference calls

Contact Us    Privacy Policy    Terms Of Use