Other News

Editorials

SQL Tip – SP_Execute_SQL

$$SWYNK$$ SQL Tip – SP_Execute_SQL For those rare occasions when you really must build dynamic SQL for your SQL Server instance while using scripts or stored procedures. When doing this you have two options. EXEC(‘SQL Statement’) Or Sp_Execute_SQL There is a big difference between the two. The exec method operates completely as an ad-hoc query. If every command is EXACTLY […]