Viewing 15 posts - 91 through 105 (of 330 total)
with SET FMTONLY, it doesn't do any data changes, just gives you the schema of the result. So passing in any old default value for the parameters will be fine.
Run...
September 29, 2009 at 10:52 am
In general, IIF(X,Y,Z) equates to CASE WHEN X THEN Y ELSE Z END
IIF(X,Y,IIF(A,B,C)) would equate to CASE WHEN X THEN Y ELSE CASE WHEN A THEN B ELSE C END...
September 29, 2009 at 5:35 am
Actually - having just thought about it - I am wondering if it executes it using SET FMTONLY ON.
If I use the following:
SET FMTONLY ON
GO
EXEC stproc_test
Then it immediately returns with...
September 29, 2009 at 5:30 am
Very interesting...
Did you run a profiler trace? I'm intrigued now... 🙂
September 29, 2009 at 5:20 am
I tried to download it and have a look, but the download link was broken :/
My guess is that it is executing the procedures in order to look at the...
September 29, 2009 at 3:59 am
One bit to bear in mind is correct lexical state, for example
-- /*
Print 'hello'
-- */
prints hello, even though it is between two '/*' and '*/' markers. Might be worth replacing...
September 28, 2009 at 4:24 pm
RBarryYoung (9/28/2009)
September 28, 2009 at 2:07 pm
RBarryYoung (9/28/2009)
I don't see how you can claim injury over my characterization of something that you yourself said was "the worst of the worst"? Seriously?!?
I'm not... What I'm...
September 28, 2009 at 12:34 pm
RBarryYoung (9/28/2009)
September 28, 2009 at 10:51 am
The simple answer - SSMS is tolerant to line breaks in any style, unix, mac or windows. unix line breaks are Char(10), windows line breaks are char(13) + char(10). If...
September 28, 2009 at 10:34 am
Silverfox (9/28/2009)
Is it just me, or are some of the answers recently not matching up to the questions asked.
I think that's the case in forums in general, isn't it? There...
September 28, 2009 at 10:26 am
I'll post the reply here, rather than in the lots of times you've asked this question! 🙂
You haven't really been very specific about what you need, but probably the best...
September 27, 2009 at 5:48 pm
There's some info on the following link that may help:
http://support.microsoft.com/kb/309802
Hope it does 🙂
September 27, 2009 at 5:45 pm
Barry
That's a test case. Can you really not imagine a procedure like this, which would also cause the posted code to fail:
/*
* Procedure: stproc_CreateProcessRequestItems
*
* Purpose: Create process...
September 27, 2009 at 4:52 pm
Viewing 15 posts - 91 through 105 (of 330 total)