Solved

informix to SQL Server 2008

Posted on 2011-02-25
2
409 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
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…
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…

738 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