| От | Aaron Bono |
|---|---|
| Тема | Re: Creating a table in a different database |
| Дата | |
| Msg-id | bf05e51c0606060157y2dca378cs6c347aeeff85f550@mail.gmail.com обсуждение исходный текст |
| Ответ на | Creating a table in a different database ("Simon Dale" <sdale@rm.com>) |
| Список | pgsql-admin |
Hi,
The CREATE TABLE command creates a table in the current database. What I want to achieve is a SQL script that will create a database and a user and then create some tables and functions in the new database.
Is it possible to do this in a single SQL file, and if so, how do I change the database part way through the file to create the tables in the correct database?
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера