Please be aware that the SAP SQL Anywhere Forum will be shut down on August 29th, 2024 when all it's content will be migrated to the SAP Community.

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
25.0k10142298
accept rate: 41%

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:

×108

question asked: 13 Mar '14, 11:29

question was seen: 1,519 times

last updated: 13 Mar '14, 11:35