Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

informix to SQL Server 2008

Posted on 2011-02-25
2
Medium Priority
?
418 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

916 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