C�sar, So the problem is not joins or indices. So it must be somewhere else :-)
1. If you use a SORT command, is that as slow? SORT CCMLIAL BY EMP BY ALBA BY NUMLIN WITH EMPABLA = "1*05236" PEDIDO REFART DESART CANDIDAD CANTMODALB NOPAGE 2. If it is, what are these fields doing? Are they Data fields or I Descriptors? Do any call BASIC subroutines, or do translates (TRANS or XLATE functions?) 3. The obvious one - what is the file sizing like? 4. What does the BASIC program do that is different? There should be no reason for this SQL command to be slow. Brian Leach > Hello, > > > I have two files one has 300.000 records and another has > 200.000 records, I wante to make SQL Query whit the two files > and this takes bettewn 30 seconds and 1 minute to return the result. > > However, I have a program with BASIC to obtime the same > result and it takes less than one second, I have heard that > other DB Systems like SQL Server, Oracle, etc... are very > fast with the SQL Query. > > Is this posible or do have I made a mistake? > > > Thanks > > > C�sar > ________________________________________________________________________ This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
