Hy,
I want to display this
select ID from table where IDCOMMANDE = '123';
with awk
my command is :
grep "COMMANDE" $FILE | awk -F";" '{ print "select ID from table where IDCOMMANDE = "$8";"}'
this command display that
select * from table where ID = 123;
how can i display select ID from table where IDCOMMANDE = '123';
thank you
I want to display this
select ID from table where IDCOMMANDE = '123';
with awk
my command is :
grep "COMMANDE" $FILE | awk -F";" '{ print "select ID from table where IDCOMMANDE = "$8";"}'
this command display that
select * from table where ID = 123;
how can i display select ID from table where IDCOMMANDE = '123';
thank you