I am running SQL Anywhere 9.0.0 build(1108)
Breck
--
SQL Anywhere Studio 9 Developer's Guide
Buy the book: http://www.amazon.com/exec/obidos/ASIN/1556225067/risingroad-20
bca...@risingroad.com
Mobile and Distributed Enterprise Database Applications
www.risingroad.com
Regards,
Clarence
"Breck Carter [TeamSybase]" <NOSPAM_...@risingroad.com> wrote in
message news:h0vu40pvcqv5f0fov...@4ax.com...
dblog -t database.log database.db
The log file will now be created in the same directory as the database file.
--
Reg Domaratzki, Sybase iAnywhere Solutions
Sybase Certified Professional - Sybase ASA Developer Version 8
Please reply only to the newsgroup
iAnywhere Developer Community : http://www.ianywhere.com/developer
ASA Patches and EBFs : http://downloads.sybase.com/swx/sdmain.stm
-> Choose SQL Anywhere Studio
-> Set "Platform Preview" and "Time Frame" to ALL
"Clarence" <ccha...@arazozabrothers.com> wrote in message
news:404f861f@forums-1-dub...
Here is a Windows batch file which works:
"%ASANY9%\win32\dblog.exe" -t c:\temp\test.log test.db
pause
Here is what it displayed on screen:
C:\amisc\experiments\db9>"C:\Program Files\Sybase\SQL Anywhere 9\win32\dblog.exe
" -t c:\temp\test.log test.db
Adaptive Server Anywhere Transaction Log Utility Version 9.0.0.1270
"test.db" was using log file "test.log"
"test.db" is using no log mirror file
"test.db" is now using log file "c:\temp\test.log"
Transaction log starting offset is 0000384222
Transaction log current relative offset is 0000086492
When the following command was executed in ISQL:
SELECT DB_PROPERTY ( 'LogName' );
It displayed this:
DB_PROPERTY('LogName')
'c:\\temp\\test.log'
(And yes, Reg is correct, for maximum flexibility do *not* specify an explicit path, unless you want
the log to go on a different drive for performance)
Breck
I appreciate your help.
Regards,
Clarence
"Breck Carter [TeamSybase]" <NOSPAM_...@risingroad.com> wrote in
message news:oo4v40dvmhqop64bs...@4ax.com...