azure-sql-database

USQL - How To Select All Rows Between Two String Rows in USQL

两盒软妹~` 提交于 2019-12-10 18:17:34
问题 Here is my complete task description: I have to extract data from multiple files using u-sql and output it into csv file. Every input file contains multiple reports based on some string rows ("START OF ..." and "END OF ..." working as report separator). Here is an example (data format) of a single source (input) file : START OF DAILY ACCOUNT some data 1 some data 2 some data 3 some data n END OF DAILY ACCOUNT START OF LEDGER BALANCE some data 1 some data 2 some data 3 some data 4 some data 5

Sql Azure - maxing DTU Percentage querying a 'empty table'

早过忘川 提交于 2019-12-10 18:16:58
问题 I have been having trouble with a database for the last month or so... (it was fine in November). (S0 Standard tier - not even the lowest tier.) - Fixed in update 5 Select statements are causing my database to throttle (timeout even). To makes sure it wasn't just a problem with my database, Ive: Copied the database... same problem on both (unless increasing the tier size). Deleted the database, and created the database again (blank database) from entity framework code-first The second one

Increase validity of Always Encrypted Certificate

主宰稳场 提交于 2019-12-10 18:06:37
问题 I am using SQL Server's Always Encrypted feature to encrypt a few columns in the database using a master key that is protected by a self-signed certificate. The certificate is created using SQL 2016's Management Studio and always defaults to an expiration date that is one year ahead of the issue date - it is stored in the Windows Certificate Store for the current user. Is it possible to extend the validity of this certificate to a value greater than a year? More specifically, can a

Backup and restore of Azure sql database using c#

你说的曾经没有我的故事 提交于 2019-12-10 17:27:03
问题 I want to take backup of Azure sql database to my local system and then restore that backup to Azure sql database in c#. Can any body helps me out?Is it possible to do so? 回答1: Azure SQL Database does not support creating .bak files on-demand. Azure SQL DB automatically backups up all databases using native backups to enable you to Point-in-Time restore your database to any point in time within the databases retention period. However, these backups are not exposed and cannot be copied to the

How to use PHP's dblib PDO driver with long usernames? / SQLSTATE[HY000] Name too long for LOGINREC field (severity 2)

眉间皱痕 提交于 2019-12-10 17:23:08
问题 I'm trying to connect to a Microsoft SQL Server / Microsoft Azure database with PHP's PDO: <?php // no actual login data, but similar string lengths $dbHost = 'aa1234bbb5.database.windows.net'; $dbUser = 'db_a1a1a1a1_b2b2_c3c3_d4d4_e5e5e5e5e5e5_ExternalWriter'; $dbPass = 'pPAs0wOoO1&r#dd'; $dbName = 'db_a1a1a1a1_b2b2_c3c3_d4d4_e5e5e5e5e5e5'; try { $pdo = new PDO("dblib:host=$dbHost:1433;dbname=$dbName", $dbUser, $dbPass); } catch (PDOException $e) { echo "Failed to get DB handle: " . $e-

pyodbc install on IBM Bluemix server error

我怕爱的太早我们不能终老 提交于 2019-12-10 17:17:26
问题 I am trying to host my app on IBM bluemix. In my app, I have used flask and I am trying to Connect to Azure SQL Server database. So for that, I am using Pyodbc. So in requirement.txt file I have given pip install pyodbc and pip install flask . These things are getting installed on my local machine and the app is running fine. I am getting the result from the database . But when I am trying to deploy my application on IBM bluemix, while pushing the files on the server it is giving me an error.

sending email from sql azure

孤街浪徒 提交于 2019-12-10 16:49:03
问题 Hey all, just quick question about sql azure. My App is running on windows azure and the database is on sql azure. Everything is working great. However, I would like to send email to a user, as soon as he\she became a member.I don't want to Use - third party service - send email from the code. Is there any way to send email by using a trigger and stored procedure? For example: run trigger after each updated for user table and trigger will run stored procedure. Thanks in advance . Matt 回答1: As

How to upgrade from V11 to V12 SQL Azure?

半城伤御伤魂 提交于 2019-12-10 16:25:50
问题 I am using V11 SQL Azure. At this stage I do not want to upgrade my existing SQL server which contains all my current QA and Production DBs. Logically it seems safer to create a new SQL Server setup for V12, then somehow copy/migrate the V11 DB instances from my V11 Sql Server to my new V12 SQL Server ie QA DBs to start with. I am aware of: V12 Upgrade article Is this possible and how? 回答1: The easiest way to do this would be to create a new V12 server and then export the databases and import

Any Azure Storage viewer available for Mac? [closed]

无人久伴 提交于 2019-12-10 16:04:58
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I want to be able to view my Azure Table storage account, tables, data, etc, from my MacBook. I haven't seen any applications or even sites that would allow me to do this. Is there any way I can do this without using a Virtual Machine? 回答1: The correct answer is use Microsoft's new tool: http://storageexplorer

How to encrypt data in SQL Azure?

[亡魂溺海] 提交于 2019-12-10 15:33:16
问题 My research does show me that we cannot use Transparent Data Encryption (TDE) in SQL Azure. In this regard, are they any options for encrypting data in SQL Azure. I do not want to have this Encrypt/Decrypt operations at application level. Thanks, 回答1: There is an in depth explanation about which kinds of encryption are and are not supported by SQL Azure on TechNet: http://technet.microsoft.com/en-us/magazine/hh351833.aspx SQL Azure does not currently support the standard data-encryption