SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

RegEx in SSMS: A gift for quick code

I had yet another example of how beautiful Regular Expressions can be in SQL coding today, and so I thought I’d share. What I HAD was a set of DELETE statements that might or might not have been executed recently: DELETE FROM dbo.Table1 WHERE val = 1 DELETE FROM dbo.Table2 WHERE val = 1 DELETE … Continue reading RegEx in SSMS: A gift for quick code

The post RegEx in SSMS: A gift for quick code appeared first on The MidnightDBA Star-Times.

Comments

Leave a comment on the original post [www.midnightdba.com, opens in a new window]

Loading comments...