Skip to content

Instantly share code, notes, and snippets.

View bamcgill's full-sized avatar
🏭
I may be slow to respond.

Barry McGillin bamcgill

🏭
I may be slow to respond.
View GitHub Profile
@bamcgill
bamcgill / simple.sql
Created October 19, 2023 07:46
simple test oracle script
select 'norbert' as norbert,'barry' as barry from dual;
@bamcgill
bamcgill / example.java
Last active October 3, 2022 15:49
Example of how to call SQLcl liquibase functionality with java from SQLCL 22.3.0. Download SQLCL from OTN or YUM
package examples;
import java.io.BufferedOutputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.util.Properties;
import java.util.logging.ConsoleHandler;
import java.util.logging.Handler;
import java.util.logging.Level;

Keybase proof

I hereby claim:

  • I am bamcgill on github.
  • I am bamcgill (https://keybase.io/bamcgill) on keybase.
  • I have a public key ASA2ef8A-Eq8mSDrZgeukHNUVU9Be4sX5p-R29etQkI3Uwo

To claim this, I am signing this object:

@bamcgill
bamcgill / build.log
Created April 12, 2018 13:51
Dbtools Common Build from Scratch
This file has been truncated, but you can view the full file.
( rm -rf sqlcl && rm -rf /tmp/m2 && unzip dbtools-sqlcl-18.1.1-sqlcl.zip && cd sqlcl/lib && mvn -Dmaven.repo.local=/tmp/m2 validate && cd - && rm -rf dbtools-commons/ && git clone [email protected]:oracle/dbtools-commons.git && cd dbtools-commons && mvn -Dmaven.repo.local=/tmp/m2 install && cd - ) > t.log 2>&1
Archive: dbtools-sqlcl-18.1.1-sqlcl.zip
creating: sqlcl/
inflating: sqlcl/lib/orai18n.jar
inflating: sqlcl/lib/commons-logging.jar
inflating: sqlcl/lib/orai18n-mapping.jar
inflating: sqlcl/lib/dbtools-sqlcl.jar
inflating: sqlcl/bin/sql.exe
inflating: sqlcl/lib/stringtemplate.jar