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
A wall of identical lockers, each with its own padlock

Designing a Database for Multiple Customers

December 10, 2008
Pinal Dave
SQL Tips and Tricks
Database, Schema, SQL Server, SQL Server Security

A database for multiple customers can share tables, split schemas, or split databases; the choice balances isolation and operating cost.

Read More
Hands applying frosted film to a window so the room behind becomes unreadable

Keeping Personal Data Out of Test Databases

November 21, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, SQL Backup and Restore, SQL Server Security, Testing

Keeping personal data out of test databases requires synthetic records or masking during refresh, plus verification before access.

Read More
A covered serving dish passes through a small kitchen hatch toward a hand reaching from a dark room.

Encrypting Connections to SQL Server

November 3, 2008
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Server, SQL Server Configuration, SQL Server Encryption, SQL Server Security

Encrypting connections to SQL Server requires a trusted certificate, careful Force Encryption rollout, and tests with real drivers.

Read More
SQL SERVER - Fix : Error : Login failed for user 'UserName'. The user is not associated with a trusted SQL Server connection

SQL SERVER – Fix : Error : Login failed for user ‘UserName’. The user is not associated with a trusted SQL Server connection

November 2, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Security

Login failed, not associated with a trusted SQL Server connection? I hit it between SQL Server 2008 and 2005 and fixed it with a matching Windows user.

Read More
Execution plan table shows up.

SQL SERVER – Stored Procedure WITH ENCRYPTION and Execution Plan

November 1, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Security

Here is what I found about WITH ENCRYPTION and execution plan: an encrypted SP hides its actual execution plan too. Two sample SPs show it.

Read More
SQL SERVER - Transaction and Local Variables - Swap Variables - Update All At Once Concept

SQL SERVER – Transaction and Local Variables – Swap Variables – Update All At Once Concept

October 20, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security, SQL Transactions

Two ideas with examples: transactions have no effect on local variables, and an UPDATE applies all its changes at once, which lets you Swap Variables in one go.

Read More
Gouache painting of a person sorting punctuation into a separate tray beside a database cabinet

SQL Injection: The Joke, the Failure and the Parameter Fix

October 12, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Dynamic SQL, SQL Humor, SQL Server Security

SQL Injection makes a good joke and a terrible incident. The tests here show a concatenated query returning every row for one hostile name, the same text passed as a parameter returning none, a table name caught by QUOTENAME, and a read-only user blocked from dropping a table.

Read More
Previous 1 … 42 43 44 45 46 47 48 … 56 Next
  • Books
  • Testimonials
  • Privacy Policy

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