Ali Saad
asked on
Import Text file to sql server using Import wizard
Hello
I used Sql server Import & Export wizard to import a flat file ".TXT" as the attached file .... the problem is all data comes in one column ..i tried to change the delimter i cant but i couldnt get the rquired columns ... the desired column i need as follows
Col1 Col2 Col3 Col4 Col5
2060348440 2782152547 10000 RANA Johnson 01/04/2012
SAMPLE.txt
Delimeter.jpg
I used Sql server Import & Export wizard to import a flat file ".TXT" as the attached file .... the problem is all data comes in one column ..i tried to change the delimter i cant but i couldnt get the rquired columns ... the desired column i need as follows
Col1 Col2 Col3 Col4 Col5
2060348440 2782152547 10000 RANA Johnson 01/04/2012
SAMPLE.txt
Delimeter.jpg
It's not delimited. It's fixed width, so you will have to define how many columns there are, the start position of each column, and the width of each column.
ASKER
Is that possible by using import wizard? If yes how i cando that?
Or i should use VS to create SSIS PACKAGE?
Or i should use VS to create SSIS PACKAGE?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.