Thread: Funny stuff
View Single Post
Old 8th November 2010
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 429
Default

This made me want to cry/vomit/laugh like a maniac (yeah, this is a production script):

Code:
EXEC xp_cmdshell 'osql g:\somescript.sql'
I can't wait until everyone upgrades so I can take a sledge hammer to these SQL Server machines...
Reply With Quote