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 garden snail carries its shell from one wet stepping stone to the next, a silver trail behind it.

Contained Databases and Contained Users

February 5, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Login, SQL Migration, SQL Server Security

Understand contained users in SQL Server databases, how they travel with a database, and the security trade-offs of partial containment.

Read More
Two upright blue and terracotta pitchers beside two pale sage bowls and a short red cord.

TRY_PARSE: Make the Culture Explicit for Numeric Text

February 3, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

TRY_PARSE needs an explicit culture when punctuation has a specific numeric meaning. I keep that culture beside the source text. A successful conversion alone cannot establish that the intended number was read.

Read More
An open folding pocket tool on a wooden table with a knife, screwdriver, small saw and awl fanned out

Using sp_help and Friends to Explore a Database

February 1, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server, SQL Stored Procedure, SQL System Table

Using sp_help, sp_helpindex, sp_helptext, and sp_spaceused gives a quick SQL Server tour before you reach for catalog views.

Read More
A stone sea wall with rising seaweed lines from past high tides and hands setting a new stone above them

Estimating Table Growth for Next Year From Backup History

January 29, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Data Storage, SQL Scripts

Estimate table growth with monthly full backup history, a twelve month forecast, and table space checks that separate evidence from guesses.

Read More
SQL SERVER - Generate A Single Random Number for Range of Rows of Any Table - Very interesting Question from Reader

SQL SERVER – Generate A Single Random Number for Range of Rows of Any Table – Very interesting Question from Reader

January 28, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Random, SQL Scripts

A reader asked how to get a single random number for a set of rows, like one per PostalCode. I compare NEWID() for each row with RAND() for a whole set.

Read More
A row of blossoming apple trees along a brick wall, with two bare trees and a gardener walking toward them.

Tracking Which Updates Every Server Has

January 27, 2009
Pinal Dave
SQL Tips and Tricks
Cumulative Update, DBA, SQL Monitoring, SQL Patch, SQL Server

Tracking Which Updates each SQL Server runs takes a dated inventory table, SERVERPROPERTY snapshots, and a report of instances behind the target.

Read More
Three short plain cords with different simple metal connectors arranged neatly on a wooden tabletop.

Connecting to SQL Server From Java, Python and .NET

January 27, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Choose a SQL Server driver for Java, Python, or .NET, then verify encryption, authentication, pooling, and the application's connection.

Read More
Previous 1 … 481 482 483 484 485 486 487 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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