azure-sql-database

Azure storage for files in specific folder structure

[亡魂溺海] 提交于 2021-02-10 12:35:25
问题 Currently i have some ftp where on it i have some deep structure of folders and files within it. It could be even 10 levels down from root folder. As i migrated already with success my local database to azure database, i wonder also whether is there any azure ftp i could use to migrate this as well. I know we have something like Azure storage and i could create Container for it of type File or Blobs - are one of those could be used like particural ftp - could i create folder structure there

Cross database queries.How to proper use cross database features?

萝らか妹 提交于 2021-02-10 09:42:21
问题 I am investigating the possibility to split one DB into multiple. We decided to move some tables into another database, but we have queries with join on these tables. I found a few solutions about how to achieve that: Azure SQL Database elastic query EXTERNAL DATA SOURCE But I don`t know what the difference between them and what to choose. Thanks for any help! 回答1: Azure SQL Database Elastic Queries and External data sources are two names for the same concept. My suggestion is to avoid cross

Is it possible to use Azure AD on Ubuntu for connecting to Azure SQL using sqlalchemy and Python?

我只是一个虾纸丫 提交于 2021-02-08 11:33:55
问题 Is it possible to use Azure AD on Ubuntu for connecting to Azure SQL? That is, it is possible to use trusted_connection=True in sqlalchemy in Python? # Creating engine engine = sqlalchemy.create_engine('mssql://*server_name*/*database_name*?trusted_connection=yes') On Azure you can create a linux VM with a managed identity which allows you to connect to Azure services using Azure AD. In their documentation I can find examples of how to connect to various Azure services using this, however, I

Sqlalchemy - Connecting to Microsoft Azure - Active directory Password

安稳与你 提交于 2021-02-08 10:24:09
问题 I was connecting to MS SQL with sqlalchemy using bwlow code and now it has been migrated to azure cloud. I tried the chaging the values code but i think its not the proper way to connect ActiveDirectoryPassword import sqlalchemy from sqlalchemy import event, create_engine # OLD connection string engine = sqlalchemy.create_engine("mssql+pyodbc://" + "username" + ":" + "passkey" + "@" + "server" + "/" + "Database" + "?driver=SQL+Server" @event.listens_for(engine, 'before_cursor_execute') def

Failure to CREATE TABLE in SQL Azure database using SMO

…衆ロ難τιáo~ 提交于 2021-02-08 08:16:50
问题 Since USE [dbname] is not supported in SQL Azure, I'm trying to connect to my SQL Azure database by specifying the database name in the connection string and then executing CREATE TABLE... script. However, this fails with System.Data.SqlClient.SqlException "CREATE TABLE permission denied in database 'master'." What am I doing wrong here that it is trying to execute this statement against master? Here is a sample C# code: string connectionString = @"Data Source=tcp:MYSERVER.database.windows

Databricks JDBC Integrated Security

两盒软妹~` 提交于 2021-02-08 06:29:34
问题 Help :) I need to connect from my Azure databricks cluster to a SQL Azure instance using my Azure AD credentials. I have tested and I can connect to the target database using SSMS (SQL Server Management Studio) through my Azure AD credentials so that works fine. Firewall connectivity is fine. I have been able to temporarily test with a SQL username and password and this works fine, but that is about to be taken away from me. However, connecting through databricks I get: om.microsoft.sqlserver

Does/Will Entity Framework 6 support the new Sql Azure & Azure Active Directory Authentication

坚强是说给别人听的谎言 提交于 2021-02-07 20:43:34
问题 Does EF 6 support this method for authentication and if so what is the installation process and nuget packages to make it work? https://azure.microsoft.com/en-us/documentation/articles/sql-database-aad-authentication/ 回答1: It looks like EF6 will support this without any changes, as it "only" requires .Net 4.6, the Microsoft Active Directory Authentication Library for Microsoft SQL Server and a special connection string key, either: Authentication=Active Directory Integrated; Or Authentication

MultiShardQuery on SQL Azure Elastic Scale with Entity Framework

喜你入骨 提交于 2021-02-07 20:10:24
问题 I am new in Azure and I am trying to implement multishard query using Elastic Scale and Entity Framework. Unfortunately I am not able to find any example solutions or good practises to achieve that target. Can anyone help me in this issue? I would be very grateful for some materials to study or hints. Thank you in advance. 回答1: Thanks for your question on multi-shard queries with Elastic Scale and EF. Currently, a straight-forward integration like the one you probably saw for data-dependent

MultiShardQuery on SQL Azure Elastic Scale with Entity Framework

牧云@^-^@ 提交于 2021-02-07 20:03:43
问题 I am new in Azure and I am trying to implement multishard query using Elastic Scale and Entity Framework. Unfortunately I am not able to find any example solutions or good practises to achieve that target. Can anyone help me in this issue? I would be very grateful for some materials to study or hints. Thank you in advance. 回答1: Thanks for your question on multi-shard queries with Elastic Scale and EF. Currently, a straight-forward integration like the one you probably saw for data-dependent

Parallel Bulk Inserting with SqlBulkCopy and Azure

馋奶兔 提交于 2021-02-07 06:42:25
问题 I have an azure app on the cloud with a sql azure database. I have a worker role which needs to do parsing+processing on a file (up to ~30 million rows) so i can't directly use BCP or SSIS. I'm currently using SqlBulkCopy, however this seems too slow as I've seen load times of up to 4-5 minutes for 400k rows. I want to run my bulk inserts in parallel; however reading through the articles on importing data in parallel/controlling lock behaviour, it says that SqlBulkCopy requires that the table