dbTalk Databases Forums  

How can you Rename a Named Database?

comp.databases.btrieve comp.databases.btrieve


Discuss How can you Rename a Named Database? in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Greg Doherty
 
Posts: n/a

Default How can you Rename a Named Database? - 11-03-2004 , 05:05 PM






Is it possible to rename a named database the uses referential integrity?

I'm using P.SQL 8.6 Workgroup Engine on WinXP.
Using PCC, I tried deleting the DSN then renaming the database. This
appears to work. I created a new DSN, but when I try to access the database
using the new name, I get referential integrity errors.

Is there any way to make this work?

Thanks,
- Greg



Reply With Quote
  #2  
Old   
Leonard
 
Posts: n/a

Default Re: How can you Rename a Named Database? - 11-03-2004 , 11:58 PM






It sounds like the data file is bound to the old database name.
In that case you have to put it back in the old database then unbind
it. At a minimum remove security if enabled and in Maintain Named
Database uncheck the "Bound" box for the database. It is possible
that there are some actual SQL constraints on the table. If there are
SQL constraints they have to be dropped also.
After it is unbound you can move or rename until your heart is
content.

Leonard

On Wed, 3 Nov 2004 15:05:20 -0800, "Greg Doherty" <NoSpam (AT) nospam (DOT) com>
wrote:

Quote:
Is it possible to rename a named database the uses referential integrity?

I'm using P.SQL 8.6 Workgroup Engine on WinXP.
Using PCC, I tried deleting the DSN then renaming the database. This
appears to work. I created a new DSN, but when I try to access the database
using the new name, I get referential integrity errors.

Is there any way to make this work?

Thanks,
- Greg



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.