Viewing 15 posts - 1,546 through 1,560 (of 1,825 total)
Hi , please post the full code, im not to clear on your requirements.
DDL and example data would also be very helpful.
September 3, 2009 at 1:56 am
GilaMonster (9/1/2009)
I've seen a SQL Server brought to its knees by an admin copying a large backup file off the server.
My favourite is the over eager virus scanner.
September 3, 2009 at 1:14 am
At a guess...
set Convert(uniqueidentifier, @Contract_ID) = NEWID()
should be
set @ContactId = Convert(varchar(100), NEWID() )
September 2, 2009 at 8:28 am
Can you post both query plans ?
In the meantime try using the "OPTIMIZE FOR" query hint , see if that helps
September 2, 2009 at 7:45 am
GaryMcAllister (9/2/2009)
I'll do some further digging..
Is there something fundamentally wrong with...
September 2, 2009 at 6:27 am
The trigger will be executed within the same context and transaction the DML that caused the trigger to fire. There must be something else happening.....
September 2, 2009 at 4:27 am
Unless you actively put procedures in place to log DML actions, then there is nothing captured.
Sorry.
September 2, 2009 at 2:03 am
Try this..
Drop function CutCsv
go
Create function CutCsv(@CSVString varchar(max))
returns table
as
return(
with Num1 (n) AS (SELECT 1 UNION ALL SELECT 1),
Num2 (n) AS (SELECT 1 FROM Num1 AS X, Num1 AS Y),
Num3 (n) AS...
September 1, 2009 at 8:29 am
Specify the column names like this
Select ID,max([1]) as col1 ,max([2]) as col2 ,max([3]) as col3,max([4]) as col4
from cteColTest
September 1, 2009 at 8:02 am
Its because of the duplication of criteria screwing over the dense_rank()
this should sort it
with cteTestWithRow(ID,Criteria,Value,Rown)
as
(
Select Id,
Criteria,Value,row_number() over (Partition by id order by...
September 1, 2009 at 7:49 am
Try This
with cteTest(ID,Value,RowN,Coln)
as
(
Select ID,
case when Coln =1 then Criteria else Value end,
dense_rank() over (partition by ID...
September 1, 2009 at 5:14 am
Hi ,
there could be many reasons for this , take a look at this article on how to post specifics
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
September 1, 2009 at 4:49 am
September 1, 2009 at 4:00 am
shantaram (9/1/2009)have to drop them writing many statements
You dont have to , once they have gone out of scope they will automatically be dropped.
Knowing that do you still need...
September 1, 2009 at 3:55 am
when you use decimal(6,2) , you are asking for 6 digits OF WHICH 2 are to the right hand side of the decimal. So you cant store 37537 in...
September 1, 2009 at 3:48 am
Viewing 15 posts - 1,546 through 1,560 (of 1,825 total)