Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compare and append
Message
De
05/03/2009 01:59:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01385427
Message ID:
01385725
Vues:
28
thank you very much, it works

>>thank you
>>
>> when i run the code as IS NULL i get error message
>>Field "EmpNo" does not accept null values
>>
>Ok, change it to
>
>insert into emplo  (empno, Tel) ;
>select t1.empno, t1.Tel from tel t1 ;
>LEFT JOIN emplo T2 on T1.empno = T2.empno where T2.empno IS NULL
>
>You need to use T1.EmpNo, not T2.EmpNo
>
>Alternatively
>
>select Tel.EmpNo, Tel.Tel from Tel ;
>where not exists (select 1 from EmpNo where EmpNo = Tel.EmpNo) into cursor curAppend nofilter
>
>insert into Emplo (EmpNo, Tel) select * from curAppend
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform