Board index » delphi » Please help with using ORDER BY in TQuery SQL
jlow...@ucs.usc.edu (Fritz Lowrey)
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
|
jlow...@ucs.usc.edu (Fritz Lowrey)
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Please help with using ORDER BY in TQuery SQL
Folks,
I really want to be either able to specify the desired index or use an ORDER BY clause in my SQL statements of a TQuery. The problem is that I am accessing Paradox files, and one of the rules for these files is that you can't do a RequestLive retrieval if you are using ORDER BY, despite it being valid Local SQL.. Is there anything I can do short of going to the less-portable TTable option? Fritz -- |
Joseph P DeCello I
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Please help with using ORDER BY in TQuery SQLQuoteIn article <3v7sra$...@usc.edu>, jlow...@ucs.usc.edu (Fritz Lowrey) writes: to edit when using ordered by, but I'm using dbase tables. HELP!!! -- |
Steve Koters
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Please help with using ORDER BY in TQuery SQLQuoteFritz Lowrey (jlow...@ucs.usc.edu) wrote: : I really want to be either able to specify the desired index or : use an ORDER BY clause in my SQL statements of a TQuery. The problem : is that I am accessing Paradox files, and one of the rules for these : files is that you can't do a RequestLive retrieval if you are using : ORDER BY, despite it being valid Local SQL.. Is there anything I can : do short of going to the less-portable TTable option? I am afraid that you cannot use indexes in conjunction with SQL applied Indexes can be used in SQL queries against Local InterBase Server (LIBS) -- |
Gabriel Beccar-Varel
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Please help with using ORDER BY in TQuery SQLdece...@cpp.msu.edu (Joseph P DeCello III) wrote: Quote>In article <3v7sra$...@usc.edu>, jlow...@ucs.usc.edu (Fritz Lowrey) writes: had, although I have not try it, is to get the key fields of the record you want to update and then use a separate TQuery with an UPDATE statement. -- --- |
Hallvard Vassbo
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Please help with using ORDER BY in TQuery SQLIn <3v9ofp$...@emf.emf.net> Gabriel Beccar-Varela <gabr...@emf.net> writes: Quote>dece...@cpp.msu.edu (Joseph P DeCello III) wrote: query - something that will take quite a bit of time (depending on the size of the table). Unfortunately, the time it takes to process a query increases dramatically Borland, here are some wishes for improvements that would speed up queries: 2. If the above is not possible, add properties to the TQuery component 3. If the above is not possible (because it might not be supported on In my program, I'm dealing with tables of 30-40 Mb. A sample query only I have been thinking about copying the range I need to a temporary table -- |
1. Refresh problem using TQuery with SQL Server - SOS PLEASE HELP ME
2. !! Urgent Help Please Using Tquery
3. SQL Help, using the Params value of an TQuery Dynamically - D3
5. Delphi TQuery and Order By sql command
6. Local SQL cant edit in DBGRID after ORDER BY in a TQuery
7. Delphi TQuery and Order By sql command
8. PLEASE HELP --- Using ActiveX within D3 ---- PLEASE HELP
9. HELP please, problems using Delphi 7 E with SQL server
10. TTcpServer please help me oh, PLEASE PLEASE PLEASE HELP ME