Vernon's blog
Wednesday, February 16, 2011
How to grab the triggers from a SQL Server database
Have you ever needed to get the script that created a trigger on a table in a SQL Server database?
Try this:
select b.text
from sysobjects a
join syscomments b on a.id=b.id
where xtype='TR'
Hope that helps.
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Vernon Singleton
tired, bald, random nerd
View my complete profile
contact me here
Yeshua Ha Moshiach
Subscribe
Posts
Atom
Posts
Comments
Atom
Comments
Links
songs
bài hát
lời hay ý đẹp
beautiful thoughts
podcasts
screencasts
family pictures
Kittens
Kitten wars !
Aviad Cohen
RSS feed
Blog Archive
►
2012
(3)
►
March
(2)
Planet M.U.L.E. Error MuleException liblwjgl.so w...
Block anonymous users from seeing media wiki histo...
►
February
(1)
Error for wireless request "Set Encode" (8B2A) : S...
▼
2011
(16)
►
October
(1)
Using the Places module (or Gadget) in e17 or enli...
►
May
(4)
The day of the cross
Flex Jam Orlando 2011
Errors: unable to open 'C:\Documents and Settings\...
error: SSL certificate problem, verify that the CA...
►
March
(7)
James Gosling now working at Google
Do Good Anyway
Cứ làm tốt luôn luôn
Howto explore files on your Blackberry
PrimeFaces rocks ...
Dictionary - Từ điển (cập nhật)
X and such ...
▼
February
(2)
X11 error: BadAlloc (insufficient resources for op...
How to grab the triggers from a SQL Server databas...
►
January
(2)
How do I get a list of commit comments from CVS af...
Problems with a Vietnamese character on mobile dev...
►
2010
(24)
►
November
(2)
Fedora - Google Earth: /opt/google-earth/libIGGfx....
Khát Khao Dòng Nước
►
September
(1)
PHP Fatal error: Allowed memory size of X bytes e...
►
August
(3)
gedit: Segmentation fault
Unicode Normalization Forms: Interesting issue wit...
Dictionary - Từ điển
►
July
(2)
Cô Hàng Nước
Google Translate "Side-by-Side View"
►
June
(5)
monobook dark
Animals ...
Understanding unicode ... a 5 minute deep dive
[WARNING] Unable to get resource 'org.someorg.proj...
A few of us ...
►
May
(3)
Tình Ca Du Mục
Red Roses for a Blue Lady
The Linux
►
April
(1)
I'll Soar
►
March
(2)
jQuery's show() function does not work on my Black...
The good and the bad ...
►
February
(3)
Error getting repository data for rawhide, reposit...
Failed to open VDPAU backend libvdpau_nvidia.so: c...
Kick users out of terminal services in Windows Ser...
►
January
(2)
You are *required* to use the date.timezone settin...
Solution: Cannot create a desktop icon in KDE vers...
►
2009
(46)
►
December
(3)
Rahide Warning: Group KDE (K Desktop Environment) ...
bash: !someActualEvent: event not found
I Don't Care Where You've Been
►
November
(3)
Pastor Mark has a great sermon for you.
Cannot retrieve metalink for repository: fedora. P...
Don Fransisco
►
October
(1)
yum install meld
►
September
(2)
►
August
(4)
►
July
(5)
►
June
(1)
►
May
(2)
►
April
(7)
►
March
(9)
►
February
(5)
►
January
(4)
►
2008
(37)
►
December
(3)
►
November
(6)
►
October
(3)
►
September
(4)
►
August
(1)
►
July
(1)
►
June
(5)
►
May
(2)
►
April
(5)
►
March
(3)
►
February
(2)
►
January
(2)
►
2007
(29)
►
December
(4)
►
November
(1)
►
October
(3)
►
September
(2)
►
August
(2)
►
July
(1)
►
May
(2)
►
April
(1)
►
March
(1)
►
February
(2)
►
January
(10)
►
2006
(61)
►
December
(20)
►
November
(2)
►
October
(6)
►
September
(6)
►
August
(3)
►
July
(3)
►
June
(3)
►
May
(6)
►
April
(4)
►
February
(4)
►
January
(4)
►
2005
(25)
►
December
(7)
►
November
(6)
►
October
(1)
►
August
(3)
►
July
(3)
►
June
(1)
►
April
(3)
►
January
(1)
0 comments:
Post a Comment