Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28504

Error creating table

$
0
0

I'm using logparser to parse IIS logs. But i get an error like this. What is the problemm? 

C:\Program Files\Log Parser 2.2>LogParser "SELECT * INTO MyTable FROM C:\logfile.log"
-i:TEXTWORD -o:SQL -server:NOTEBOOK -database:Log -driver:"SQL Server" -createT
able:ON -fixColNames:ON
Task aborted.
Error creating table
SQL State: 42000
Native Error: 1018
Error Message: [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect
syntax near 'Index'. If this is intended as a part of a table hint, A WITH
keyword and parenthesis are now required. See SQL Server Books Online for
proper syntax.
Most likely you're attempting to create a table with invalid column names,
such as names containing the '-' character, or names that are illegal for
the database you are connecting to (e.g. 'timestamp'). Rename the columns
in the SELECT clause using the AS statement.

Statistics:
-----------
Elements processed: 0
Elements output: 0
Execution time: 0.05 seconds




Viewing all articles
Browse latest Browse all 28504

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>