Active Threads | Active Posts | Unanswered Today | Since Yesterday | This Week
PL/SQL Developer Jump to new posts
Re: Rename on Tab Doesn't Affect File Marco Kalter 05/21/25 08:25 AM
The rename function does indeed apply only to the window, not to any underlying file or the project items. I have added both options to the list of enhancement requests.
1 32 Read More
PL/SQL Developer Jump to new posts
Re: How to show all results in result set besides spamming Alt + PgDn) zitot 05/21/25 12:47 AM
Thank you for the assistance, all!
4 85 Read More
PL/SQL Developer Jump to new posts
Re: Active Query Builder 1.5.1 zitot 05/21/25 12:46 AM
Hello, any update on this? I also tried to use Active Query Builder and experienced the black background no text on the context menu.
3 181 Read More
PL/SQL Developer Jump to new posts
Rename on Tab Doesn't Affect File zakko 05/20/25 12:06 PM
In tab view, if I do a right-click on the tab title with the file name and select "Rename..." an input field to change the name pops up as expected.

But this renaming doesn't affect the actual file nor the entry in the list of project items, if it's stored in a project.

This seems quite confusing to me. It would be quite handy to rename files in the file-system with this function. To rename just the tab/window title only makes sense to me, if any kind of DB object is displayed within the respective tab/window.

This also relates in parts to this thread.
1 32 Read More
PL/SQL Developer Jump to new posts
Re: plsqldoc gets wrong varchar2 size in unicode Marco Kalter 05/20/25 08:38 AM
We'll investigate!
1 33 Read More
PL/SQL Developer Jump to new posts
Re: Accessing objects from another schema Maxim4711 05/19/25 04:18 PM
Why do you think the current behaviour is incorrect? If i understood it properly - it is perfectly aligned with the visibility rules - if you as userA run the query "select id from test_table" - you'll either get error, because the table is in another schema? For that reason, you can't right click on the unqualified object and expect some context menu appear in the plsql developer, because the object is currently for you not visible.
But, maybe i have not understood your requirement...

Best regards

Maxim
1 36 Read More
PL/SQL Developer Jump to new posts
plsqldoc gets wrong varchar2 size in unicode mclot 05/19/25 03:57 PM
Good morning,
I've got a problem using plsqldoc for the first time: it retrieves the wrong size of the varchar2 fields in an Oracle 19 unicode db.
All other features of PL/SQL Developer are working well but plsqldoc and this makes plsqldoc unusable as documentation tool (at least for me).
Am I wrong something or is this a real bug? It seems it's reading the wrong field in the Oracle dictionary.

I've attached a screenshot showing the difference between plsqldoc and describe command ouputs in PL/SQL Developer.

Best regards
Massimo
1 33 Read More
PL/SQL Developer Jump to new posts
Accessing objects from another schema Lukasz Indeka 05/19/25 01:38 PM
Hi,

I'm logged to the database as userA with quite wide privileges, and creating a view for userB using the SQL Window:
SQL Query
create or replace view userB.test_view as
select id
from test_table;

Assuming test_table is owned by userB this view could be compiled successfully. But, when right-clicking on the "test_table" (no mater before or after compilation) PL/SQL developer doesn't recognise the test_table as the database object. It only changes if I change the code to:
SQL Query
create or replace view userB.test_view as
select id
from userB.test_table;

Could you fix it?
1 36 Read More
PL/SQL Developer Jump to new posts
Re: How to show all results in result set besides spamming Alt + PgDn) Marco Kalter 05/19/25 09:01 AM
Besides Alt-End (or the associated button on the result set toolbar) there are 2 other methods:

1. Specify a comment directive before the query:

-- records = all
select * from all_objects;

2. Set the "Records per page" preference (Preferences > SQL Window) to "All records". Now all queries will automatically fetch all records.
4 85 Read More
PL/SQL Developer Jump to new posts
Re: How to show all results in result set besides spamming Alt + PgDn) Maxim4711 05/17/25 10:08 AM
Regarding your second question - i think the most similar approach would be to put the query 2 (or more if required) times into sql window, run it and then select 2 result set tabs (by Ctrl+LeftClick on the tab) - it brings both tabs in foreground, both result sets can be fetched then separately and positioned by records of interest, both result sets can as well be compared (per menu item "Compare 2 result sets")

