Re: [SQL] COPY use in function with variable file name

2003-02-02 Thread Oliver Elphick
On Wed, 2003-01-29 at 08:05, Sondaar Roelof wrote: > Hello, > > I can't figure out how to make this work, or is not possible? > > In a function i would like to read a file. > The file name is determined by a value from a table. > However the COPY statement does not to accept this? > I tried vario

[SQL] COPY use in function with variable file name

2003-02-01 Thread Sondaar Roelof
Hello, I can't figure out how to make this work, or is not possible? In a function i would like to read a file. The file name is determined by a value from a table. However the COPY statement does not to accept this? I tried various forms of adding (single)-quotes but no luck. Anyone any ideas?