The forum will be down for maintenance over the weekend of August 18-20, 2017. The forum will be shut down on the evening (EDT) of Friday, August 18. Downtime is unknown but may be up to two days. The forum will be restarted as soon as maintenance is complete.

Dear All,

Good day. My customer using SQL Anywhere 12 wants to know whether there is a way (and any example code) to do the database rebuild through the dbcapi.

I suppose the answer is "NO". Am I correct?

Thank you very much for your kind attention.

Thanks and Best Regards,
Alan

asked 21 Apr '13, 23:05

laua's gravatar image

laua
16112
accept rate: 0%

edited 22 Apr '13, 13:14

Jeff%20Albion's gravatar image

Jeff Albion
10.7k171174


AFAIK, you would need the DBTools API for that, which is a separate C-based API. It's also the base for the command line tools like DBUNLOAD etc. and the according Sybase Central wizards.

For a rebuild, you may have a look a the DBUnload() and DBCreate()functions.

permanent link

answered 22 Apr '13, 03:23

Volker%20Barth's gravatar image

Volker Barth
30.9k309457667
accept rate: 33%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×412
×15
×8
×7

question asked: 21 Apr '13, 23:05

question was seen: 787 times

last updated: 22 Apr '13, 13:14