Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Rename database file

2 posts in General Discussion Last posting was on 2005-08-19 18:21:28.0Z
Ivan Posted on 2005-08-19 13:48:20.0Z
From: "Ivan" <>
Newsgroups: ianywhere.public.general
Subject: Rename database file
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-RFC2646: Format=Flowed; Original
Message-ID: <4305e320@forums-2-dub>
X-Original-Trace: 19 Aug 2005 06:48:16 -0700,
X-Original-Trace: 19 Aug 2005 06:48:18 -0700,
Date: 19 Aug 2005 06:48:20 -0700
X-Trace: forums-1-dub 1124459300 (19 Aug 2005 06:48:20 -0700)
X-Original-Trace: 19 Aug 2005 06:48:20 -0700,
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:4703
Article PK: 17358


How rename database file and file log, by command line?

user ASA 9

Reg Domaratzki (iAnywhere Solutions) Posted on 2005-08-19 18:21:28.0Z
From: "Reg Domaratzki \(iAnywhere Solutions\)" <>
Newsgroups: ianywhere.public.general
References: <4305e320@forums-2-dub>
Subject: Re: Rename database file
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
Message-ID: <43062328$1@forums-1-dub>
Date: 19 Aug 2005 11:21:28 -0700
X-Trace: forums-1-dub 1124475688 (19 Aug 2005 11:21:28 -0700)
X-Original-Trace: 19 Aug 2005 11:21:28 -0700,
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:4704
Article PK: 8496

Assuming the following dbinit command :

dbinit cons.db

The following will rename the database and log file from a command prompt,
assuming that the database file and transaction log are not in use.

rename cons.db new.db
rename cons.log new.log
dblog -t new.log new.db

Reg Domaratzki, Sybase iAnywhere Solutions
Sybase Certified Professional - Sybase ASA Developer Version 8
Please reply only to the newsgroup

iAnywhere Developer Community :
iAnywhere Documentation :
ASA Patches and EBFs :
-> Choose SQL Anywhere Studio
-> Set "Platform Preview" and "Time Frame" to ALL

"Ivan" <> wrote in message news:4305e320@forums-2-dub...
> Hi,
> How rename database file and file log, by command line?
> user ASA 9