Viewing 15 posts - 1,381 through 1,395 (of 6,036 total)
DennisPost (6/9/2016)
June 9, 2016 at 11:32 pm
There must be some truth in this:
If Lowell's query returns no server triggers, then it's most likely that there were no server triggers at the time the backup was taken....
June 9, 2016 at 5:37 pm
Luis Cazares (6/8/2016)
but this problem doesn't seem to be just on the code (at least not the code we have seen).
May be, may be not.
Hard to tell from here.
That's...
June 9, 2016 at 5:23 pm
Sergiy (6/8/2016)
Luis Cazares (6/8/2016)
Thanks, that works abit faster but its still very slow. 16hrs and no where near done
Now, even with the DISTINCT,...
June 8, 2016 at 8:36 pm
Luis Cazares (6/8/2016)
Thanks, that works abit faster but its still very slow. 16hrs and no where near done
Now, even with the DISTINCT, it...
June 8, 2016 at 8:30 pm
Luis Cazares (6/8/2016)
We're assuming this is a table, but if it's a view, that...
June 8, 2016 at 6:33 pm
And then was an instruction, right below the second part:
Then run it altogether.
Please note - I used GROUP BY instead of DISTINCT.
You should do it too.
"run it altogether" means...
June 8, 2016 at 6:14 pm
Here was the second part:
Sergiy (6/8/2016)
Declare @basedata ..........
select email ,
STUFF((Select ','+project_name
from @basedata as T1
where T1.email=T2.email
FOR XML PATH('')),1,1,'') from @basedata as T2
GROUP BY email;
June 8, 2016 at 6:10 pm
Here was the first part:
Sergiy (6/7/2016)
DECLARE @basedata table(
email NVARCHAR(200) COLLATE DATABASE_DEFAULT,
project_name VARCHAR(200) COLLATE DATABASE_DEFAULT
PRIMARY KEY (email, project_name)
)
INSERT INTO @basedata ( email, project_name )
SELECT...
June 8, 2016 at 6:08 pm
david.jack (6/8/2016)
I've got the same value 2306.7555 in 2 tables,both data type float. I'm comparing the values converted to 3 decimal, but for some...
June 8, 2016 at 3:47 pm
colin.frame (6/8/2016)
Sergiy (6/6/2016)
and NOT (pm.pdenddate=pt.pdenddateOR (pm.pdenddate is NULL and pt.pdenddate is NULL)
)
This logic doesn't quite match what's given - the pm.pdenddate=pt.pdenddate part excludes all lines where one side only of...
June 8, 2016 at 4:31 am
IA123 (6/8/2016)
I tried select * from @basedata, but it didn't work. It says 'must declare the table variable @basedata'. I'm new to sql so apologies if this...
June 8, 2016 at 4:26 am
How long does it take to run this?
DECLARE @basedata table(
email NVARCHAR(200) COLLATE DATABASE_DEFAULT,
project_name VARCHAR(200) COLLATE DATABASE_DEFAULT
PRIMARY KEY (email, project_name)
)
INSERT INTO @basedata ( email, project_name )
SELECT email, project_name
FROM dbo.[UMG sent 2016]
WHERE...
June 7, 2016 at 8:49 pm
jc85 (6/2/2016)
June 7, 2016 at 8:38 pm
and NOT (pm.pdenddate=pt.pdenddate
OR (pm.pdenddate is NULL and pt.pdenddate is NULL)
)
June 6, 2016 at 8:37 pm
Viewing 15 posts - 1,381 through 1,395 (of 6,036 total)