SCHEMA's the easy way?
| От | Chris Gamache |
|---|---|
| Тема | SCHEMA's the easy way? |
| Дата | |
| Msg-id | 20040519163832.88907.qmail@web13806.mail.yahoo.com обсуждение |
| Ответ на | Function valid only for one table (Martin Knipper <knipper@mk-os.de>) |
| Ответы |
Re: SCHEMA's the easy way?
|
| Список | pgsql-sql |
I'm planning on dipping my toes into the world of schemata. I have tables,
created in the Public schema, that I'd like to move to the new schema:
SELECT * INTO new.tablename FROM public.tablename;
CREATE SEQUENCE ...;
CREATE INDEX ...;
ALTER TABLE ...;
BLAH ...;
BLAH ...;
BLAH ...;
DROP public.tablename;
REPEAT ...;
REPEAT ...;
REPEAT ...;
VOMIT;
Is there an easier, faster, less user-error-prone way around this?
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
В списке pgsql-sql по дате отправления: