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.8k171175


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
39.5k355539811
accept rate: 34%

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:

×438
×15
×11
×9

question asked: 21 Apr '13, 23:05

question was seen: 2,279 times

last updated: 22 Apr '13, 13:14