Viewing 15 posts - 4,426 through 4,440 (of 9,726 total)
Alexeins (5/17/2012)
1)
DECLARE @L_ZERO INT
SELECT @L_ZERO = IdMyTable FROM MyTable WHERE ColumnRef = 1000
SELECT ISNULL(@L_ZERO, 0)
OR
2)
DECLARE @L_ZERO INT
SET @L_ZERO = ISNULL((SELECT IdMyTable FROM MyTable...
May 17, 2012 at 10:38 am
SJanki (5/17/2012)
AllocationID is a PK.
Depending on certain condition I have to insert multiple records in Allocations table.
I get the...
May 17, 2012 at 10:35 am
I tasted homemade grape schnapps one summer when I was in Austria. Delicious! I need to go find a good recipe for it to see if I can make it...
May 17, 2012 at 6:43 am
saidapurs (5/16/2012)
May 16, 2012 at 10:37 am
ColdCoffee,
RAISEERROR would definitely work, but in this case, the dev specified that he wanted to exit without raising an error. Which limits the options down to RETURN().
May 16, 2012 at 10:08 am
mtassin (5/16/2012)
capn.hector (5/16/2012)
IF @Input <> (good input)
BEGIN
SELECT 'you have bad input'
RETURN
END
kills it...
May 16, 2012 at 9:37 am
Matt Miller (#4) (5/16/2012)
Now - the examples aren't very good since they encapsulate everything in IF statements...
Exactly the problem I was having when reading the entries. I hate BOL examples...
May 16, 2012 at 9:10 am
Thank everyone for the relevant highlights and links. I can't believe I missed that.
May 16, 2012 at 9:07 am
Really? The RETURN statement will stop a proc in mid execution?
I'm looking over BOL on that and don't see any statements to that effect. That's why I posted here.
May 16, 2012 at 8:36 am
saidapurs (5/16/2012)
If possible please do the changes & update me.
Just an FYI: This is a bad way to phrase a request for help. It raises the hackles of forum regulars...
May 16, 2012 at 8:20 am
SQLRNNR (5/16/2012)
jcrawf02 (5/16/2012)
Brandie Tarvin (5/16/2012)
L' Eomot Inversé (5/15/2012)
May 16, 2012 at 6:52 am
SQLRNNR (5/16/2012)
RBarryYoung (5/15/2012)
SQLRNNR (5/15/2012)
Brandie Tarvin (5/14/2012)
Daniel Bowlin (5/14/2012)
RegionalSectional
Couch
Slouch
Crouch
Barty
May 16, 2012 at 6:14 am
L' Eomot Inversé (5/15/2012)
May 16, 2012 at 6:14 am
Tom,
Does EU data protection laws define a difference between sensitive information and personal indentifying information?
May 15, 2012 at 11:55 am
bitbucket-25253 (5/14/2012)
All ye All ye, Now hear thisHow about commenting on opc.three's post to encourage / discourage him in writing a spackle article:
http://www.sqlservercentral.com/Forums/Topic1298803-1292-2.aspx#bm1299757
Per your request, opc.three has been...
May 15, 2012 at 5:09 am
Viewing 15 posts - 4,426 through 4,440 (of 9,726 total)