Solved

informix to SQL Server 2008

Posted on 2011-02-25
2
405 Views
Last Modified: 2012-08-13
Hi,

i have a informix 7.x on a unix server and we are going to get a new windows server with sql server 2008. What is the easiest way to migrate the schema and data to sql server 2008.

what about the stored procedures? are there anyway to export them out to flat files from informix? commands?

thanks
0
Comment
Question by:jaxrpc
2 Comments
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 34979153
If you are looking for a straight forward tool to Migrate, then this is the tool for you but involves cost

http://www.ispirer.com/products/informix-to-sql-server-migration

If you are looking for manual movement of Schema and Data - (No views, procedures, functions), then this would be a good start for you..

http://technet.microsoft.com/en-us/library/cc917718.aspx

And the article given above gives you a brief idea / fundas about difference in Informix and SQL Server Architecture..
0
 
LVL 7

Expert Comment

by:jhp333
ID: 34981227
Migrating a database to a different DBMS is absolutely not an easy task. But since you asked...

From the Informix machine, as user informix, run the following command in a shell:

> dbexport mydbname

This will create a directory "mydbname.exp" in the current directory. In the directory, you have mydbname.sql which has the schema, and a .unl file which has the data, for each table in your database.
The schema file also has all the stored procedures, but if you need them separately, the following shell command will do it:

> dbschema -f all -d mydbname output.txt
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question