Created
May 4, 2016 15:28
-
-
Save Chudesnov/06324d480290a7a916aaec6ef9173083 to your computer and use it in GitHub Desktop.
SQLPlus, SQLcl and cursors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SQL> set sqlformat json | |
SQL> select cursor(select 1 as num from dual) cursor_column, 32767 number_column from dual; | |
������������ ��� �������: getOracleObject not implemented for class oracle.jdbc.driver.T4CResultSetAccessor | |
{"results":[{"columns":[{"name":"CURSOR_COLUMN","type":"NUMBER"},{"name":"NUMBER_COLUMN","type":"NUMBER"}],"items": | |
[ | |
]}]}no rows selected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SQL> select cursor(select 1 as num from dual) cursor_column, 32767 number_column from dual; | |
CURSO NUMBER_COLUMN | |
----- ------------- | |
NUM 32767 | |
---------------------- | |
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SQL> select cursor(select 1 as num from dual) cursor_column, 32767 number_column from dual; | |
CURSOR_COLUMN NUMBER_COLUMN | |
-------------------- ------------- | |
CURSOR STATEMENT : 1 32767 | |
CURSOR STATEMENT : 1 | |
NUM | |
---------- | |
1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment