Active Threads | Active Posts | Unanswered Today | Since Yesterday | This Week
PL/SQL Developer Jump to new posts
Limitation on Export data as SQL file jonwat 04/25/24 09:36 PM
If you have a query like:

with some_CTE as
(...)
select [some_columns]
from
(select [columns]
from complicated query
join some_CTE on ...)

then using either version of Export Results you cannot export the data as a SQL file (or to clipboard as a SQL file) I believe it is because the export process is unable to figure out what you want the target table to be, as in :

insert into [some target table] (FILE_NO, BENEFIT, AMT_3YRS, LAST_DATE)
values (728833, 'Non-medical Transportation-Household Moving and Storage-In District', 958.15, '2024-01-21');

Using a SQL file was by far the easiest way to accomplish what I needed (transferring data from Oracle to SQLite), and the only way I could do this was to save the results to a temporary table using CTAS and then select from the temporary table and create the SQL file from that. Moving the CTE into the query didn't help.

Apart from the fact that it took a while to figure out what was going on (the export just does nothing; doesn't pop up an error message), it would be much more sensible to ask for a name for the target table when it cannot figure it out.

Jon
0 1 Read More
Direct Oracle Access Jump to new posts
Re: Support DOA for C++ Builder 12.1 Marco Kalter 04/25/24 09:17 AM
Indeed. This is not what I intended to imply. As stated: we're looking into the option for a clang package (Windows 64-bit Modern platform).
3 24 Read More
PL/SQL Developer Jump to new posts
Re: How to move multiple rows in Editor Marco Kalter 04/24/24 09:03 AM
Do you mean the text editor? If so: select the lines, press Ctrl-X to cut them, go to the new location, and press Ctrl-V to paste the lines again.
1 44 Read More
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.020s Queries: 7 (0.004s) Memory: 2.1894 MB (Peak: 2.3273 MB) Data Comp: Off Server Time: 2024-04-25 21:49:48 UTC
Valid HTML 5 and Valid CSS