Stored procedures can speed up your code by reducing trips to your database -- even if you only have one SQL statement to execute. Here's how to speed up your application (and how to simplify your ...
Ok, I'm trying to write a query in a stored procedure in SQL Server 2000. Because some of the parts of the query vary based on certain situations I construct a string that contains the query and then ...
This one really has me stumped. I've got a stored procedure that builds a dynamic query string and then executes it with sp_executesql. The variable I'm using for the querystring is nvarchar(1000).