Is there any facility to import a text file that's in fixed column format? The copy command seems to use a delimiter only. I have no delimiter, but have specified column widths. Are the only ways to either do many insert queries, or preprocess the file into a delimited file and then copy? -- greg
On Thursday 06 November 2003 21:00, Greg Stark wrote: > Is there any facility to import a text file that's in fixed column format? > The copy command seems to use a delimiter only. I have no delimiter, but > have specified column widths. > > Are the only ways to either do many insert queries, or preprocess the file > into a delimited file and then copy? Well, a simple C program would do the job, isn't it? Of course there could be some scripting solutions but I don't have anything offhand.. Shridhar
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера