Skip to content

Instantly share code, notes, and snippets.

View icodealot's full-sized avatar

Justin Biard icodealot

View GitHub Profile
try {
var first = util.executeReturnOneCol("select 1 from dualx");
ctx.write('\n\n FIRST: ' + first + '\n\n');
} catch (e ) {
ctx.write('\n\n ERROR' + e + '\n\n');
}
sqlcl.setStmt('select X from YZ');
sqlcl.run();
var tree = (function(){
var tab= ' ';
function ddlnode( x, inputLine, parent ) {
this.x = x;
this.y = function() {
if( this.children.length == 0 )
return this.x+1;
else
return this.children[this.children.length-1].y();
};
var ddl = (function () {
function DDL() {
this.options = {
//columnNamePrefix: "?",
"Object Prefix": {value:"a"},
Schema: {value:"hr"},
"On Delete": {value:'Cascade',check:['Cascade','Restrict','Set Null']},
Compression: {value:'No',check:['Yes','No']},
"Include Drops": {value:'No',check:['Yes','No']},
"Date Data Type":{value:'DATE',check:['DATE','TIMESTAMP','Timestamp with time zone','Timestamp with local time zone']},
@wonderfulfrog
wonderfulfrog / custom_variables.json
Last active November 9, 2022 18:14
Streamlabs Custom Notification
/* in the Custom Fields tab, click "Edit Custom Fields" and paste the below in. Then click save. */
{
"alertDuration": {
"label": "Alert Duration",
"type": "slider",
"name": "",
"value": 7,
"max": 100,
"min": 1,
"steps": 1