Viewing 15 posts - 4,441 through 4,455 (of 8,416 total)
johnhectar (4/1/2010)
how can v insert parameters into procedure
?
April 1, 2010 at 10:14 am
WayneS (4/1/2010)
April 1, 2010 at 10:11 am
Alvin Ramard (4/1/2010)
FYI, here's the suggestion I had sent to Steve for today's QOD:<snip>
What's the correct answer?
The colour with RGB code #FFF8E7.
(Cosmic Latté)
April 1, 2010 at 10:06 am
Steve Jones - Editor (4/1/2010)
NULLs HAVE been deprecated, haven't you heard. SQL 11 will have no NULLs
If only that were true...:wistful-look-emoticon:
April 1, 2010 at 10:04 am
The Dixie Flatline (4/1/2010)
You've been going without sleep... haven't you?
Heh. 😀
April 1, 2010 at 10:00 am
mchofman (4/1/2010)
your completely right. I registered the server in SSMS as Report01, that's why I thought it's name was not UPPERCASE and that's why I also created the linked server...
April 1, 2010 at 9:59 am
John Rowan (4/1/2010)
Man Man (my 3 year old's way of saying batman)
Cute!
April 1, 2010 at 9:55 am
Chris Morris-439714 (4/1/2010)
Oh doen't!
Sigh :rolleyes:
April 1, 2010 at 9:54 am
David-155102 (4/1/2010)
The previous version of the procedure would create the WHERE clause based upon whether any of the parameters were not NULL
The previous implementation was probably pretty close to optimal...
April 1, 2010 at 9:53 am
vaibhav.tiwari (4/1/2010)
One more thing some date is like '25-01-2010 09:51:59' that is the valid date but can not be converted into date.
It's valid in my locale: 25 January 2010 09:51:59.
The...
April 1, 2010 at 9:48 am
The Dixie Flatline (4/1/2010)
Paul, I'm curious. I understand right-padding the high value with char(255) to simulate a wildcard, but why add CHAR(1) to the low value?
Just concept code, Bob....
April 1, 2010 at 9:43 am
Two suggestions, then:
1. Write to job history instead - see http://www.mssqltips.com/tip.asp?tip=1394 for details; or
2. Wrap the thing in a call to SQLCMD instead and use the output option....
April 1, 2010 at 9:42 am
mchofman (4/1/2010)
April 1, 2010 at 9:34 am
Are you writing the output to a named file or to job history?
IIRC the job history table has the 2048 limit.
April 1, 2010 at 9:29 am
The Dixie Flatline (4/1/2010)
Actually, I like this approach. The only thing I would suggest is to tweak it to accept character strings with a length greater than 1.
Yep,...
April 1, 2010 at 9:24 am
Viewing 15 posts - 4,441 through 4,455 (of 8,416 total)