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
with colors as ( | |
select 'black' value from dual | |
union all | |
select 'green' from dual | |
union all | |
select 'yellow' from dual | |
union all | |
select 'blue' from dual | |
union all | |
select 'magenta' from dual |
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
REM Add to ORDS config | |
REM <entry key="procedure.rest.preHook">klrice.my_ords_ctx.populate</entry> | |
REM Create a context | |
CREATE OR REPLACE CONTEXT ords_params USING my_ords_ctx; | |
REM PKG to populate the context | |
CREATE OR REPLACE PACKAGE my_ords_ctx AS |
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
#!/usr/bin/env bash | |
FILENAME=${1} | |
# expected to be defined in the environment | |
# - AZURE_STORAGE_ACCOUNT | |
# - AZURE_CONTAINER_NAME | |
# - AZURE_ACCESS_KEY | |
# inspired by |
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
// npm install java | |
var java = require("java"); | |
java.classpath.push("ojdbc8.jar"); | |
java.classpath.push("oracle.dbtools-common.jar"); | |
java.classpath.push("oracle.dbtools.http.jar"); | |
java.classpath.push("oracle.dbtools.jdbcrest.jar"); | |
java.classpath.push("oracle.sqldeveloper.sqlcl.jar"); | |
java.classpath.push("xmlparserv2.jar"); |