Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Sybase > Moving from sybase to MS Sql server

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-23-04, 13:12
Thanuja Thanuja is offline
Registered User
 
Join Date: Jun 2004
Posts: 19
Question Moving from sybase to MS Sql server

Hi,

I want to move the database from sybase to sql server.I want to move the table structure in the first step then the data.
Also can u tell how to generate SQL scripts in sybase.
How cud the moving from sybase to sql server be acheived. What are the different options available to do this.
It is urgent
Any help is appreicated.
Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 06-24-04, 17:25
smw smw is offline
Registered User
 
Join Date: Jun 2004
Posts: 1
The easiest way to do this is with DBArtisan; however, that's an expensive tool and if you're asking this question you probably don't have it. One method would be to get Ed Barlowe's suite of extended stored procedures for sybase (at http://www.edbarlow.com/), install them on your Sybase server and then use that to extract your DDL and stored procedures. You'll need to make some manual modifications to most SQL, but it should be fairly minor.

For copying your data the easiest method would be with BCP. Install Sybase Open Client and MS SQL's client libraries on the same machine. Rename Sybase's BCP to SYBCP or something like that so you know which BCP program you're running (since they will both be in your path; Sybase BCP won't talk to MS & vice versa). Then BCP out all your tables in character mode using SYBCP and after creating the tables in SQL Server, BCP them in using MS BCP. If your tables are very large it's recommended that you do this on the server where SQL server is running, so you don't need to use extra network bandwidth to BCP the data in.
Reply With Quote
  #3 (permalink)  
Old 06-25-04, 13:30
Thanuja Thanuja is offline
Registered User
 
Join Date: Jun 2004
Posts: 19
Hi,

I tried that already but I am not able to run the configure command.I unzipped the file then it created the procs directory and according to the document it says after all this run the configure command in the procs directory. I did that and it says cannot identify this command as an internal or external command.
Can u tell me how to run this configure command and why isnt it accepting that.
I went to command prompt and went to that place where procs directory is present and there I typed configure and it says the above cannot recognise the command.
Please help.
I have to submit this by today evening or max by monday.I have tried all options.Is there any other way of moving the structure frm sybase to sql server apart from this way.
Thanks
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On