Viewing 9 posts - 1 through 9 (of 9 total)
Aye, dynamic SQL it is...
Thanks very much to all who took time to look at this problem, it's much appreciated!
May 2, 2012 at 8:01 am
SQL Kiwi (5/2/2012)
Without...
May 2, 2012 at 7:18 am
Grant Fritchey (5/2/2012)
May 2, 2012 at 6:46 am
Certainly can.
It would appear the option (recompile) should work, admittedly I'm trying outside of a stored procedure, but that shouldn't make a difference, should it?
May 2, 2012 at 6:01 am
Grant Fritchey (5/2/2012)
May 2, 2012 at 5:45 am
Hmm, sorry, but I disagree, I think this is pretty damn nasty.
A table for each type of object that is changed each having the same schema?
Columns defined for the...
November 23, 2009 at 4:19 am
RyanRandall (9/28/2007)
However, for the example presented by the article, can someone tell me what's wrong with simply this?...
select
customerid, companyname, country
from
...
September 28, 2007 at 3:33 am
How about:...?
set @companyname = 'A%'
set @companynameOp = 'ne'
set @country = 'Germany'
set @countryOp = 'eq'
set@companyName =
case @companyNameOp
...
September 28, 2007 at 2:22 am
One reason never to use this product, just how is
SELECT
@error = @@ERROR
IF
0 = @error
AND
0 < @@trancount
COMMIT
ELSE
ROLLBACK
END
easier to read than
if 0 =...
June 28, 2007 at 2:17 am
Viewing 9 posts - 1 through 9 (of 9 total)