Re: Hierarchical Query Question (PHP)
От | Rob Sargent |
---|---|
Тема | Re: Hierarchical Query Question (PHP) |
Дата | |
Msg-id | 5633F24C.7010104@gmail.com обсуждение исходный текст |
Ответ на | Re: Hierarchical Query Question (PHP) (David Blomstrom <david.blomstrom@gmail.com>) |
Ответы |
Re: Hierarchical Query Question (PHP)
|
Список | pgsql-general |
On 10/30/2015 04:38 PM, David Blomstrom wrote:
This goes back to the issue of "scripting". Must of us would rather save the sql in a file and have it to re-run, edit, re-run as needed. Then add it version control. But that takes a working terminal.Ah, yes - "Execute SQL." It created the table this time. Awesome.One other question - when I close the SQL window, it asks me if I want to save the file. Is there any special reason for saving it? It looks like it simply saved a copy of the query I executed.On Fri, Oct 30, 2015 at 3:36 PM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:On 10/30/2015 03:29 PM, David Blomstrom wrote:Thanks for the tips.
In pgAdmin III, I can create a table step-by-step by choosing Edit >
Object > New Table
But is there a pace for me to past in a block of code that creates the
table with just one process? If I click on the SQL icon, a SQL window
opens up, and I can past the code into SQL Editor, but I don't know how
to "activate" it; pressing ENTER does nothing.
http://pgadmin.org/docs/1.20/query.html
The green arrow, menu Query --> Execute or F5, take your pick.--
I'm following a pgAdmin tutorial, but this page appears to focus on the
terminal instead...
http://pgadmin.org/docs/1.4/pg/tutorial-table.html
Adrian Klaver
adrian.klaver@aklaver.com--
В списке pgsql-general по дате отправления: