vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have a coma del text file that has an email that has to go into a varchar(4000) . This email column has CR-LP and coma as part of the text. when I try to import the table, i am getting a truncation error and it reject the next line thinking its the next row. How can I import column with CR-LF characters ? thanks roger |
| |||
| On Aug 8, 3:51 pm, Roger <wondering...@gmail.com> wrote: > I have a coma del text file that has an email that has to go into a > varchar(4000) . This email column has CR-LP and coma as part of the > text. when I try to import the table, i am getting a truncation error > and it reject the next line thinking its the next row. > How can I import column with CR-LF characters ? > > thanks > > roger I usually encapsulate text within a character that doesnt occur inside data, like * or even ? and use the MODIFIED BY CHARDEL& to specify the string delimiter character. It works... |
| ||||
| Roger wrote: > I have a coma del text file that has an email that has to go into a > varchar(4000) . This email column has CR-LP and coma as part of the > text. when I try to import the table, i am getting a truncation error > and it reject the next line thinking its the next row. > How can I import column with CR-LF characters ? I know this is a very late answer, but if your fields have character delimiters (the " in the default delimited format), you can use modified by delprioritychar On your load/import command. See the documentation for a better description of this option. |