Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of records Increasing using SQL
Message
From
12/04/2013 02:18:50
 
 
To
11/04/2013 15:56:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01570759
Message ID:
01570775
Views:
53
>>No Sir, it didn;t worked.
>>
>>
>>
>>
>>>>I am using the following SQL . The fisrt SQL select the proper Number of Records but the later sql increase my record size. I just want to Get/Update Exchange column infront of the Account Number as Generated by 1st SQL.
>>>>
>>>>
>>>>
>>>>SELECT FIlename,InvoiceNo,PhoneNo,N_Month,Amtpayable  FROM Amountpayable INTO CURSOR  AMTPAYABLE && Select 2709 Records
>>>>
>>>>Select AMT.*,MSTR.exchange From AMTPAYABLE AMT LEFT JOIN MASTER MSTR on AMT.Filename=MSTR.accountno INTO CURSOR  MONTHEXG READWRITE && selects 3102 Recodrs
>>>>
>>>>
>>>>
>>>>What would be the right code ?
>>>>
>>>>Regards
>>>
>>>Try
>>>
>>>
>>>LEFT JOIN MASTER MSTR on AMT.Filename==MSTR.accountno
>>>
>>>
>>>in the join (changed = with ==), assuming that both fields have the same length
>
>Have you checked MASTER table for duplicate accountno values?

Yes there are Duplicate entries in Master Table, I will correct it up now. Thanks.
Harsh
Previous
Reply
Map
View

Click here to load this message in the networking platform