I would like to create a temporary table with a variable name. For example,
the name of the table might be based on some form of datetime and a constant
text. I have looked through the logs, but have not found any direction on
this. Any ideas?
William Herring wrote:
> I would like to create a temporary table with a variable name. For
> example, the name of the table might be based on some form of
> datetime and a constant text. I have looked through the logs, but
> have not found any direction on this. Any ideas?
You will have to compute the table name in your client application or a
server-side procedure, paste it into the command string, and execute
that.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
Есть вопросы? Напишите нам!
✖
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера