Re: How to dump schema script to recreate the database.
- From: David Kerber <ns_dkerber@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 7 Dec 2007 13:30:07 -0500
In article <FtednX5oWsc7G8TanZ2dnUVZ_saknZ2d@xxxxxxxxxxxxxxxxx>,
siegfried@xxxxxxxxxxx says...
My client's customer gave us a sample IAnywhere database that we can query.
What is the difference between sybase and IAnywhere?
IAnywhere is the subsidiary of Sybase which produces SQLAnywhere (AKA
Adaptive Server Anywhere).
When I click on "about" it says "Adaptive Server Anywhere Network Server
Version 9.0.2.2451". Since it is copyrighted 2004 I assume this is quite
old.
That may be the first GA version of 9.0.2, but there are still regular
updates to 9.0.2, the latest being from just this past October, so it's
not particularly out of date. The latest version that iAnywhere has put
out is 10.1.xxxx, I belive.
Unforunately, the account and password they gave us cannot insert into table
inside a copy of the database I made. I assume there is an admin account
that could grant my user account write access to the tables I need. We do
not know the username or the password for that account, unfortuantely.
The default admin account is dba, pwd sql. I would hope they have
changed it from the default, but it may be worth a try.
(1) Is it true that I need the username and password of some admin account
to grant my user account write access? Many database work this way including
MSAccess and MySQL and MS SQL. Is there a way to break into the datatbase
and get this username and password.
Not without Sybase's help, and they won't do it unless you can prove
that you own the database.
(2) How can I extract the schema from the database (perhaps in the form of
"create table" commands) so I can create a new identical database with a
known admin account that can grant me write access? How would I create a new
database and execute the script on the new database?
Try the "Unload database" command. You may have to look around for the
exact syntax, though. What are you using for your client connections to
the db?
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
.
- Follow-Ups:
- Re: How to dump schema script to recreate the database.
- From: Siegfried Heintze
- Re: How to dump schema script to recreate the database.
- References:
- How to dump schema script to recreate the database.
- From: Siegfried Heintze
- How to dump schema script to recreate the database.
- Prev by Date: How to dump schema script to recreate the database.
- Next by Date: Re: How to dump schema script to recreate the database.
- Previous by thread: How to dump schema script to recreate the database.
- Next by thread: Re: How to dump schema script to recreate the database.
- Index(es):
Relevant Pages
|