Upload a sql database to Azure - sql-server

Sorry about the newb question I'm new to Azure.
I've created a new (free) 20mb database in the azure portal which is fine. I'm trying to upload my website database using the 'Export to Azure' sql management studio function. However, instead syncing the DB over to the one I created in the portal it creates a new database. The new DB seems to support a minimum size of 100mb which is way to big for my requirements.
I would be grateful for any advise regarding the best way to proceed. I'm migrating the website in question to Azure, the database is quite small and basically I just need to copy it over and connect to it.
Thanks in advance.
William

You can use this tool to migrate data Microsoft data migrate assistant
You can download from here. it's very easy to use
https://www.microsoft.com/en-us/download/details.aspx?id=53595
there are some migrate mode you can use: ex from Sql to azure Sql like picture bellow
When migrate you can choose migrate schema and data and data only

There is a great tool in Visual Studio Community Edition (free) for comparing both schema and data between two databases on different servers. It can then update the target database with any changes after which you can switch over to use the Azure DB.

Related

Check Lists to be considered before migrating data from SQL Server to SharePoint

We have a requirement to migrate only data from SQL Server to SharePoint 2013.I wish to analyze the SQL server database details prior proceeding to migrate to SharePoint.So, can anyone guide me on what factors or what kind of information I need to gather from SQL serer to take those into consideration prior deciding to migrate to SP?
Please guide me on this.
Thanks in advance.
Could you please clear about what you meant by SQL server to SharePoint migration :-) - by the design, SharePoint maintains its back end data in SQL server - and the database name called as content database. So are you trying to migrate these content databases to some other SharePoint version or farm? If you are looking for this, please go thru the below article for basic tips and tricks in SharePoint migration project.
https://global-sharepoint.com/2019/10/13/basic-tips-and-tricks-in-sharepoint-migration-project/

Data entry for SQL Server database

I am looking for suggestions on a simple solution to build data entry forms that will save manually input records into a SQL Server database. Microsoft InfoPath is capable of this, but it has been deprecated in 2017.
What alternatives can I consider?
build a html/php web form.... That's a simple solution

Free SQL Server in Azure

I'm creating a MVC 5 web application with EF 6 Code first. Now it creates a database in the App_Data folder. I want to publish the website to an Azure website. Because this is only the test version of the website, I don't want to pay for it. It will only visited a couple of times a month until it is in production.
Is it possible to run the database something like an access database file? I thought that some kind of functionality existed. I thought the name was SQL Server Compact Edition? But how does it works?
I also thought that you could create a free 20MB sql server database. See this link of the pricing page. Search for 20 in your browser.
http://azure.microsoft.com/en-us/pricing/details/web-sites/
I don't see that option.
Any ideas would be welcome!
Yes, you just have to right click and include in your project.
I write an article for this in Chinese, and this is the English version I found.
Solution for free SQL Server in Azure:
Install two nuget: EntityFrame.SqlServerCompact & Microsoft SQL Server Compact Edition
Put SQL database file (.sdf/.mdf) in APP_Data folder
Put connection string like this to use it:
<add name ="DefaultConnection" connectionString ="Data Source=|DataDirectory|CompactDB.sdf" providerName ="System.Data.SqlServerCe.4.0" />
Publish full project include above SQL database file to AzureWebsites.
It work well and is totally free.
I found the 20Mb free SQL Server option. I still had a website in my subscription that was stopped. When I deleted that, no website or database was there in my subscription anymore. I then created a new website via the custom website option in the azure portal. I then could select (in the wizard) a free 20 MB SQL Server database.
I uploaded my MVC application and the Code First created my database automatically. I don't know why the option wasn't showing up before but now it works.
There's no free version of the SQL Database service. What you may have read is that there's a 1 year free 20MB MySQL database available.
When you're saying that a database it created in the App_Data folder, this uses SQL Server Compact (see Maresh's links) and that is free.
If you want to connect on premise database you need to setup azure virtual network. See the codeproject article
http://www.codeproject.com/Articles/261063/Azure-Virtual-Network-Connecting-Local-Database
there is some alternative way using azure service bus.
http://www.bradygaster.com/post/windowsazurewebsites-onprem-servicebus
Another option would be sql server compact edition.
http://msdn.microsoft.com/en-us/data/ff687142.aspx
see below link also
Support for SQL Server Compact 4.0 on Azure

Migrate Sharepoint 2007 and database from two separate servers to one physical server

I'm looking for any advice on the best way to migrate a SharePoint 2007 installation and a database. The current setup is a server running SharePoint 2007 with the database stored on a separate SQL Server installation. Due to performance issues we are planning to move the SharePoint application to another server and also move the database onto the same physical server and run it using SQL Server 2005 Express.
Has anyone done this type of migration before and could they recommend the best way to carry this out or if it is even possible. Migrating the SharePoint installation from one physical server to another seems fairly straight forward using stsadm.exe. Can anyone advise the best way to move the database from an SQL Server to SQL Server Express so that the SharePoint installation will be able to see it?
I highly suggest using Tzunami's tools and products for SharePoint migration. Their site provides various demo videos and other information regarding content migration. They give user-friendly instructions, making the process quick and easy!
Their products are listed on the site- check them out at http://www.tzunami.com/products/Product-Overview.
Hope this helps!

Browsing an Entity Framework code-first database + Azure Dev Fabric

I have a database created using the code-first approach against SQL Server Express. I'm trying to view the database in Management Studio, but cannot find the database. VS Database Explorer also cannot seem to find it.
I've searched about but cannot find any reference to what I'm after. Is it possible to browse a database running in the dev fabric?
Usually if we create a new database in Visual Studio, it will give us a database file, but it won’t register the database in SQL Server Management Studio. So please manually attach the database file to SQL Server Management Studio. First please find the database file, normally it is under the AppData folder of our project. Then I would like to suggest you to check http://msdn.microsoft.com/en-us/library/ms190209.aspx for instructions on how to attach the database.
Best Regards,
Ming Xu.
Take a look at Scott Gu's blog post on EF Code First and DB Generation: http://weblogs.asp.net/scottgu/archive/2010/07/16/code-first-development-with-entity-framework-4.aspx
The Azure Dev Fabric has nothing to do with the DB layer, the connection string handles all this for you i.e. when you deploy to SQL Azure your DB will go there, the only thing that needs changed is the connection string...from localhost (Dev Machine) to SQL Azure connectionn string
HTH

Resources