Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Sybase > About Changing the Dbid's

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-23-04, 13:18
err1 err1 is offline
Registered User
 
Join Date: Jun 2004
Location: Paris, France
Posts: 43
Question About Changing the Dbid's

Hi everyone,
we work on a test servers where there are a lot of different databases (sybase 11.9.2 or 12.5.03), and these databases come from different other source servers.
our problem is the following :
we would like to keep the dbid's from the source servers, to avoid any problems. but as you know, sybase doesn't allow to choose the dbid at the creation of the DB.
for this, the choice made before i arrived was to create fake databases, and destroy the one which has the good dbid just before the creation of the DB.
my question is : is it dangerous to change the dbid directly in the system tables just after its creation ?
which tables (other than sysdatabases) are to changed ?
(i think there is no problem about this manipulation, but i would like to have other advises)

thanks,
Err1
Reply With Quote
  #2 (permalink)  
Old 06-26-04, 11:13
willy_and_the_ci willy_and_the_ci is offline
Registered User
 
Join Date: Feb 2002
Location: Willy is on vacation
Posts: 1,208
sysdatabases is not just the only place, there are whoel heap of other system tables..sysusages, sysloginroles etc...don't forget the concrete id stuff.

I'm not quite sure, there must be an easier way. Perhaps setting up a proxy database on the same server, changing the dbid of the proxy should be much more easier.

Check with Sybase Support and let us know here.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On