SQLcl: Release 21.4
Oracle Database 19c Enterprise Edition Version 19.15.0.0.0
When pasting a query into SQLcl I noticed a strange behaviour, when my query that executed fine in DBeaver had a syntax error in SQLcl. The problem is caused by auto replace of <tab>.
My query had a part like this:
“select case
<tab> when…”
when pasted into SQLcl it magically becomes:
“select case
cast when…”
Even stranger, when you enter “select case” in SQLcl and hit <tab> it will replace your case with CAST.
Is it a bug or is it a feature?
Related
I'm using Oracle Developer Tools for VS Code Extension. When I run a SQL statement a Results Tab opens displaying the SQL statement and records retrieved.
How can I hide the SQL statement in the Results tab? I don't want to see it with my data rows.
This is the Extension:
This is the SQL Tab:
This is the SQL Results Tab:
This can be controlled using the oracledevtools.query.echo setting, but note you'll need to reload any windows before the setting will take effect:
You may also wiuth to bump the oracledevtools.query.resultSet.pageSize setting to 25 at the same time:
I am exporting a table that contains some Bangla information. If I run select statement data is showing fine but if export it as select UTF-8 or UTF8 encoding this is showing some unrecognize symbol. if I choose some different encoding it shows "???" instead of Bangla letter.
what I am missing. Please help.
Oracle DB : Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Sql developer : Java(TM) Platform 1.8.0_291 Oracle IDE 21.2.1.204.1703 Versioning Support 21.2.1.204.1703
Addes some screenshot below.
Select query showing bangla data fine. But...
After exporting using sql developer using UTF8 or UTF-8 its showing unrecognise characters.
Thankfully those data are exported successfully! previously I right-clicked on the table and select export option then a window came up. where I had to choose encoding option.which was giving the issues with data.
But this time I selected compressed check box option from the window. It creates a zip file and inside that found the script. and wow! my data is showing fine!
Now it's working!
Autocomplete is not working for DBeaver plugin (21.1.0) in Eclipse (2021-03) for Oracle PL/SQL (Oracle DB Developer VM: Oracle 19.3) in MacOS (Catalina).
It does autocomplete for SQL queries with MySQL, PostgreSQL, and Oracle.
But, with Oracle PL/SQL, it does some case changes and syntax highlights, but NO code completion.
For example, if I start typing DECLARE or BEGIN, it does NOT prompt it. But, once I complete these keywords, they are automatically turned to upper case and changes color to blue.
However, when I type dbms_output.put_line it neither prompts anything nor changes case or color thereafter.
(Noticed: In Oracle SQL Developer, it prompts several options as we continue typing the above command, and also does syntax highlight thereafter. Similarly, it prompts options, and code snippets with initial 3 letters like dec, etc.)
By default, the following are checked:
Windows > Preferences > Database > Database Editors > SQL Editor > Code Complete >
Enable auto activation
Activate on typing
Auto-insert proposal
Any idea?
After installing Oracle 12c database, Weblogic and forms.
I added button on blank form to show message or execute query.
In the runtime the when_button_pressed not work but if I press Ctrl+F11 it executes well.
Not that I move fmx file from Windows machine to Linux machine where weblogic and database are installed.
If you really named the trigger when_button_pressed, then this is the reason. Triggers - which are built-in into Forms - have a hyphen, not an underline, i.e. when-button-pressed is its correct name.
If this is not the case (but a matter of a typo), posting trigger code might help. What does it contain?
I can't find a search function with which I can search all tables in a database for a certain value in DataGrip.
This functionality does exist in other database tools, see:
PhpMyAdmin
MySQl Workbench
HeidiSQL
I don't know how to achieve similiar functionality with DataGrip
Version 2019.2 of DataGrip supports full text searches.
select datasources, schemas or even separate tables in Database view
select Full-text Search in context menu
enter query and hit enter
See https://youtrack.jetbrains.com/issue/DBE-87#focus=streamItem-27-3621219.0-0
UPDATED: Full-text search is supported from the version 2019.2
It is supported. In short, Ctrl + Shift + Alt + F should work. For detail, see https://www.jetbrains.com/help/datagrip/full-text-search-for-databases.html.