Windows store apps - windows-store-apps

What database can we use to store windows app data dynamically? We are using SQLITE as localDB then when we are wokring with the windows store app dynamically then what database server can we use.?

There are many choices such as Oracle MySQL or MS SQL Server, both of which are commonly used. And you can choose one according to your actual needs.
For Oracle MySQL : https://blogs.oracle.com/mysql/how-to:-using-mysql-connectornet-with-windows-store-apps
For MS SQL Server : https://code.msdn.microsoft.com/How-to-access-data-from-935e360c

Related

Using SSRS Reports with MySQL

Currently I am using SSRS reports with MSSQL. Now I am changing my database from MSSQL to MySQL for cloud migration. On cloud I wont be having MSSQL installed. So is it possible to use SSRS reports(with MySQL datasource) without having MSSQL installed ?
Thanks in advance.
It is possible to use and ODBC Data Source in SSRS, I believe this is not allowed when using SQL Server Express.
Another option which requires SQL Server but is available on Express is to use the add linked server stored procedure. SSRS will obtain data from your SQL Server database, which you can setup to access your MySQL linked server.

MySQL integration with MS Access

I shall need to integrate MySQL 5.7 with MS Access (2007 and above) in two ways, so I send data from MySQL to MS Access and accept data from MS Access. This is a recurring task, so I shall need to set an automated routine to do so. Any ready to use tools or procedures?
Install the ODBC driver for MySQL and link the tables you wish to "integrate".

Create MySQL database from .mdf and .ldf files from SQL Server 2008

I have some .mdf and .ldf files of database size greater than 10 GB with me.
I want to create a MySQL database using the same.
Is there any provision in MySQL to do it?
Please consider that MySQL and SQL Server 2008 can not be installed on the same machine (or even the same network) in my current setup.
I don't have enterprise edition of SQL Server management studio in our network and will not be able to install it.
Is there any other elegant way to export data from SQL Server 2008 and import it in MySQL?
I don't think it is possible without attaching.
If you find a way how to attach it, you can use some specific migrating tools like this.
Some tools allow to create database specific queries from another solution, that need to be only executed on your side.
The MDF and LDF files belong to Microsoft SQL Server and use Microsoft's own binary format, so you cannot connect these files to other database management systems. The only approach I can think of, is to script out the database code and data from the SQL Server database to a text file (.sql file), and import this file into MySQL.

What is the purpose of an ODBC driver when connecting to a MySQL server?

I've been wondering what are the benefits of using an ODBC driver to interface with a MySQL server? What advantage does that have over directly connecting to the server via TCP and firing off your SQL commands directly?
I'm working with a code base written in labVIEW that references a UDL file which references a data source and its associated ODBC driver to handle the connection to the server. I'm not yet convinced its necessary. I can see the benefit of using a driver if you are connecting to Microsoft Access or excel but if your recipient is an SQL server of some type why would you need a middle man to handle your SQL commands?
I have used the ODBC driver 3.51 for connecting to MySQL Community Server 5.1 for some time now. The ODBC driver allows you (on a Windows computer) to add your MySQL connection to the ODBC data sources list. Now you can reference this data source in many compatible applications. I have been able to use this ODBC connection in VB.Net applications as well as proprietary applications for printing and other functions with ODBC functionality.
I would say that when coding web or python applications i always use the built in MySQL packages, but if you need to access your data through VB.Net or another proprietary application (like a stand-alone windows app) you probably need to set up a system ODBC data source to access your database. To me the ODBC lets Windows access MySQL easily. Without Windows i don't think you need it.
Why ODBC and not JDBC? Some reasons come to mind in order of helpfulness when using JDBC:
Standard api to access the results from a query. To iterate over the results and to get the actual values with the appropriate type.
No need to know how the protocol works to connect to the server. Just use the host, user, password, send the SQL and iterate over the result.
Abstract out the connection to the database. Changing the database should be simpler.
Standard way to commit and rollback for transaction based changes.
In my experience, JDBC is very verbose. You need to write many lines to accomplish simple things. I've found the Spring JDBCTemplate wrapper to be an extremely easy to use alternative for simple stuff.

How to connect to SQL through C?

I am making a project in C and I need database access. How would you connect to and access a database in the C language? I am using MySQL currently.
There are many solutions, depending on which database you are using and which OS you are using. One solution that will provide broad access to an array of combinations would be ODBC. You would connect to the database with a function like SQLConnect and use the other API functions to do your queries.
The links are windows specific, but you should be able to find analogs for whatever OS you will be using on your client side.
Depending on why you actually need to use a database (you didn't say) you could start using SQLite to develop your application.
Once you have it working and you have decided on which server you want to use (MySQL, MS SQL Server, Oracle, etc.) you can then read the documentation on creating a connection specific to that database server.