Re: ** How to rename a database
Posted in 1997
>Date: Wed, 14 May 1997 15:37:57 +0000 >From: MCOLLINS@iahnbcis.attmail.com (Collins, Mark) >X-Informix-List-Id: <list.14501> > >>> : Does anyone know a slick and quick way of renaming a database? >>> Not without recreating the database, at least in V5. You can do it >>> with one command in V7. > >What is that command? In my 7.1 SQL Syntax manual I can only find >RENAME COLUMN and RENAME TABLE statements. Did they add that in 7.2? RENAME DATABASE olddbname TO newdbname; It's in the 7.20 manuals, so presumably it was added then. It is flagged OnLine only; with SE you use: mv olddbs.dbs newdbs.dbs Pity they forgot about RENAME INDEX and RENAME CONSTRAINT and ... Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>