'Include' function in SQL scripts
'Include' function in SQL scripts
От:
Alessio Bragadini <alessio@albourne.com>
Дата:
I was wondering if PostgreSQL supports some kind of #include between SQL script files, to split a long script in different files. -- Alessio F. Bragadini alessio@albourne.com APL Financial Services http://village.albourne.com Nicosia, Cyprus phone: +357-2-755750 "It is more complicated than you think" -- The Eighth Networking Truth from RFC 1925
Re: 'Include' function in SQL scripts
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Alessio Bragadini writes: > I was wondering if PostgreSQL supports some kind of #include between SQL > script files, to split a long script in different files. If you're using the psql client then \i filename can be used. -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/