I have an existing table made for this select into statement.
LogParser "SELECT DISTINCT MSGID, Event-ID, Time, Recipient-Address, Sender-Address, Message-Subject INTO Emails FROM test.log WHERE Event-ID = '1028' OR Event-ID = '1020'" -i:W3c -separator:tab -o:sql -oConnString:"Driver={SQL Server};Server=intranet;db=sthunt;uid=sa;pwd=password" -ignoreIdCols:ON -createTable:OFF
When run it comes back with
Error while executing ODBC SELECT query
SQL State: 42S02
Native Error: 208
Error Message: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid
object name 'Emails'.
The specified table "Emails" does not exist
When I change the createtable switch to on, it creates the table Emails under the Master db. The database sthunt does exist and so does the table emails. Can anyone help?