Dec 1, 2003 #1 ianicr IS-IT--Management Nov 4, 2003 230 GB Is there a way to make an awk script query a mysql database rather than looking at a file? eg echo select * from table |mysql -u1234 Thanks
Is there a way to make an awk script query a mysql database rather than looking at a file? eg echo select * from table |mysql -u1234 Thanks
Dec 1, 2003 #2 vgersh99 Programmer Jul 27, 2000 2,146 US echo select * from table |mysql -u1234 | awk -f myAWKscript.awk vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+ Upvote 0 Downvote
echo select * from table |mysql -u1234 | awk -f myAWKscript.awk vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+
Dec 2, 2003 Thread starter #3 ianicr IS-IT--Management Nov 4, 2003 230 GB How about using it in a getline? eg something like: getline <`echo "select * from table" |mysql -u1234` Upvote 0 Downvote
How about using it in a getline? eg something like: getline <`echo "select * from table" |mysql -u1234`