Created
February 6, 2017 07:21
-
-
Save Jammink2/90e77ddc27487b711ca627ff3ea0b1c2 to your computer and use it in GitHub Desktop.
For Splice Machine Tutorial Video – Creating scripts to run SQL commands
This file contains hidden or 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/bash | |
echo "Importing into Splice..." | |
sqlshell.sh << EOF | |
set schema script; | |
select * from DOMAIN_DATA; | |
select count(1) from DOMAIN_DATA; | |
exit; | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment