how to import mssql database in Mysql [duplicate] - database

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a SQL Server database with lots of data and an empty MySQL database. Now I want to copy all data of SQL Server database (including the database schema) to the MySQL database.
I thought about using raw SQL dump, but SQL Server's SQL syntax is not same as MySQL.
And I have googled some database migration tool, such as south (only for django), simple-db-migration (only for one type of database, maybe PostreSQL?) and SQLAlchemy (I haven't finished learning it, just feeling it somewhat clunky).
What tool can I use to do this migration?

I'm usually using opendbcopy for these kind of jobs ...

I tried this tool once http://dbconvert.com/convert-mssql-to-mysql-pro.php , but you have to pay for the full version. Of course you can write your own migration script e.g. in PHP. On Windows it will be easy to connect to MSSQL server, from a Linux machine you have to use ODBC and that is sometimes a bit messy to install and configure.

Related

How to migrate a SQL Server database on my computer to AWS RDS? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 2 years ago.
Improve this question
I have a SQL Server Express database on my machine that I want to migrate to an AWS RDS instance. I don't know how to do that or where to start from. Any idea would be really appreciated! Thank you
There are a few directions you could take to migrate your database across.
One approach is the simple backup export and import approach:
Export a backup of your SQL Server Express DB
Create an S3 bucket in the same region as your RDS instance.
Use the native SQL Server msdb.dbo.rds_restore_database procedure on your RDS.
There is a lot of information available regarding this solution that AWS has detailed in this article. This solution should be the easiest for you with the least overhead.
Other solutions that people have used are:
Database Migration Service.
Data Pipeline.
These are great solutions, but if you're just trying to perform a one time export of a DB on your PC the first solution has the least moving parts and configuration.

Most straightforward way to consolidate data from multiple different RDBMS systems into a queryable database [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have few tables that I have to sync between 3 different RDBMS systems (PostgreSQL databases, a SQL Server and a Firebird Database).
Currently I simply connect to my Firebird database and pull the few relevant tables to my PostgreSQL database, but as databases change, new tables require querying and with the addition of a SQL Server database to the mix I feel this solution is ill fitting.
I've done some research on BI tools , but I still need to query data from this data source and show them inside a Windows Forms application.
PS: it's not a migration and I only need to query the data from these "satellite" databases
Using PostgreSQL as your hub, you can use Foreign Data Wrappers to reach out to the other two databases whenever a query wants their data. Then it will always be up to date, but performance might suffer compared to actually importing the data. For reaching SQL Server, you can use tds_fdw, and for firebird you can use firebird_fdw. I have never used either one of these, so this is just a starting point.
You could probably pick SQL Server as your hub and accomplish the same thing, it calls them "linked servers" rather than Foreign Data Wrappers, see for example.

Can Python script be used as data source in SSAS Project? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I can select Python script as a new data source in Power BI, but I haven't found similar option to import data for my Analysis Services Tabular Project in Visual Studio. Can anyone give me a hint?
Here's a little bit more detail about my question. When we want to import new data for analysis to Power BI Desktop we can select from many other sources 'Python script', input python code and get a required dataset as a table for creating model. Good idea, but it's not quite convenient to access this model from Excel. So I decided to deploy my model to SQL Server Analysis Services. Having started new SSAS Tabular Project in Visual Studio, I discovered that there is no such possibility to import data in my model using python script, as I am used to in Power BI Desktop. I'm not so proficient in VS and hoped there might be some "tricks" to solve the problem. That's what my question was about.
Thanks to David I see now that only possibility to execute python code on SQL Server is to embed it into SQL statement. I installed ML Services, wrote a couple of procedures and everything works fine now.
Analysis Services 2017 doesn't support Python data sources. You can use a SQL Server instance (possibly installed on the same server) to host the Python code with Machine Learning Services.

What are features which make Oracle and SQL Server database an ORDBMS? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I don't have much idea about ORDBMS features. However, I read somewhere that Oracle and SQL Server are ORDBMS. Can any one guide/tell me to know the exact differences (for Oracle and SQL Server) compare to any other non-ORDBMS (RDBMS) database?
RDBMS stands for Relational Database Management System and this is the basis for SQL, and for all modern database systems like MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access.
A Relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model.
In opposite to that an ORDBMS is an RDBMS that implements object-oriented features such as user-defined types, inheritance, and polymorphism.
Concrete examples might show what it is all about like this example in Oracle documenation.

SQL Server Documentation Generator Tool [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm working on a large SQL Server database with no documentation. Is there a good, preferably free, documentation generator tool I can use to get my head around it.
One tool that I'm using more and more to do this sort of thing is LinqPad (www.linqpad.net). This is far more than just a Linq tool. It is very good at allowing you to drill down through table relationships, as long as FK's are properly in place. This tool is free.
On the non-free side, we also use Red-Gates SQL Doc (http://www.red-gate.com/products/sql-development/sql-doc/). Excellent tool.
You might want to have a look at my new (non-free, sorry) tool - LiveDoco - it's a web app that can be installed on an intranet IIS or even on a local IIS server and then you can just use your favorite browser to connect to a SQL Server database and see its structure/metadata, edit object descriptions or even search in DB object names (tables, columns, functions and their parameters etc.) and in the extended properties where the descriptions are usually stored (under “MS_Description”). And finally there is an export feature you can use to export all extended properties to a SQL file that you can run on a different DB of the same/similar structure to import/update your descriptions/notes there.
There is a fully functional (but read-only) online demo at http://www.livedoco.com.
This link will take you directly to the Person.Contact.ContactID column in the AdventureWorks sample DB from MS: http://demo.livedoco.com/livedoco/Explorer?Server=(local)%5Csql2k8xpress&Database=AdventureWorks#/?L0Name=Person&L1Name=Contact&L2Name=COLUMN_ContactID

Resources