Viewing 15 posts - 31 through 45 (of 61 total)
Yeah, the photo names are actually in various sub-directories. There are 2005 sub-directories containnig photo names for over a million photos. Yes, the path is same + a subdirectory. This...
March 21, 2005 at 4:26 pm
Yeah, I also came up with that solution from talking to a co-worker, but now another issue. First, following is my syntax, which works fine:
Exec master..xp_cmdShell 'dir \\web-jnn-iisjnn1\mn\public\106-jnn\jnn_ID_PHOTOS /s...
March 21, 2005 at 3:20 pm
I figured it out! There was another table that I had to JOIN on and now I get only one record. The value that was different for the identical record...
March 1, 2005 at 1:16 pm
Also, there are no duplicate or bogus records in PSM table. Each record is unique with a unique PGUID.
March 1, 2005 at 12:51 pm
Following values are returned by the query:
PGUID: BA9687DC-C465-428A-A49E-5927F592JLC0
LISTAID: 240509
LISTOID: 03396
LISTANBR: 240509
PRID: 3520
LISTOLSNBR: 03396
OfficeID: 26
PGUID: BA9687DC-C465-428A-A49E-5927F592JLC0
LISTAID: 240509
LISTOID: 03396
LISTANBR: 240509
PRID: 3520
LISTOLSNBR: 03396
OfficeID: 26
PSM table has records with agentID and OfficeID. I want...
March 1, 2005 at 12:40 pm
Just FYI, table referenced as A doesn't have a field UserID at all so I am joining on table referenced as B, which does have a UserID field.
Thanks.
February 22, 2005 at 11:09 am
Hello,
Well, it turns out I do need to import the UserID field, which is the only field that makes a record unique, though key fields are duplicated. If I wasn't importing...
February 22, 2005 at 10:46 am
Never mind the previous post... I was working with wrong statement so DISTINCT wasn't working. Anyway, I opened my original statement and added back the DISTINCT and it worked!! I...
February 18, 2005 at 4:35 pm
I think I might have confused you. Yes, I do have multiple unique combination per primary key. See below:
ID1 ID2 ID3 Adress City Zip
1 A T 123 My St. My 12345
ID1 ID2 ID3 ...
February 18, 2005 at 4:13 pm
This is going to be tricky, it seems! The field that makes the duplicated record unique is a UserID, which I am not even importing, but if I need to I can,...
February 18, 2005 at 3:23 pm
SELECT B.ListingID, B.SourceID, B.PropCID
FROM dbo.tmp_Listings B
Inner Join dbo.PropR A
On A.ListingID = B.MLSID AND A.SourceID = B.SourceID AND A.PropCID = B.PropCID
Inner Join
(
Select MIN(A.ListingID) AS FirstListingID, MIN(A.SourceID) AS FirstSourceID,
MIN(A.PropCID) AS...
February 18, 2005 at 2:37 pm
Yeah, the first occurance is arbitrary. It doesn't matter whether A is first or B is first, I just want to take whichever record the INSERT reads first.
The records are...
February 18, 2005 at 1:50 pm
Both IN clause and EXISTS clause are giving same error if I copy the statement the way it's written in the post. I will see if I need to modify...
February 17, 2005 at 3:29 pm
Thanks, but I still get
"Invalid Column Name" PropTID
That column is found in tmp_Listings table.
But if I use LEFT JOIN then I get no such error regarding columns not found and get all...
February 17, 2005 at 3:14 pm
Viewing 15 posts - 31 through 45 (of 61 total)