I'm trying to use LogParser 2.2 to try to convert a .csv into a SQL table, dynamically creating the columns after stripping out non alphanumeric characters. When I use the following line from the command prompt, I get an error:
logparser "SELECT.RemoveNonAlphaNumCharacters * INTO SQLCounters FROM 'C:\Users\Test\Desktop\SQL_Log_0.csv" -i:CSV -o:SQL -Server:MJNHNX4 -database:PerfMonCounters -driver:"SQL Server" -createtable:ON
The error I see is
Error: Syntax Error: (from-clause): expecting FROM keyword instead of token '*'
What's wrong with my conmmand? RemoveNonAlphaNumCharacters is a valid function in the PerfMonCounters database.