PostgreSQL/Postgre SQL/File Read

Материал из SQL эксперт
Версия от 13:13, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Reading from a file into a variable

   <source lang="sql">

postgres=# postgres=# -- Reading from a file into a variable postgres=# postgres=# \set data "cat tabledata" postgres=# \echo :data cat tabledata postgres=# postgres=#

      </source>