Re: [SQL] copy from command - quotes and header lines

2002-11-26 Thread Peter Eisentraut
Kenneth Evans writes: > On the other hand the COPY FROM file command has it the other way round - if the >separators are semi-colons then the source file > London;12;15.7 > Paris;13;22.2 > will work > > but > 'London'; '12'; '15.7' > 'Paris';'13';'22.2' > will not! The COPY input data is a separ

[SQL] copy from command - quotes and header lines

2002-11-26 Thread Kenneth Evans
a) First an observation about populating tables. The standard syntax for literal values is to put single quotes around all the strings and not around the numbers eg insert into table values ('London', 12, 15.7); However when bulk loading from files it needs an extra step to find out which f