Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Crespo24
Village Idiot
144 Posts |
Posted - 2003-01-20 : 06:44:32
|
Salute!ok... silly question from me as usual, but I really need to know the answer!I am trying to import a text file of variable width fields but I don't want to specify whether it is comma delimited etc.. Is there a way of actually selecting the column width yourself?A bit like the excel version where you get to draw little lines to specify field widths?I've already written a macro that takes in a text file and split out to separate columns (you have to give it the column names and lengths though), but I want to know if it is possible in SQL-Server.Any ideas?!Thanks. |
|
|
Crespo24
Village Idiot
144 Posts |
Posted - 2003-01-20 : 06:55:53
|
quote: Salute!ok... silly question from me as usual, but I really need to know the answer!I am trying to import a text file of variable width fields but I don't want to specify whether it is comma delimited etc.. Is there a way of actually selecting the column width yourself?A bit like the excel version where you get to draw little lines to specify field widths?I've already written a macro that takes in a text file and split out to separate columns (you have to give it the column names and lengths though), but I want to know if it is possible in SQL-Server.Any ideas?!Thanks.
I am an idiot.... I;ve just figuered out how to do it... after spending more than an hour I finally find it (after posting the question here that is!)Sorry guys. |
 |
|
|
|
|
|