TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Get StoredProcedure,Trigger,Function Name with counts From DataBase
Vithal Wadje
Oct 30
2014
Code
1.3
k
0
1
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
select
name
as
StoredProcedureName
from
sys.procedures
select
count
(*)
as
ProcedureCount
from
sys.procedures
select
count
(*)
as
TriggerCount
from
sysobjects
where
type=
'TR'
Select
name
as
TriggerName
from
sysobjects
where
type=
'TR'
select
count
(*)
as
FunctionCount
from
sysobjects
where
type=
'FN'
Select
name
as
FunctionnName
from
sysobjects
where
type=
'FN'
StoredProcedure
Trigger