Viewing post 1 (of 1 total)
DECLARE @sql varchar(100), @param1 int, @param2 varchar(50)
SET @param1 = 100
--SET @param2 = 'sys'
SET @sql = '
SELECT *
FROM [sysobjects]
WHERE 1 = 1'
IF @Param1 IS NOT NULL SET...
February 29, 2008 at 9:14 am
#783882