GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MDB-SCHEMA (1)

NAME

mdb-schema - Generate schema creation DDL

CONTENTS

Synopsis
Description
Options
Environment
Notes
History
See Also
Authors
Bugs

SYNOPSIS



mdb-schema [options] database [backend]

DESCRIPTION

mdb-schema is a utility program distributed with MDB Tools.

It produces DDL (data definition language) output for the given database. This can be passed to another database to create a replica of the original access table format.

OPTIONS

-T <table>, --table <table> Single table option. Create schema for this table only. Default is to export all tables.
-N namespace Prefix identifiers with namespace.
--drop-table Issue DROP TABLE statement.
--no-drop-table Don’t issue DROP TABLE statement. This is the default.
--not-null Issue NOT NULL constraints. This is the default.
--no-not-null Don’t issue NOT NULL constraints.
--default-values Issue DEFAULT values.
--no-default-values Don’t issue DEFAULT values. This is the default.
--not-empty Issue CHECK <> ’’ constraints.
--no-not-empty Don’t issue CHECK <> ’’ constraints. This is the default.
--indexes Export INDEXes. This is the default.
--no-indexes Don’t export INDEXes.
--relations Export foreign keys constraints. This is the default.
--no-relations Don’t export foreign keys constraints.
backend Specifies target DDL dialect. Supported values are access, sybase, oracle, postgres, mysql and sqlite. If not specified the generated DDL will be in access format.

ENVIRONMENT

MDB_JET3_CHARSET Defines the charset of the input JET3 (access 97) file. Default is CP1252. See iconv(1).
MDBICONV Defines the output charset to use for the SQL file. Default is UTF-8. mdbtools must have been compiled with iconv.
MDBOPTS semi-column separated list of options:
o use_index
o no_memo
o debug_like
o debug_write
o debug_usage
o debug_ole
o debug_row
o debug_props
o debug_all is a shortcut for all debug_* options

NOTES

HISTORY

mdb-schema first appeared in MDB Tools 0.1.

SEE ALSO

gmdb2(1) mdb-export(1) mdb-hexdump(1) mdb-prop(1) mdb-sql(1) mdb-ver(1) mdb-array(1) mdb-header(1) mdb-parsecsv(1) mdb-tables(1)

AUTHORS

The mdb-schema utility was written by Brian Bruns and others.

BUGS

Relationships and other features may not be supported by all databases. Access datatypes are mapped to their closest counterparts in the target backend. This may not always yield an exact fit.
Search for    or go to Top of page |  Section 1 |  Main Index


MDBTools 0.7.1 MDB-SCHEMA (1) 05 April 2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.