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 wristwatch lying beside a torn-off paper calendar page on a wooden desk.

SQL SERVER – Get Time in Hour:Minute Format from a Datetime – Get Date Part Only from Datetime

August 6, 2009
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

Get the time in Hour:Minute Format, or just the date, from a DATETIME with CONVERT styles 108 and 101, or with the TIME and DATE types in SQL Server 2008.

Read More
SQL SERVER - Get a List of Fixed Hard Drive and Free Space on Server

SQL SERVER – Get a List of Fixed Hard Drive and Free Space on Server

August 5, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure, Undocumented SQL

No OS access? Run xp_fixeddrives from Management Studio to list each fixed hard drive with its free space, then plan where TempDB and indexes go.

Read More
SQL SERVER - Forgot the Password of Username SA

SQL SERVER – Forgot the Password of Username SA

August 4, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio, SQL Server Security

Forgot the password of username SA? Resetting it is easy when another sysadmin login or a Windows admin account can get in. Here are your options.

Read More
SQLAuthority News - Author Visit - Virtual Tech Days August 2009

SQLAuthority News – Author Visit – Virtual Tech Days August 2009

August 4, 2009
Pinal Dave
SQLAuthority News
MVP, SQLAuthority Author Visit

My notes from Microsoft Virtual Tech Days August 2009, where I presented two sessions, and how presenting online differs from a user group.

Read More
Event Class.

SQL SERVER – Introduction to SQL Server 2008 Profiler – Complete

August 3, 2009
Pinal Dave
SQL Tips and Tricks
SQL Profiler

A complete introduction to SQL Server 2008 Profiler: creating, watching, storing and replaying traces, and whether to run it on a production server.

Read More
Gouache painting: in the upper row they are ordered by the color of their base band, so the tallest candle with the earliest color stands first

MIN and MAX Text: Collation Chooses the Extremes

August 2, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

MIN and MAX text use collation ordering, not numeric magnitude. Compare digit strings, empty text and NULL using an explicit BIN2 contract.

Read More
A small plain brass desk bell beside a closed notebook and a wooden tray in soft daylight.

Monitoring With What You Already Have

August 1, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Build useful SQL Server alerts with Agent, operators, failed-job notifications, and a review routine that verifies the whole delivery path.

Read More
Two groups of sage, blue and cream cloths hang above a table with a red cord.

Date Conversion Styles: Disambiguate Day and Month

July 31, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL NULL, SQL Scripts, SQL Server

Date conversion styles define how incoming text becomes a date. Compare month-first and day-first interpretations without guessing. Keep invalid dates separate from missing input.

Read More
SQLAuthority News - Author's Birthday - Top 7 Commenters - Volunteers

SQLAuthority News – Author’s Birthday – Top 7 Commenters – Volunteers

July 30, 2009
Pinal Dave
SQLAuthority News
Database, DBA, Software Development

It’s my birthday, so I am taking a break from tech posts to spend time with family and to thank my top 7 commenters who help readers on this blog.

Read More
Script Wizard - SQL.

SQL SERVER – 2008 – Copy Database With Data – Generate T-SQL For Inserting Data From One Table to Another Table

July 29, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, DBA, SQL Scripts, SQL Utility

SQL Server 2008 lets you copy database with data: turn on Script Data in the Generate Scripts wizard to get INSERT statements for the rows in your tables.

Read More
Previous 1 … 485 486 487 488 489 490 491 … 593 Next
  • Books
  • Testimonials
  • Privacy Policy

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