This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQLCMD to Build Comma Separated String.

SQL SERVER – SQLCMD to Build Comma Separated String

November 19, 2014
Pinal Dave
SQL Tips and Tricks
sqlcmd

A trick from Balmukund and Vinod at SQLBangalore: use SQLCMD to export a table’s data as a comma separated string. Here is how it works.

Read More
SQL Server Management Studio.

SQL SERVER – Restricting Access to Contained Databases using Logon Triggers

November 18, 2014
Pinal Dave
SQL Tips and Tricks
SQL Trigger

Restricting access to contained databases: a DBA friend wanted to limit which users can connect, and logon triggers can do that. Here is how.

Read More
Audit location tool window.

SQL SERVER – How to Chang Audit Location?

November 17, 2014
Pinal Dave
SQL Tips and Tricks
SQL Audit

SQL Server auditing is a hidden gem. Learn how to change the audit location after it is created, for example when a network share fails.

Read More
SQL SERVER - Fix - Msg 230, Level 14, State 1 - The SELECT permission was denied on the column of the object , database , schema

SQL SERVER – Fix – Msg 230, Level 14, State 1 – The SELECT permission was denied on the column of the object , database , schema

November 16, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Hide a sensitive column like SSN with GRANT and DENY, and users who query it get Msg 230, SELECT permission was denied. Here is a simple walk-through.

Read More
SQL SERVER - User Defined Audit with SQL Server

SQL SERVER – User Defined Audit with SQL Server

November 15, 2014
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Scripts, SQL Server

Bank security checks taught me patience about audits. Here is how a user defined Audit in SQL Server lets you write your own events to the audit log.

Read More
Event view window.

SQL SERVER – Filtering CPU Bound Execution Plans with Extended Events

November 14, 2014
Pinal Dave
SQL Tips and Tricks
SQL CPU, SQL Extended Events

Profiler captures every plan or none. With query_post_execution_showplan, Extended Events can capture only CPU bound execution plans in SQL Server 2012.

Read More
SQL Server Management Studio window.

SQL SERVER – Validation Rules: Code or Database? – Notes from the Field #054

November 13, 2014
Pinal Dave
SQL Tips and Tricks
BIML, Notes from the Field, SQL Server Security

Should validation rules live in the .NET app layer or in the database? G. Andrew Duthie looks at this common argument between developers and DBAs.

Read More
Previous 1 … 256 257 258 259 260 261 262 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com