azure-sql-database

Crystal reports connecting to Azure SQL database. The table x could not be found

好久不见. 提交于 2019-12-13 04:00:23
问题 I have a vb.net application which currently uses crystal reports for VS and connects to an SQL Server 2008 database. The application now needs to use an SQL Azure database but when connected to the SQL Azure database is raising the following error for all of my crystal reports: - The table '' could not be found. Error in file . The table could not be found. This error is being thrown by Crystal reports when the database connection is set. The stack trace is raised from my code but with the

Sqoop on HDInsight does not close JDBC connection properly?

倾然丶 夕夏残阳落幕 提交于 2019-12-13 03:52:16
问题 If I use Azure SQL or Azure MySQL as metastore for SQOOP jobs there seem to be a serious bug in Sqoop on HDInsight as it does not close connection properly for saved sqoop jobs. Here is a repo steps: Use Azure SQL or Azure MySQL as SQOOP metastore and create an incremental import saved SQOOP job and then run it at the very end to get an exception: ----------------ON AZURE SQL------------ 17/08/02 23:15:51 INFO tool.ImportTool: Updated data for job: FactOnlineSalesIncr 17/08/02 23:15:51 WARN

How to get SQL database connection compatible with DBI::dbGetQuery function when converting between R script and databricks R notebook?

爷,独闯天下 提交于 2019-12-13 03:48:38
问题 I have an R script that uses odbc::dbConnect to connect to an SQL database (some databases are Azure, some are on-premise but connected to the Azure VPNs via the company's network, though I don't have any understanding of the network infrastructure itself) and then uses DBI::dbGetQuery to run a series of fairly complicated SQL queries and store the results as R dataframes which can be manipulated and fed into my models. Because of insufficient memory on my local PC to run the script, I am

Dynamic Data Masks stopped working

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 03:36:39
问题 I had a test web page that used a restricted SQL user to query an Azure SQL DB to get data from masked fields. It returned the data and it was masked. I rejoiced. I changed the user with a button and voila! I could see the actual data. Then today, for some reason, it stopped working and I cried. I changed no code in between. I did however use the Azure portal to turn on auditing (can't image that affecting it). I thought TDE may conflict with DDM but I've read elsewhere that it doesn't - plus

SQL Server input trigger to azure trigger

别等时光非礼了梦想. 提交于 2019-12-13 03:21:49
问题 I just transferred one of my pages to a Windows Azure Account. Everything went smooth .. until I tried to create some data. My trigger, which worked fine with MSSQL2008 fails on azure - how could I fix this trigger: CREATE TRIGGER creator ON someTable FOR INSERT AS DECLARE @someTableID INT; SELECT @someTableID=(SELECT someTableID FROM INSERTED) INSERT INTO Preisgruppe ( Name, someTableID, UserPreisgruppe_ID ) VALUES ( 'Gast', @someTableID, 1) INSERT INTO Oeffnungszeit ( someTableID, Tag_ID,

Calculating helping columns on R script on azure machine learning, so they could be later added to tabular model

元气小坏坏 提交于 2019-12-13 03:14:03
问题 So I am creating flow for imorting data, so some aggragate columns could be uploaded to Azure Sql database and later on tabular model. Now I would to describe the flow, so someone could tell about it, pros and cons. At this stage of development the flow is: 1. User imports CSV file to my web service (in ASP.NET CORE 2.1) to Azure Sql database, for importing I am using Sql Bulk Library in .NET Core. The webservice and database will be located on the server in azure. Some of the data

Actual execution plan not updated after change in Azure SQL Database stored procedure

ε祈祈猫儿з 提交于 2019-12-13 03:13:18
问题 The actual execution plan for my Azure SQL Database stored procedure indicated the following warning: So I went and added a persisted calculated column in dbo.Interest_rate_changes like this: [Effective_date] AS (CONVERT([date],CONVERT([nchar](8),[Effective_date_int]),(112))) PERSISTED NOT NULL I then replaced all references to Interest_date_int in the stored procedure with references to Interest_date. I ran the query again but the same warning appeared in the actual execution plan, even

Harden the security between Azure Web Apps and Azure SQL Database

六眼飞鱼酱① 提交于 2019-12-13 03:06:31
问题 For security concerns I'm planning to not allow Azure services to communicate with Azure services but the services it is only working with. For example, I've some web apps that uses Azure SQL Databases. Should I only add the outbound IP addresses of Azure Web Apps in the Azure SQL server firewall? or I need to do something else? 回答1: The best way to lock down your SQL Database is with AAD Integration, and Managed Service Identities. Azure will provision an AAD identity for your application,

Using SQL dB column as a lock for concurrent operations in Entity Framework

跟風遠走 提交于 2019-12-13 02:57:44
问题 We have a long running user operation that is handled by a pool of worker processes. Data input and output is from Azure SQL. The master Azure SQL table structure columns are approximated to [UserId, col1, col2, ... , col N, beingProcessed, lastTimeProcessed ] beingProcessed is boolean and lastTimeProcessed is DateTime. The logic in every worker role is as shown below and with multiple workers processing (each with their own Entity Framework layer), in essence beingProcessed is being used a

Incorrect syntax near 'RDBMS'. When I try to create external data source, Anyone having the same issue?

喜欢而已 提交于 2019-12-13 02:35:57
问题 //I am using sql server 2017 CREATE EXTERNAL DATA SOURCE MyElasticDBQueryDataSrc WITH (TYPE = RDBMS, LOCATION = '<servername>.database.windows.net', DATABASE_NAME = 'db1', CREDENTIAL = ElasticDBQueryCred ) ; 回答1: I am using sql server 2017 RDBMS External Data Sources are currently only supported on Azure SQL Database. -- Elastic Database query only: a remote database on Azure SQL Database as data source -- (only on Azure SQL Database) CREATE EXTERNAL DATA SOURCE data_source_name WITH ( TYPE =