alter multiple tables

Поиск
Список
Период
Сортировка
От Kodok Marton
Тема alter multiple tables
Дата
Msg-id 9DBB01421A394206908CBE913C8074C6@martondesktop
обсуждение исходный текст
Ответы Re: alter multiple tables  (Tino Wildenhain <tino@wildenhain.de>)
Список pgsql-general
Hello,
 
I have in every table columns like:
usernamecharacter varying(20) NOT NULL
 
I want to extend the length of varchar in all tables.
 
Since I have a lot of tables and mirrored backups, I am wondering if there is a way to alter automatically all tables where colname matches 'username'
 
Is there a way to do this?
 
Marton

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

Предыдущее
От: dcrespo
Дата:
Сообщение: archive_command question
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: alter multiple tables