Re: Inserting values into a variable table

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: Inserting values into a variable table
Дата
Msg-id 171262.87028.qm@web31801.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Inserting values into a variable table  ("Greg Quinn" <greg@officium.co.za>)
Список pgsql-novice
> I am creating a function for inserting values into a table.
> The problem is the tables have various names, depending on the userid.
> email_inbox_a608ac4e-5215-4758-905e-78cfb809aebc
> is for one user, while…
> email_inbox_c86hce32-4758-905e-gfkk439d83jd
> is for another.
> select * from $1 where messageid  = $2
> but the compiler is not accepting it. What is recommended?


> I am trying in my sql, to pass the tablename as a parameter,

Is this a question about mySQL?

Regards,

Richard Broersma Jr.

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

Предыдущее
От: "Greg Quinn"
Дата:
Сообщение: Inserting values into a variable table
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Inserting values into a variable table