Viewing 15 posts - 12,781 through 12,795 (of 18,923 total)
Is there an error message or a trigger on that table??
September 29, 2005 at 9:01 pm
Which part is giving you difficulties?
September 29, 2005 at 8:50 pm
Forgot that one... can't use set options in functions... any way you can make this a proc?
September 29, 2005 at 4:50 pm
1 row won't take "much" longer. Try fetching 1k rows in a join or a range search then rerun after the reindex, then you should be better off.
September 29, 2005 at 9:10 am
Ya, just make 2 different functions. One with the order by desc and <= @Date and the other one like I did. Cal the one depending on the...
September 29, 2005 at 9:00 am
So did you try my query before telling me it's not working???
September 29, 2005 at 8:56 am
SELECT tblOne.NamesOne, tblTwo.NamesTwo
FROM tblOne, tblTwo
where tbltwo.NamesTwo LIKE tblOne.NamesOne + '%'
This is assuming that you want the 1st name to be in the first part of the 2nd name.
September 29, 2005 at 8:45 am
HTH. Don't forget that it's also faster to call RPC than sql batch (for a single operation).
September 29, 2005 at 7:47 am
That's the way... and then restart the server to get the new name in action.
September 29, 2005 at 7:36 am
So it's just locked... waiting for the loop to stop sending requests (the loop is part of the statement to execute so it acts as a single operation, not like...
September 29, 2005 at 7:33 am
No that's fine... the points get across better that way
.
September 29, 2005 at 7:32 am
What happens if you stop the first loop after you started the second window's update?
September 29, 2005 at 7:21 am
Think about it, you're concatenating text >>
me.txtbox = '5; DROP TABLE X--'
MyVar = "Exec dbo.MySP " & me.txtbox
And boom, you're screwed (maybe that one doesn't work but I've seen it...
September 29, 2005 at 7:20 am
The point you're missing is that I have a code generator
.
Anyways your version uses dynamic sql which is subject to injection attacks. ...
September 29, 2005 at 7:10 am
Viewing 15 posts - 12,781 through 12,795 (of 18,923 total)