Article ID: 103031
Article Last Modified on 3/10/2005
Select * from customer where cno in;
('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15',;
'16','17','18','19','20','21','22','23','24','25')
The "SQL expression too complex" error message appears.
USE HOME(2)+"data\customer.dbf"
Select * from customer where cust_id in;
('ALFKI','ANATR','ANTON','AROUT','BERGS','BLAUS','BLONP','BOLID','BONAP','BOTTM',;
'BSBEV','CACTU','CENTC','CHOPS','COMMI','CONSH','DRACD','DUMON','EASTC','ERNSH',;
'FAMIA','FISSA','FOLIG','FOLKO','FRANK')
The "SQL expression too complex" error message appears.
** For FoxPro 2.x use this line Select * from customer where cno in (select cno from temp) ** For Visual FoxPro, use this line Select * from customer where cust_id in (select cust_id from temp)
Additional query words: FoxDos FoxWin
Keywords: KB103031