Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connectivity error
Message
From
08/02/2006 14:33:06
 
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
01094703
Message ID:
01094744
Views:
15
>>>
>>>You can run following query to find duplicate keys that already exist in the view
SELECT cv.* FROM (cView) cv
>>>  JOIN (cTable) ct
>>>     ON ct.own_Owner_Code = cv.own_Owner_Code
>>>       AND ct.typ_Customer_Type = cv.typ_Customer_Type
>>>
>>
>>
>>That doesn't work because cView is a remote view of a SQL Server table and cTable is a VFP table. But, I did check and discovered there are a number of records in the SQL Table that I wasn't aware had been entered, so that's probably the problem.
>
>It certanly will work with remote view and VFP table. What seems to be a problem (besides ';' that I ommited)?

Sorry Sergey, you're absolutely right. Works just fine as listed, adjusting for the ;s. Just didn't work in a SQLEXEC() function - duh!

Regards,
Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform