The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

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
29.3k287438645
accept rate: 32%

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:

×404
×15
×6
×6

question asked: 21 Apr '13, 23:05

question was seen: 613 times

last updated: 22 Apr '13, 13:14