Viewing 15 posts - 1,936 through 1,950 (of 2,894 total)
declare @t table (ID int, VALUE int)
insert @t select 1, 0
insert @t select 1, 0
insert @t select 1, 1
insert @t select 2, 0
insert @t select 2, 0
select t1.*
from @t t1...
March 12, 2012 at 8:59 am
Try to use sp_OADestroy in your function,
Also, just in case, execute:
SET ROWCOUNT 0
before update
March 12, 2012 at 8:55 am
That is performance killer trigger!
You should avoid using cursors when coding in T-SQL. Especially for this sort of tasks.
We will need a bit more details from you about what are...
March 12, 2012 at 8:48 am
Do you perform a stand alone update statement or there is something else in this script/batch (which includes SET ROWCOUNT 128)?
Any triggers on a table?
May be there are only 128...
March 12, 2012 at 8:38 am
I have an advice for OP:
Do it the most suitable way you think it should be done. Call it somehow different, so your requester will not be able to recognise...
March 12, 2012 at 8:32 am
John Mitchell-245523 (3/12/2012)
mandirkumar (3/12/2012)
March 12, 2012 at 8:29 am
Yes Gail! You are absolutely right, that's why no terminator before WITH in a view...
It was a discussion recently here about when and where to use statement terminators. Actually, I've...
March 12, 2012 at 8:20 am
Ken at work (3/12/2012)
Also something I noticed. Looking at the Where the second on 'PR_STATUS' is a data type "nchar(1)".
All of the 'Pay_Type_ID's are nvarchar(2). ...
March 12, 2012 at 8:01 am
anthony.green (3/12/2012)
...
SSIS is very flexable, what do they mean by not flexible?
I guess, they mean that they have no idea how to use it, or they do have pretty good...
March 12, 2012 at 7:56 am
GilaMonster (3/12/2012)
March 12, 2012 at 7:46 am
GilaMonster (3/11/2012)
...
p.s. For anyone interested, here's the query in a readable form
...
I would call it "in a more edible, but still noodles form" 🙂
March 12, 2012 at 7:33 am
shyamhr (3/12/2012)
Thanks, but the error was different - It had multiple GO and removed the GO commands. Its working now........
"GO" is not a T-SQL command, it's a batch terminator for...
March 12, 2012 at 7:30 am
Gianluca Sartori (3/12/2012)
I recently wrote an article (publication due on march 23) on formatting/parsing dates in SQL Server and I found very interesting results on this topic.
Parsing a string to...
March 12, 2012 at 7:24 am
Jeff Moden (3/12/2012)
March 12, 2012 at 6:21 am
Viewing 15 posts - 1,936 through 1,950 (of 2,894 total)