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.

Hi, I just want to ask some help I am using SQLAnywhere 9,I have 80 tables in my database and already have thousand of data,..Now I want to create a reset database and i want to have the same table structure.,or Is it possible to extract the table structure of my database so that i can create a reset database with an empty tables?

please help me.

Thank you in advance.

asked 13 Mar '14, 11:29

mathiascolebar's gravatar image

mathiascolebar
35337
accept rate: 0%


Use dbunload to export your schema. Example:

dbunload -n -c connection-string-to-your-database

This will generate a reload.sql file that you can then use to regenerate your schema in a new dbinit'ed database.

HTH

permanent link

answered 13 Mar '14, 11:34

Mark%20Culp's gravatar image

Mark Culp
23.2k9132273
accept rate: 40%

edited 13 Mar '14, 11:35

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:

×99

question asked: 13 Mar '14, 11:29

question was seen: 442 times

last updated: 13 Mar '14, 11:35