Viewing 15 posts - 1,546 through 1,560 (of 7,636 total)
Note, this particular approach only works if your @sql variable starts with 'SELECT '.
September 18, 2009 at 1:41 pm
Just add these three lines onto the end of your script:
DECLARE @AdjSQL NVARCHAR(MAX) = 'SELECT @ret = ' + SUBSTRING(@SQL, 7, LEN(@SQL));
EXEC sys.sp_executeSql @AdjSQL, N'@ret AS INTEGER OUTPUT', @Results OUTPUT;
Select...
September 18, 2009 at 1:39 pm
RBarryYoung (9/18/2009)
Paul White (9/18/2009)
¿???p??? o? p??? si?? pui? lli? ????dsi??? u?????ou ??? ?o?? ?ldo?d ?i ??puo? i
I'm a lot more curious as to how you do this...?
Great trick though. ...
September 18, 2009 at 11:22 am
RBarryYoung (9/18/2009)
Paul White (9/18/2009)
...Whenever I consider writing for SSC, two things put me off:
1. The submission process itself; and
2. The daft comments
Paul
Well, if daft comments put me off...
September 18, 2009 at 11:21 am
Note my use of Format 112, which is the unambiguous ISO Date-only standard format. If you want to play date-only string games (as opposed to all explicit conversions, like...
September 18, 2009 at 10:59 am
This is probably caused by conflicts between you SQL Server's SET LANGUAGE defaults, the Servers, region/national settings and your use of format 110 which is very non-standard.
Notice that in your...
September 18, 2009 at 10:56 am
stricknyn (9/17/2009)
The first is send a variable into a VB or C# executable program that was written by someone...
September 18, 2009 at 10:40 am
wwei (9/17/2009)
Create a variable in BIRD.
Put an Execute Processing Task, in its Editor, Set the Executable as the executable written by c#/vb. Expend the...
September 18, 2009 at 10:35 am
Paul White (9/18/2009)
RBarryYoung (9/18/2009)
September 18, 2009 at 7:44 am
Lynn Pettis (9/17/2009)
Well, he did apologize, but I'm not sure if there was enough grovelling. 😛
Actually, it was an excellent apology, once of the best ever. 🙂
September 18, 2009 at 7:43 am
Gianluca Sartori (9/16/2009)
I wonder why you call "football" a sport where the ball can't be touched with feet...
No, no, no, NOT true! Let me explain ...
In your "football", everyone...
September 18, 2009 at 7:36 am
RBarryYoung (9/18/2009)
Paul White (9/18/2009)
...Whenever I consider writing for SSC, two things put me off:
1. The submission process itself; and
2. The daft comments
Paul
Well, if daft comments put me off...
September 18, 2009 at 7:27 am
Paul White (9/18/2009)
...Whenever I consider writing for SSC, two things put me off:
1. The submission process itself; and
2. The daft comments
Paul
Well, if daft comments put me off then...
September 18, 2009 at 7:25 am
Paul White (9/18/2009)
¿???p??? o? p??? si?? pui? lli? ????dsi??? u?????ou ??? ?o?? ?ldo?d ?i ??puo? i
I'm a lot more curious as to how you do this...?
Great trick though. 🙂
September 18, 2009 at 7:21 am
Viewing 15 posts - 1,546 through 1,560 (of 7,636 total)