Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 07-14-2009, 11:00 PM Bulk Insert Issue
Extreme Talker

Posts: 246
Trades: 0
I've taken the log files from my site and am trying to Bulk insert them into my database. I've got the tables set up properly. Here's the issue, at the beginning of each entry there are four lines all starting with #, which is supposed to be comments and apparently are supposed to be ignored. This is not the case. If I remove these lines everything works great, if I leave them in I get data type miss match errors as if it's reading the commented lines.

BULK INSERT WebLogs FROM 'C:\filepath\ex090701-97.74.144.4.log'
WITH (FIELDTERMINATOR = ' ', ROWTERMINATOR = '\n')

Is there anything I'm missing.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
stbuchok is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Bulk Insert Issue
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08124 seconds with 12 queries