Is it possible to change the database server name provided through the -n option during runtime?
Is it possible to add an alias to the server name during runtime?
asked 12 May '11, 07:12
No, and no.
I am curious: What do you need it for?
answered 12 May '11, 07:57
When you start a database you can specify an alternate server name for the database. This is an additional server name that can be used only to connect to the database. The alternate server name is the closest thing to changing the server name that SQL Anywhere supports.
High availability uses alternate server names so that a client can use the alternate server name for the database. This alternate server name will be used by which ever of the two partner servers is currently the primary. Perhaps you should consider using high availability which will do this automatically for you.
answered 12 May '11, 09:06