Solved

Auditing in Azure SQL Database

Posted on 2016-11-23
3
27 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
3 Comments
 
LVL 7

Assisted Solution

by:Jason clark
Jason clark earned 125 total points
Comment Utility
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 17

Assisted Solution

by:Pawan Kumar Khowal
Pawan Kumar Khowal earned 125 total points
Comment Utility
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 45

Accepted Solution

by:
Vitor Montalvão earned 250 total points
Comment Utility
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 Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

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…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now