Solved

informix to SQL Server 2008

Posted on 2011-02-25
2
413 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

632 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