Viewing 15 posts - 31 through 45 (of 567 total)
danielfountain (5/29/2014)
Hey all,I have a try catch block.
<snipped>
What am i doing wrong to make the raiserror do this?
Many thanks
Dan
Unfortunately, RAISERROR in a CATCH block doesn't work like you...
May 30, 2014 at 1:55 pm
SQLRNNR (5/30/2014)
wolfkillj (5/30/2014)
jcrawf02 (5/30/2014)
jasona.work (5/30/2014)
May 30, 2014 at 8:58 am
jcrawf02 (5/30/2014)
jasona.work (5/30/2014)
May 30, 2014 at 8:32 am
Eirikur Eiriksson (5/29/2014)
wolfkillj (5/29/2014)
Eirikur Eiriksson (5/28/2014)
Quick thought, if the "signs" are points then I would have thought that the STContains function would be more appropriate.😎
Except that the requirement was to...
May 29, 2014 at 8:44 am
mickyT (5/28/2014)
Johnny H (5/28/2014)
Thank Jason this increased the speed 10 foldSELECT s.ID
FROM v_sign s
WHERE EXISTS (SELECT 1 FROM dbo.water w WHERE (geography::STGeomFromText(s.geometry.STAsText(), 4326).STBuffer(100).STIntersects(w.geography) = 1)
Are you able to post up...
May 29, 2014 at 8:29 am
Johnny H (5/28/2014)
Thank Jason this increased the speed 10 foldSELECT s.ID
FROM v_sign s
WHERE EXISTS (SELECT 1 FROM dbo.water w WHERE (geography::STGeomFromText(s.geometry.STAsText(), 4326).STBuffer(100).STIntersects(w.geography) = 1)
The speed increase most likely comes from...
May 29, 2014 at 8:16 am
Eirikur Eiriksson (5/28/2014)
Quick thought, if the "signs" are points then I would have thought that the STContains function would be more appropriate.😎
Except that the requirement was to determine which signs...
May 29, 2014 at 8:09 am
autoexcrement (5/27/2014)
I notice that in most of the code examples I've seen,...
May 28, 2014 at 11:43 am
RedBirdOBX (5/28/2014)
May 28, 2014 at 11:13 am
Johnny H (5/27/2014)
DECLARE @sign...
May 28, 2014 at 10:27 am
J Livingston SQL (5/24/2014)
Jo Pattyn (5/24/2014)
Welkom back wolfkillj, could you fix the link to your blog? It points to the thread.http://sqlsouth.wordpress.com/2014/05/23/export-xml-from-sql-server-using-bcp/
Thanks for the temporary fix - I fixed the link...
May 27, 2014 at 10:33 am
Wow - I have been away from the thread for a long time. I've been busy at work with an avalanche of new projects and improvements to existing process. One...
May 23, 2014 at 3:57 pm
GilaMonster (3/14/2014)
wolfkillj (3/14/2014)
wolfkillj (3/13/2014)
GilaMonster (3/11/2014)
Koen Verbeeck (3/11/2014)
Grant Fritchey (3/11/2014)
March 14, 2014 at 2:43 pm
I wonder whether this might have something to do with a read-ahead or prefetch operation. I'm testing some theories and will post results later.
March 14, 2014 at 2:42 pm
william.rees.howells (3/13/2014)
I have found out what the problem was. Basically it boils down to me now using CHECKPOINT. I think that the following is what was happening:
1) INSERT DATA
2)...
March 14, 2014 at 10:03 am
Viewing 15 posts - 31 through 45 (of 567 total)