Viewing 15 posts - 1,591 through 1,605 (of 10,144 total)
Iwas Bornready (5/18/2016)
Thanks for the script.
Reported as spam
May 18, 2016 at 6:47 am
Interesting - does this work out faster than using the REPLACE function?
;WITH N1 (n) AS (SELECT 1 UNION ALL SELECT 1),
N2 (n)...
May 18, 2016 at 2:16 am
Brandie Tarvin (5/16/2016)
May 16, 2016 at 5:30 am
Have you tried this?
;WITH
CTE1 AS (
SELECT [Emp_no.], Org_Code, Org_Num FROM #Employee
EXCEPT
SELECT [Emp_no.], Org_Code, Org_Num FROM #Class
), CTE2 AS (
SELECT [Emp_no.], Org_Code, Org_Num FROM #Class
EXCEPT
SELECT [Emp_no.], Org_Code,...
May 13, 2016 at 9:41 am
Luis Cazares (5/13/2016)
ChrisM@Work (5/13/2016)
Sean Lange (5/13/2016)
Brandie Tarvin (5/13/2016)
Yay.
EDIT: I should add I'm not trying to start a debate. I just wanted to pass along...
May 13, 2016 at 9:34 am
Sean Lange (5/13/2016)
Brandie Tarvin (5/13/2016)
For those who hadn't heard, THIS happened.Yay.
EDIT: I should add I'm not trying to start a debate. I just wanted to pass along the news.
IMHO people...
May 13, 2016 at 9:16 am
rk1980factor (5/13/2016)
SELECT [Emp_no.], Org_Code, Org_Num FROM #Employee
EXCEPT...
May 13, 2016 at 8:20 am
viralbpandya (5/13/2016)
is it possible to sort data other way?
Death by function!
Functions are overused in this query. The two most significant consequences are obfuscation, which is sometimes good but not...
May 13, 2016 at 5:39 am
rk1980factor (5/12/2016)
Chris, Looks like you solution might work. Only point i forgot to mention was that both the views(tables) are in different database
On the same server? Then use three-part naming....
May 12, 2016 at 10:05 am
rk1980factor (5/12/2016)
SELECT...
May 12, 2016 at 9:42 am
rk1980factor (5/12/2016)
also beside that it gives me emp_no : 43232 in the result which is incorrect since combination of...
May 12, 2016 at 8:11 am
-- get rows which are unique to Employee:
SELECT Emp_no, Org_Code, Org_Num FROM [dbo].[Employee]
EXCEPT
SELECT Emp_no, Org_Code, Org_Num FROM [dbo].[Class]
-- get rows which are unique to Class:
SELECT Emp_no, Org_Code, Org_Num FROM...
May 12, 2016 at 7:01 am
BLOB_EATER (5/12/2016)
Don't...
May 12, 2016 at 1:47 am
douglasbrown880 (4/14/2016)
Here you go.This is from a different app server and database, however the issue is the same
It's an estimated plan - can you post an actual plan?
May 11, 2016 at 3:54 am
Sean Lange (5/10/2016)
ChrisM@Work (5/10/2016)
Sean Lange (5/10/2016)
ChrisM@Work (5/10/2016)
Sean Lange (5/9/2016)
May 10, 2016 at 8:38 am
Viewing 15 posts - 1,591 through 1,605 (of 10,144 total)