Regards

Maxim
4 85 Read More
PL/SQL Developer Jump to new posts
Re: How to show all results in result set besides spamming Alt + PgDn) Maxim4711 05/17/25 09:55 AM
Is Alt+End not working for you to fetch last page?

Regards

Maxim
4 85 Read More
PL/SQL Developer Jump to new posts
How to show all results in result set besides spamming Alt + PgDn) zitot 05/16/25 11:24 PM
So, title: How to show all results in result set besides spamming Alt + PgDn)


Is there another way besides exporting to excel/csv and then opening it?


Another question would be if I don't have that many columns, could we choose to display multiple pages of a result set, side by side? Like looking at a book, you'd have 1-25 on pg1, 26-50 on pg2.
4 85 Read More
Direct Oracle Access Jump to new posts
Re: Share TOracleSession session handle to FireDAC TFDConnection Marco Kalter 05/16/25 09:01 AM
These handle types are not available for a TOracleSession. You can however set the ExternalSVC proprerty to the service context handle of the FireDAC connection. Note that you need to set ExternalSVC to nil before the FireDAC connection logs off.

Quote
TOracleSession.ExternalSVC

Declaration
property ExternalSVC: Pointer;

Description
Runtime property to attach the TOracleSession to a Net8 service context handle of another host program, or to access the service context handle of the session. When you set this property, it is equivalent to calling the LogOn method. Setting ExternalSVC to nil is equivalent to calling LogOff.
1 53 Read More
PL/SQL Developer Jump to new posts
Re: Somehow corrupted Workset S. Studeny 05/16/25 08:58 AM
Hi Marco,

no, there are no .tmp files left. Today, I lost half of another Workset, but not during windows restart. I closed (on multiple PL/SQL Developers simultaneously running) all Worksets with Close button. Then restarted PC and opened again. Half of windows in workset said "Error reading file" and windows were empty. I saw only half of files in AppData/Roaming/../Worksets/Worksetname .... (and no .tmp files at all). After clicking on empty windows, desktop.0XX files has been created with zero size on FS, oops. frown See screenshot.

Best Regards,
Stanislav
2 150 Read More
Direct Oracle Access Jump to new posts
Share TOracleSession session handle to FireDAC TFDConnection confidentia 05/15/25 01:23 PM
We would like to share Oracle connection handle between Direct Oracle Access (DOA) component TOracleSession and FireDAC TFDConnection component. We tried several ways but it seems that FireDAC uses it own custom complex "handle" format (see FireDAC.Phys.Oracle.pas):

function TFDPhysOracleConnection.InternalGetCliHandle: Pointer;
begin
if FEnv <> nil then begin
FCliHandles[0] := FEnv.Handle;
FCliHandles[1] := FService.Handle;
FCliHandles[2] := FServer.Handle;
FCliHandles[3] := FSession.Handle;
FCliHandles[4] := TFDPhysOracleTransaction(TransactionObj).FTransaction.Handle;
FCliHandles[5] := FEnv.Error.Handle;
FCliHandles[6] := pOCIHandle(PChar(FEnv.CharsetName));
FCliHandles[7] := pOCIHandle(FEnv.ExplicitCharsetID);
FCliHandles[8] := pOCIHandle(FEnv.ByteSemantic);
Result := @FCliHandles;
end
else
Result := nil;
end;

How can we get all these parts from DOA TOracleSession component? Or maybe we can take some handles from FireDAC TFDConnection and set them in DOA TOracleSession?
1 53 Read More
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.021s Queries: 6 (0.009s) Memory: 2.2128 MB (Peak: 2.3272 MB) Data Comp: Off Server Time: 2025-05-21 15:00:47 UTC
Valid HTML 5 and Valid CSS