dbTalk Databases Forums  

Re: Bulk Insert with no Delimeter

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss Re: Bulk Insert with no Delimeter in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John Bell
 
Posts: n/a

Default Re: Bulk Insert with no Delimeter - 08-23-2003 , 09:03 AM






Hi

You only problem seems to be that OEM should be in quotes!

Try:

bulk insert test from 'D:\temp\test.txt'
with (codepage='OEM')

John

"BlckHlDev" <blckhldev (AT) rediffmail (DOT) com> wrote

Quote:
Is it possible to use Bulk Insert from a .txt which does not have any
field
delimeter but having \n as RowTerminator?

Tried with CodePage e.g.
bulk insert test from 'D:\temp\test.txt'
with (codepage=OEM)
(or ACP,Raw etc.)

but reporting
"Incorrect syntax near 'OEM'"

How to solve this Problem?

TIA
BlackHole





Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.