Easiest method to export MS SQL SERVER database to MySql Database - c#

I have a .Net console application that extracts data from webapi and fill 5 tables on a MS SQL Server database.
Now I have to export these tables to a MySql Database.
How can I do that in an easy way?
The Console Application is coded with Visual Studio 2015 (C#).
Is it possible to use LinqToSql on a MySql Database ?
Or is it possible to use MySql as Destination Server on Microsoft Integration Service ?
Thanks

I Solved the problem by editing the .Net Console application in order to implement a loop-insert in MySql Database using MySql.Data.MySqlClient.
It is not fast for big data loading but it works properly.

Related

MSSQL to MySQL migration slowdown .NET WinFrm application performance

I have developed a .net based desktop application (WinFrm) using C# and MS SQL Server. I have used Typed DataSets with Stored Procedures to connect MSSQL database. Now i have migrated MSSQL database to MySQL database as per client requirements. But i find it too slow (While uploading excel files, and normal select operations over remote connection). I have used MySQL Installer 5.6.13 for Windows that includes MySQL Workbench, and i have migrated MSSQL database using MySQL Workbench. Do i need to change any thing else in the code to speedup its performance with MySQL?
Note:- MySQL Workbench is installed on Microsoft Windows Server 2008R2 and application accessing it remotely.

The best way to deploy a demo version of a software product using SQL Server database

We are trying to deploy a demo version of a program, which uses a relational database.
However, we have an issue:
If we use SQL Server Express as a backend database server, then clients have to download the SQL Server Express install file, which is huge and not desirable.
So my question is: Is there any alternative way of deploying the demo database, and then get the application running at the client's side without SQL Server?
Thanks in advance.
Use SQL Server CE, it's only 1 dll (that you can distribute together with your application) and you can have your DB as a file.
Use Access.Access is a local light weight database.

Create SQL Server database in Visual Studio for a Winforms app

I need in education to do win-forms app, recently I done project on asp.net, there I created without any problem new SQL Server database and send it to SQL Server, and added it to project.
But how can I do this using simple windows forms? Are there any good tutorials? (also I need something like db designer).
On asp.net mvc I use linq... But couldn't find good tutorial for create, send and attach SQL Server database on winforms.
I do this with .net 4.0 and SQL Server 2008 and Microsoft Visual Studio 2010
You can use Entity Framework Code First to design your db and then call Database.SetInitializer to create the database. Take a look at this article Understanding Database Initializers in Entity Framework Code First

Web application development using MS Access

I have a problem with access database. I am developing a web application in visual studio 2010 using C#. I was using sql server 2005 as my database. Recently it is changed into Access. When I am trying to save some data to the Access database from my application it won't work. But when I am trying to do the same from Access itself it works correctly. What is the problem and what will I do for rectifying this problem.
There is some difference with query in ms-access.Like if you have to query with date column then you have to use #+date+# instead of '+date+'

How can I convert a program currently using an Access database to use Microsoft SQL Server?

I have a Windows application written in C# that works with an Access database file.
Furthermore, I use some DataSets in my project that work with this Access database.
Arising from this, I have two questions:
How can I convert the Access database file into an SQL Server database, and
How can I convert the project code (using Access DataSets) to work with the SQL Server database?
I believe that MS-Access has an "export to SQL" functionality somewhere.
simple google reveals details here and here
Try SQL Server Migration Assistant for Access from the link below.
http://www.microsoft.com/downloads/details.aspx?FamilyID=d842f8b4-c914-4ac7-b2f3-d25fff4e24fb&displaylang=en
and for SQL Server Migration Assistant 2008 for Access
http://www.microsoft.com/downloads/details.aspx?FamilyID=133b59c2-c89c-4641-bebb-6d04476ec1ba&DisplayLang=en
you can import database from access db to sql server. for this you can make a new db in sql server, then press right click in db name, after that from showed menu, go like below:
Tasks->Import Data
use Microsoft Access as data source.
this is the best way.
Have you tried using the inbuilt upsizing wizard in MS Access? Under Access 2007 its under the Database Tools tab | SQL Server.
From the description: "The Upsizing wizard allows you to easily upsize your Microsoft Access Database to a Microsoft SQL server database"

Categories

Resources