Re: drop a check

Поиск
Список
Период
Сортировка
От Volkan YAZICI
Тема Re: drop a check
Дата
Msg-id 20061113174138.GB1403@alamut
обсуждение исходный текст
Ответ на drop a check  (ivan marchesini <marchesini@unipg.it>)
Ответы Re: drop a check
Re: drop a check
Список pgsql-sql
On Nov 13 05:32, ivan marchesini wrote:
> I have created a check constraint without giving it a name..
> now I have a check named "$25" in my table that I need to drop or
> modify!!!
> How can I do???
> with names is simple
> 
> alter table tablename drop constraint constraintname;
> 
> but without name??   :-)

CREATE TABLE cons_test (   u   integer     CHECK (u > 10)
);

SELECT constraint_name FROM information_schema.constraint_column_usageWHERE table_name = 'cons_test' AND
column_name= 'u';
 

See infoschema-constraint-column-usage.html in the manual for further
assistance.


Regards.


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

Предыдущее
От: Richard Broersma Jr
Дата:
Сообщение: Re: RES: Inserting data in composite types!
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Re: Another question about composite types