SQL |
SQL Query to get objects count in database
SQL Query to get count of objects based on its type like table,function in a SQL Server database.
SQL Query to get count of objects based on its type like table,function in a SQL Server database.
SQL |
Join the conversation! Your thoughts help the community grow.
Join to leave a comment
Members earn 10 SHARP for a comment, 10 SHARP for a reaction, and 250 SHARP for every blog they publish.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyeBook · SQL ServerBasics of SQL ServerDownload nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
Lajapathy ArunPosted Jun 23, 2012, 10:32 AM EDT
Select count(*), xtype from sysobjects group by xtype
Lajapathy ArunPosted Jun 23, 2012, 10:32 AM EDT
Simply we can use this, Select count(*), xtype from sysobjects group by xtype Same result.
Lajapathy ArunPosted Jun 23, 2012, 10:29 AM EDT
Really good :)