Wanted to execute few commands independently like CREATE, INSERT and SELECT inside shell script i.e., makefile.sh. Example:-
cqlsh "CREATE <SOME QUERY>;"
cqlsh "INSERT <SOME QUERY>;"
cqlsh "SELECT <SOME QUERY>;"
Is there any way to do so??
Wanted to execute few commands independently like CREATE, INSERT and SELECT inside shell script i.e., makefile.sh. Example:-
cqlsh "CREATE <SOME QUERY>;"
cqlsh "INSERT <SOME QUERY>;"
cqlsh "SELECT <SOME QUERY>;"
Is there any way to do so??
Copyright © 2021 Jogjafile Inc.
You could use the
-eoption and specify a cql statement or-fand specify a file. More details here.