Dear Folks,
I am a newbee to UNIX. I want to extract the SQLSTATE from a log file. For example the log file content is
SQL0010N The string constant beginning with "' from table1 a, table 2" does not have
an ending string delimiter. SQLSTATE=42603
when I give the the command as
grep "SQLSTATE" error.log
I am getting the output as "an ending string delimiter. SQLSTATE=42603"
But my requirement is to get the output as "SQLSTATE=42603". Please help me with proper grep command. Thanks in advance