Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Procedure VARCHAR2 input with "." (dot) in the value

schmittcwAug 11 2020 — edited Aug 12 2020

I noticed in a procedure I was working on today that if I pass in a value that has a dot in it for a VARCHAR2 input parameter, it does not add quotes around the value in the generated PL/SQL:

SQL Developer - Default Screen.png

SQL Developer - Issue Screen.png

This is a problem for my use case, as the input in question is a timestamp string, which in the default SQL developer format has dots between the hour, minute, and second values.

Sure, I can still make it work if I modify the generated PL/SQL in the window before hitting OK to run it, but that's not really an acceptable repeatable case. Or I could modify the SQL Developer NLS settings to not use dots between those values, but I can't ask everyone in my office to change their SQL Developer settings just to accommodate this one stored procedure.

Has anyone else noticed this? Has this been reported as an issue? I am running the most recent version of SQL Developer (20.2.0.175, Build 175.1842), but I also had tried 18.4.0 (what I started working on this on before jumping to the new version hoping for better results).

Comments
Post Details
Added on Aug 11 2020
6 comments
2,208 views