Migrate from Azure SQL back to Access - sql

I have a SQL database in Azure. Is there any way of downloading the SQL database in .mdb format?

Is there any way of downloading the SQL database in .mdb format?
Not directly in .mdb format but what you can do is export the database in BACPAC format and save this file in Blob Storage. Once the file is there, you can download this file. You can find more information about this here: https://learn.microsoft.com/en-us/azure/sql-database/sql-database-export. If you're doing this from Azure Portal, please read this: https://learn.microsoft.com/en-us/azure/sql-database/sql-database-export-portal
Next step would be to create a local database using this BACPAC file. Please see this link on instructions on how to import a BACPAC File to create a new user database: https://msdn.microsoft.com/en-IN/library/hh710052.aspx.
Last step would be to export this database and import it in Access. You can make use of SQL Server Import/Export Wizard to do so. Please see this link for more details: https://technet.microsoft.com/en-us/library/ms141209.aspx.

Related

Importing a Azure SQL DB

I am facing a weird issue, can someone please help with this. I have a .bacpac file on the Blob storage, the bacpac file size is around 800 MB. This file was created by doing an export from one of the SQL DB on Azure which is of 4 GB.
While I am trying to import the .bacpac file, only the DB schema is created in the new database, data in the tables is missing. Can someone please suggest with this.
Many thanks
Create a New Database by Importing BACPAC File
Log on to the Azure Management Portal.
Click New > Data Services > SQL Database > Import. ...
Click the folder under BACPAC URL to navigate to the Storage Account, Container, and file name of the exported .bacpac file. ...
Specify a name for the new SQL database.
This works perfectly without any issues.

Export database from SQL Server Management Studio

I've managed to 'Restore' my database using the SQL Server Management Studio.
I now need to export that so I can import it into my websites empty database.
I've tried Tasks/Generate Scripts but I can't import the file it generates into my database on my site.
I get the following error message:
Could not find stored procedure 'xxx'
I've also tried to Export Data but I don't appear to get a result at the end of the process. Possibly because I'm using the free version of the software?
Are there any other ways to export this data into a .sql file so I can import it?
I'm just moving a site from one server to another - it shouldn't be this difficult!
Any help would be really appreciated!
Try the Microsoft SQL Server Database Publishing Wizard. Available at:
http://www.microsoft.com/en-us/download/details.aspx?id=5498
Use the generated .SQL file with these steps:
http://www.123-reg.co.uk/support/answers/Databases/Windows-MSSQL/how-do-i-import-export-a-mssql-database-793/
I don't know if you've managed to resolve this but I have found that the SQL file saved from SSMS is in Unicode format and the 123-Reg website is expecting plain text. This is what's causing the "Could not find stored procedure..." error message.
Instead of saving the file, copy and paste the text from SSMS into Notepad, then save that. The file should then upload correctly into the remote database.

How can I import a csv file into the google cloud sql service (opposed to importing a sql dump)

How can I import csv files into the google cloud sql service (opposed to importing a sql dump)?
Can I in some way use the squirrel client?
Thanks
I just started using Google Cloud SQL. I connected to my instance with the MySQL Workbench. I created my first table, but then I wanted to import a CSV file into that table, and it was not clear on how to do that from MySQL Workbench. So, here are the steps to do this (thanks Aimon Bustardo):
Convert your CSV file to a SQL file using this site (there are other options to convert to SQL, but this is an easy service): http://csv2sql.com/
From MySQL Workbench Navigator for the MySQL instance, click "Data Import/Restore"
Click "Import from Self-Contained File" and then select the SQL file created in Step 1.
Click "Start Import" and your data is uploaded to the Cloud!
Converting it to SQL is your best be until they have a csv importer. There are command line utilities or online services. One of which that is free: http://csv2sql.com/

How to generate .csv file in SQL Server 2008R2 for data of tables

I have my database and tables with data.
I have created tables on server but now I want to import data on server so how to generate .csv file for that.
Your question is not clear.
From my understanding; you want to migrate data created on one server to another. To do this simply, use the export wizard that comes with Sql Server. See the following article that walks you through this process - http://msdn.microsoft.com/en-us/library/ms140052.aspx
Import and export wizard of the sql server is your answer, better answer is to make a backup of you localhost database and restore it on server database, fire some script to transfer the data from the restored database to your server database. Drop the restored database.

Import .sql file in Access

I need to import to Access a .sql database backup file created with MySql .
Is there a way to perform this operation?
You can't restore a MySQL backup into any other database system.
If you want to import the MySQL data into Access, you could export it all into CSV files and import those to Access. You will still need to recreate relationships, defaults, indexes (?) and other data.
You can import SQL Server data into a new Access table. In general, importing is a way to convert data from a different format and copy it into Access. The source table or file is not altered in this process. You can import directly from a SQL Server database using an ODBC connection, a text file exported from SQL Server, or an XML file exported from SQL Server.
To make frequent import operations more convenient, you can automate them by creating a macro or creating a Microsoft Visual Basic for Applications (VBA) procedure. This is useful, for example, when you import data on a regular schedule or you have unusual or complex requirements for importing data.
if you use SQL Server Management studio then you can open the .SQL files and it will give you help in figuring out what syntax works in SQL -- and which doesn't.
For example, if you have a table name that is mis-spelled, SQL Server Management Studio will give you red squigglies under that table name.
I don't see that functionality in Access, and I don't think that it's coming any time soon. Access (Jet) hasn't gotten any new features in almost fifteen years.