Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: DDL::Sybase
Date: Oct 24 2008 3:29PM

On Oct 23, 2008, at 12:53 AM, Edward Peschko wrote:

> All,
> Oracle has a very nice perl module associated with it - DDL::Oracle -
> it allows for dumping of procedures, indexes, tables, stored
> procedures, and so on, in a way that can be highly configured (ie:
> sizing can be kept, tweaked or removed, partitioning tweaked, table
> allocation changed)
> Does something like this exist for sybase? I basically want to be able
> to dump a database's ddl out and change how much space is allocated
> for each table (likewise with indexes). If not, does anybody have any
> ideas on where I could start, aside from scratch?

As Ed says -, which we used back in the TCI days is  
available, and is reasonably current. I don't think that it handles  
partitioned tables (or at least not the semantic partitioning  
available in ASE 15.x), but other than that it's pretty complete.  
You'd have to hack it to turn it into a perl module, though. has been maintained until recently by David Owen, but I  
haven't heard from him in a long time, and his web site has gone off- 
air. A recent copy of is available from

Note that Sybase won't allow you to pre-allocate space for tables,  
indexes, etc. the way Oracle does.

Michael Peppler              -                    Peppler Consulting  
SaRL         -           
Sybase DBA/Developer         -      TeamSybase:
Sybase on Linux FAQ          -