Unix Technical Forum

Extract table definition from another data server

This is a discussion on Extract table definition from another data server within the Sybase forums, part of the Database Server Software category; --> Hi, Does anyone know of any script or function that can extract a table definition from another data server? ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 03:50 PM
Fahd Shariff
 
Posts: n/a
Default Extract table definition from another data server

Hi,

Does anyone know of any script or function that can extract a table
definition from another data server?

I am bcp'ing out the data from another data server and intend to move
this data to my data server. Hence i require the table definition. I
do not wish to "hard code" but want to create a new temporary table
dynamically (since the table structure may change).

Therefore i am in need of a script that i could run using isql or sqsh
to generate another table of the same structure.

Thanks,
Fahd

PS: Not defncopy!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 03:50 PM
Rene van Leeuwen
 
Posts: n/a
Default Re: Extract table definition from another data server

In article <9bc0209f.0308160131.2d945e39@posting.google.com >, Fahd Shariff wrote:
> Hi,
>
> Does anyone know of any script or function that can extract a table
> definition from another data server?
>
> I am bcp'ing out the data from another data server and intend to move
> this data to my data server. Hence i require the table definition. I
> do not wish to "hard code" but want to create a new temporary table
> dynamically (since the table structure may change).
>
> Therefore i am in need of a script that i could run using isql or sqsh
> to generate another table of the same structure.
>
> Thanks,
> Fahd
>
> PS: Not defncopy!


dbschema (http://www.midsomer.org/#dbschema.pl); needs Perl or
ddlgen (http://www.sypron.nl/ddlgen.html) in ASE 12.5; needs Java

--
___ _
| _ \___ _ _ ___//
| / -_) ' \/ -_)
|_|_\___|_||_\___|
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:47 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com