Re: Sequence query

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Sequence query
Дата
Msg-id Pine.BSF.4.21.0109142042170.45865-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Sequence query  ("Tamara D. Blum" <tblum@jus.gov.ar>)
Список pgsql-general
On Fri, 14 Sep 2001, Tamara D. Blum wrote:

> Hi !
>
> I need to ask for the following secuence number for a field.  I am
> connecting PostgreSQL with an ODBC Driver and with ADO. If i ask for
> the value of the field after updating the recordset, i get it is null
> (and it can't be), so i read how to ask for information about
> sequences and i founded that "SELECT * FROM objetos_ID_seq" would be
> ok, but i got an error: "The Relation 'objetos_Id_seq' does not
> exist".
>
> What's wrong ? Is there any problem with my sequence ?

Have you tried double quoting the sequence name?  My first guess is
that it's a mixed case problem.


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Sequence query
Следующее
От: Culley Harrelson
Дата:
Сообщение: Re: Fwd: Re: unicode in 7.1