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
Illustration for the Open Source Cloud series

What is the Cloud?

June 29, 2020
Pinal Dave
SQL Tips and Tricks
AWS, Cloud Computing, SQL Azure

What is the cloud? A beginner friendly guide: whose computers you rent, what changes for you, what stays your job, and common myths.

Read More
Gouache painting of a row of clay pots with the first few filled with soil and a vermilion scoop in a soil bag

DEFAULT WITH VALUES: Fill Existing Rows on a New Column

June 27, 2020
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Constraint and Keys, SQL NULL, SQL Scripts

DEFAULT WITH VALUES fills the rows that already exist when you add a column with a default. Without it, a nullable column keeps NULL in every old row. This post shows the three cases side by side, what a default never does, why the constraint needs a name, and how a large table takes the change in a millisecond.

Read More
An unlatched cabinet stands open beside its separate key and valuable stored vessels.

SQL SERVER – Creating System Admin (SA) Login With Empty Password – Bad Practice

June 26, 2020
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

An empty password on sa is a serious security failure. I stopped an e-commerce consultation after noticing passwordless administrator sign-ins.

Read More
Gouache painting of a vermilion rowboat, a flat barge and a white sailboat at a calm mooring

Connections by Protocol: Shared Memory, TCP and Named Pipes

June 23, 2020
Pinal Dave
SQL Tips and Tricks
Computer Network, SQL Connection, SQL DMV, SQL Scripts

Connections by protocol tell you whether a client reaches SQL Server through shared memory, TCP or a named pipe, and from which address. This post reads the connection view for your own session, connects three ways to see each protocol, lists every connection with its host and program, and counts them by protocol.

Read More
Gouache painting of a row of watering cans in a greenhouse with one vermilion can tipped over in a big puddle

User Statistics Report in SSMS: Who Is Connected

June 16, 2020
Pinal Dave
SQL Tips and Tricks
SQL Reports, SQL Server Management Studio, SQL Server Security

The User Statistics report in SSMS shows the users who are connected to a database. This post opens the report, answers the same question with a query over sys.dm_exec_sessions, and finds the one application that holds many sessions.

Read More
Gouache painting of a grey shed beside the water with its door open and a vermilion key in the lock

SSMS Command Line Options: Server, Database and Login

June 15, 2020
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Command, SQL Server Management Studio

SSMS command line options open Management Studio already pointed at a server and a database. This post finds SSMS.exe, lists the switches that SSMS 22 documents in its own usage text, and shows how to turn them into a shortcut without saving a password.

Read More
Hands arranging a bento box with rice and a row of small matching dishes inside, its lid beside it

Shaping Query Results as JSON With FOR JSON PATH

June 13, 2020
Pinal Dave
SQL Tips and Tricks
JSON, SQL Scripts, SQL Server

Shape FOR JSON PATH output with nested objects, child arrays, null options, and wrappers, then return one complete JSON value to clients.

Read More
Previous 1 … 48 49 50 51 52 53 54 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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