Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of records Increasing using SQL
Message
De
11/04/2013 15:56:00
 
 
À
11/04/2013 15:04:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01570759
Message ID:
01570764
Vues:
41
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform