Search Results

Search: Posts Made By: Rokkesh
5,628
Posted By stomp
This needs bash: sql_output="$(echo "select...
This needs bash:

sql_output="$(echo "select yourfield from yourtable;" \
| mysql -uusername -p"password" database)"
or a little more secure...

sql_output="$(echo "select yourfield from...
5,628
Posted By rbatte1
You can do this in a few ways. You can...
You can do this in a few ways.


You can call sqlplus and pass it a deck/file of multiple SQL commands.
You can call sqlplus in what is called a here document and pass in the commands from your...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy