Re: How to implement a dynamic string into a sql statement?

Поиск
Список
Период
Сортировка
От David G Johnston
Тема Re: How to implement a dynamic string into a sql statement?
Дата
Msg-id 1409077618913-5816359.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: How to implement a dynamic string into a sql statement?  ("Lussier, Denis" <denisl@openscg.com>)
Ответы Re: How to implement a dynamic string into a sql statement?
Список pgsql-jdbc
Lussier, Denis wrote
> Don't use prepared statements for DDL.

Parameters only handle values, not identifiers.  DDL deals exclusively with
identifiers.  So while you can use prepared statements you cannot
parameterize them - so the prepared aspect becomes fairly useless except for
consistency if you have some sort of wrapper layer making use of them.

David J.





--
View this message in context:
http://postgresql.1045698.n5.nabble.com/How-to-implement-a-dynamic-string-into-a-sql-statement-tp5816355p5816359.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


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

Предыдущее
От: "Lussier, Denis"
Дата:
Сообщение: Re: How to implement a dynamic string into a sql statement?
Следующее
От: David G Johnston
Дата:
Сообщение: Re: How to implement a dynamic string into a sql statement?