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.

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
22.3k9129262
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:

×95

question asked: 13 Mar '14, 11:29

question was seen: 375 times

last updated: 13 Mar '14, 11:35