azure-sql-database

Delete azure sql database rows from azure databricks

梦想与她 提交于 2019-12-23 04:54:09
问题 I have a table in Azure SQL database from which I want to either delete selected rows based on some criteria or entire table from Azure Databricks. Currently I am using the truncate property of JDBC to truncate the entire table without dropping it and then re-write it with new dataframe. df.write \ .option('user', jdbcUsername) \ .option('password', jdbcPassword) \ .jdbc('<connection_string>', '<table_name>', mode = 'overwrite', properties = {'truncate' : 'true'} ) But going forward I don't

Azure function to connect to both blob and sql storage

这一生的挚爱 提交于 2019-12-23 04:14:08
问题 I have what I thought would be a perfect introduction test case for Azure functions. We have a SQL store in Azure (SQL database). Using C#, VS 2017, updated Azure workflow items. We also have a Blob storage. Each night I need a process to go to the SQL database, collect a group of records based on a criteria and then process them generating a file that will be stored in the blob storage. I cannot seem to get over the hump of getting either of these tasks done. All of the tutorials seem to be

Can you create a SQL Azure BACPAC from a Remote C# Application

送分小仙女□ 提交于 2019-12-23 03:57:05
问题 I'm working on a tool to allow backup and restore of SQL Azure databases between various local & azure environments. I have a working version where the BACPAC is created and directly streamed to my Local Developer machine. But I haven't been able to find a way to create the bacpac and store it directly in Blob Storage using a remote client. Any of the examples I've seen either Stream the backup to the local PC, and then re-upload it to Blob Storage OR Rely on having a worker role deployed on

Can you create a SQL Azure BACPAC from a Remote C# Application

回眸只為那壹抹淺笑 提交于 2019-12-23 03:57:05
问题 I'm working on a tool to allow backup and restore of SQL Azure databases between various local & azure environments. I have a working version where the BACPAC is created and directly streamed to my Local Developer machine. But I haven't been able to find a way to create the bacpac and store it directly in Blob Storage using a remote client. Any of the examples I've seen either Stream the backup to the local PC, and then re-upload it to Blob Storage OR Rely on having a worker role deployed on

SQL connection pooling in Azure Functions

情到浓时终转凉″ 提交于 2019-12-23 01:51:11
问题 In traditional webservers you would have a SQL connection pool and persistent connection to the database. But I am thinking of creating my entire application as Azure Functions. Will the functions create a new connection the SQL server everytime its called upon? 回答1: Azure Functions doesn't currently have SQL as an option for an input or output binding, so you'd need to use the SqlClient classes directly to make your connections and issue your queries. As long as you follow best practices of

Publish ASP.NET MVC 5 website to Windows Azure

蓝咒 提交于 2019-12-23 01:13:58
问题 I have recently changed by asp.net MVC app to use MVC 5. It also uses entity framework 6. I have published to Azure Website numerous times in the past, but never with two code first migration configurations. I think this is my problem but I don't know how to fix it. I have two DbContext classes. One for my domain models and the other for the Identity models. On my local development machine this has caused me no issues. I also have a seed method in the Identity configuration class to create a

Azure SQL Database sometimes unreachable from Azure Websites

雨燕双飞 提交于 2019-12-22 17:11:13
问题 I have a asp.net application deployed to Azure websites connecting to Azure SQL Database. This has been working fine for the last year, but last weekend I have started getting errors connecting to the database giving the following stacktrace. [Win32Exception (0x80004005): Access is denied] [SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name

Implement search in Azure SQL

断了今生、忘了曾经 提交于 2019-12-22 14:52:07
问题 I'm moving an .NET application to Azure since the amount of data stored is getting bigger and the concurrent users is increasing. To be able to search I need a robust solution to search the SQL which scales. I need to return matching orders when searching (in one single field, google style). The data is stored in a few columns in these related tables: Orders, Customers and Addresses. I've read that fulltext search isn't available in Azure so I've looked att Lucene but got a bit worried about

Exceed 3 hours timeout Automation Runbook Azure

半城伤御伤魂 提交于 2019-12-22 10:46:02
问题 Hello guys, I have a runbook to launch but it takes more than 3 hours to run (process of partitions) and so, it stops before being complete. I wanted to know if there is a way to exceed the 3 hours limitation. I've heared about hybrid runbooks but I'm not sure how it could solve my problem. Do you know if there is other solutions ? Thanks a lot. 回答1: If you want to stick to Azure Automation, you can use Checkpoints : Azure Automation has a feature called “fairshare”, where any runbook that

SQL Server Integration Services are missing in SQL Server 2014 installation

a 夏天 提交于 2019-12-22 10:38:20
问题 I am trying to install SQL Server 2014 with Integration Services. Here is the download link I used to download with tools. File Name : SQLEXPRWT_x64_ENU But when I proceed to feature selection Integration Services is missing ? What am i doing wrong ? Any help would be great. Update For future readers, Actually Integration Services is not available on sql azure as said by @Nick.McDermaid , and i was trying to export sql query results to excel. I have to try some other options for sql azure.