Viewing 6 posts - 436 through 441 (of 441 total)
Hi, you can add a Distinct on the count(SSN). Here is the code:
SELECT P.FirstName,
p.LastName,
p.SSN
FROM Person p
INNER JOIN (SELECT ...
August 22, 2008 at 1:28 pm
Well here is the plan, and I will post the query too, just thought it was a really cool plan to debug... 😉
/* FULL UPD */
SELECT 'ExtractTagH',
'BatchNbrH',
...
August 22, 2008 at 1:26 pm
Here, see if that helps!
USE TEMPDB
GO
CREATE TABLE Person (
FirstName NVARCHAR(30),
LastName NVARCHAR(30),
SSN NVARCHAR(15))
INSERT INTO Person
SELECT 'Donald', 'Duck', 'SSN-001'
UNION...
August 22, 2008 at 12:37 pm
Finally got it to work! There was an error with my login, it was not in the right order, needed to put 'Sa' as the third paremeter, not the fourth!!!
Here...
August 20, 2008 at 1:23 pm
Hi Jeff, thanks for your answer.
I still get the problem, I used the procedure to see if the server had access and it gave me this result:
subdirectory ...
August 20, 2008 at 6:11 am
Jeff Moden (8/16/2008)
August 19, 2008 at 12:14 pm
Viewing 6 posts - 436 through 441 (of 441 total)