Viewing 15 posts - 1,381 through 1,395 (of 6,036 total)
DennisPost (6/9/2016)
_____________
Code for TallyGenerator
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....
_____________
Code for TallyGenerator
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...
_____________
Code for TallyGenerator
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,...
_____________
Code for TallyGenerator
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...
_____________
Code for TallyGenerator
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...
_____________
Code for TallyGenerator
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...
_____________
Code for TallyGenerator
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;
_____________
Code for TallyGenerator
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...
_____________
Code for TallyGenerator
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...
_____________
Code for TallyGenerator
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...
_____________
Code for TallyGenerator
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...
_____________
Code for TallyGenerator
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...
_____________
Code for TallyGenerator
June 7, 2016 at 8:49 pm
jc85 (6/2/2016)
_____________
Code for TallyGenerator
June 7, 2016 at 8:38 pm
and NOT (pm.pdenddate=pt.pdenddate
OR (pm.pdenddate is NULL and pt.pdenddate is NULL)
)
_____________
Code for TallyGenerator
June 6, 2016 at 8:37 pm
Viewing 15 posts - 1,381 through 1,395 (of 6,036 total)