prepare()

Поиск
Список
Период
Сортировка
От Tom Allison
Тема prepare()
Дата
Msg-id 51762686-B75E-4B2F-8425-38C0BA06DEE4@tacocat.net
обсуждение исходный текст
Ответы Re: prepare()  ("Stuart Cooper" <stuart.cooper@gmail.com>)
Список pgsql-general
Is there an advantage to using something like $dbh->prepare($sql) if
the SQL is going to be run once within the scope of the code?  The
code block may be run many times in a minute as in a function call ---

while (<>) {
    insert_something($_);
}

Will the prepare statement be cached @ the database even if it's
destroyed in the code/application?

В списке pgsql-general по дате отправления:

Предыдущее
От: "Shoaib Mir"
Дата:
Сообщение: Re: monitor stats
Следующее
От: Naz Gassiep
Дата:
Сообщение: TimeZone List