Solved

Auditing in Azure SQL Database

Posted on 2016-11-23
3
76 Views
Last Modified: 2016-11-24
hi experts

i am reading about Auditing in Azure SQL Database in
https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-auditing-get-started

what's the mean?:
Plain SQL ?
Parameterized SQL ?
Transaction Management?

this complete text:
Only database events may be audited (success and/or failure):
.Plain SQL
.Parameterized SQL
.Stored Procedure
.Login
.Transaction Management
0
Comment
Question by:enrique_aeo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Assisted Solution

by:Jason clark
Jason clark earned 125 total points
ID: 41900102
Parameterized SQL in this place holder are used for place holder and parameter value is passed at the time of execution.
Transaction Management means assuring the data integrity and consistency.
Plain SQL are the simple code used when there is a situation your self written code is not supported at higher level abstraction. Here, prefer Plain SQL query instead of going to low level.
0
 
LVL 28

Assisted Solution

by:Pawan Kumar
Pawan Kumar earned 125 total points
ID: 41900104
Try..

.Plain SQL -- Simple SQL Query without parameters and variables
.Parameterized SQL - SQL Query with parameter. Parameters will be passed at the run time when you execute it.
.Stored Procedure - It is an object with multiple SQL statements.
.Transaction Management - Transaction management - maintain the ACID properties of a transaction.

For details ACID properties - https://msdn.microsoft.com/en-in/library/aa480356.aspx
0
 
LVL 49

Accepted Solution

by:
Vitor Montalvão earned 250 total points
ID: 41900212
Only database events may be audited (success and/or failure):
Plain SQL - Will audit all T-SQL commands that aren't parameterized (e.g. SELECT id, name FROM MyTableName WHERE active = 1)
Parameterized SQL - Will audit all T-SQL commands that are parameterized, i.e. where it has the existence of variables (e.g. SELECT id, name FROM MyTableName WHERE active = @Active)
Stored Procedure -  - Will audit all call of Stored Procedures (e.g. EXEC sp_mySpName)
Login -  - Will audit all logins into the database (e.g. User 'abc' logged in at 11-11-2016 10:30:22)
Transaction Management  - Will audit all transactions blocks (e.g. BEGIN TRANSACTION .. END TRANSACTION)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
date diff with Fiscal Calendar 4 75
Master DB with Masterkey 1 37
Need help with a Stored Proc on Sql Server 2012 4 35
SQL trigger 5 32
There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question