Viewing 15 posts - 406 through 420 (of 500 total)
GilaMonster (5/18/2009)
Tom Brown (5/15/2009)
So you're a Brummie?How long did you stick around before heading off for the sun
Yup. Family came to SA when I was 4
Its still raining...
May 19, 2009 at 2:05 am
rodjkidd (5/18/2009)
Tom Brown (5/15/2009)
GilaMonster (5/15/2009)
Tom Brown (5/15/2009)
http://maps.google.com/maps?ie=UTF8&ll=52.43613,-1.798496&spn=0.044948,0.066948&t=k&z=14I was born not far from there.
So you're a Brummie?
How long did you stick around before heading off for the sun
Its still...
May 19, 2009 at 2:01 am
Lynn Pettis (5/18/2009)
Not only that, but you are trying to insert records that have already been "inserted" into the table.
Which is why I'm suggesting an INSTEAD OF trigger. ...
May 18, 2009 at 9:31 am
would it work as you wanted it if it were an 'INSTEAD OF INSERT' trigger?
and I agree with Luke .. a Unique constraint is probably the way to go.
May 18, 2009 at 9:11 am
Yes question is wrongly worded.
But to top answer was the only one with the two numbers 50 & 16 so i ventured a guess.
May 18, 2009 at 3:17 am
something like this- assuming there is a 1 to 1 relationship tblA.pKey = tblB.updateKey
UPDATE tblA
SET tblA.col1 = tblB.col1
FROM tblB
WHERE tblA.pKey IN (SELECT TOP (100) tblB.updateKey
...
May 18, 2009 at 3:04 am
This may not be the best way, and without knowing your exact record structure this can only be a hint, but it will give you an idea to try out.
WITH...
May 18, 2009 at 2:18 am
Is there a reason for this piecemeal update?
I can think of 2 methods that may be of use. You could use TOP, or a WHILE Loop.
May 18, 2009 at 1:59 am
GilaMonster (5/15/2009)
Tom Brown (5/15/2009)
http://maps.google.com/maps?ie=UTF8&ll=52.43613,-1.798496&spn=0.044948,0.066948&t=k&z=14I was born not far from there.
So you're a Brummie?
How long did you stick around before heading off for the sun
Its still raining by the...
May 15, 2009 at 5:56 pm
Lynn Pettis (5/15/2009)
Here is where I was stationed between January 1979 and July 1981.
OMG! Thats not what I think it is - is it? one of Uncle Sams air...
May 15, 2009 at 5:52 pm
Did I detect something flying through the air?
You old robot killing machine 😉
May 15, 2009 at 5:37 pm
GilaMonster (5/15/2009)
Luke L (5/15/2009)
May 15, 2009 at 3:45 pm
Right in the middle of good ole Blighty. 😀
Where it is currently raining 🙁 as usual.
May 15, 2009 at 12:46 pm
Or using EXISTS as was mentioned.
INSERT INTO tblFileNumber
SELECT TU.FileNumberRF
FROM tblUpdates AS TU
WHERE NOT EXISTS (SELECT * FROM tblFileNumber AS TFN
...
May 15, 2009 at 10:10 am
Hi - Try this, it should give a Rowtotal column at the end of each row
-- Parameters
DECLARE @StartDate Datetime;
DECLARE @EndDate Datetime;
DECLARE @SubjID INT;
-- Parameter values
SET @StartDate = '04/08/2009';
SET @EndDate =...
May 15, 2009 at 8:16 am
Viewing 15 posts - 406 through 420 (of 500 total)