Hello all, Is it possible to create a function that would look like this_function('file.csv'); and make it run COPY this_table FROM '/this/location/file.csv' USING DELIMITERS ','; Thus eliminating alot of repeated work each time??? if so what would I put on the returns ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly