joelangley:Yes, it is possible. Can I ask though how are you getting the data into SQL. Are you using .NET or Scripts or straight from within logparser.
Thanks joelangley.
I am getting data from csv to SQL using command straight from within logparser2.2.
Let me explain this problem more detailed:
1, The logparser command Which I used to convert csv to sql:
LogParser "SELECT [(PDH-CSV 4.0) (Pacific Daylight Time)(420)] AS Time, [\\******\Process(explorer)\Private Bytes] AS PrivateBytes, [\\******\Process(explorer)\Virtual Bytes] AS VirtualBytes INTO MyTable FROM C:\perflogs\perflog1.csv" -i:CSV -o:SQL -server:*******\******* -database:MyDatabase -driver:"SQL Server" -username:sa -password:******* -createTable:OFF
2, Before I run that command, I have a database MyDatabase and a table MyTable created already.
3, The number of column in MyTable is 4; and the number of column in csv file is 3.
So how can I convert the 3 columns from csv into 3 columns of sql database, meanwhile, insert a customized column (which is not exist in csv file) to the 4th column of the database.
Thanks very much.