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
SQL SERVER - SQL SERVER - UDF - Get the Day of the Week Function - Part 3

SQL SERVER – SQL SERVER – UDF – Get the Day of the Week Function – Part 3

May 27, 2008
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts

Nanda Kumar improved the UDF to get the day of the week: it now uses the date you pass in instead of GETDATE() and handles Saturday correctly.

Read More
A row of identical terraced houses at night, each front door a different color, one door bright red.

Naming SQL Server Instances So People Understand Them

May 26, 2008
Pinal Dave
SQL Tips and Tricks
AlwaysOn, Best Practices, DBA, SQL Instance, SQL Server

Naming SQL Server Instances well clarifies default and named installs, survives growth, and makes later server renames less painful.

Read More
A SQL Server message window.

SQL SERVER – T-SQL Script to Devide One Column into Two Column

May 25, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

A quick script to split one column into two with LEFT, RIGHT and CHARINDEX, plus what to check when a value has no comma or has extra spaces.

Read More
SQL Authority News - SQL Server Interview Questions - SQL Related Jobs - DBA Job Description

SQL Authority News – SQL Server Interview Questions – SQL Related Jobs – DBA Job Description

May 24, 2008
Pinal Dave
SQL Interview Questions and Answers
Career Advice, Database, DBA

Looking for a job or a candidate? Here are my links to SQL Server interview questions and answers, SQL Server related jobs and a DBA job description.

Read More
SQL SERVER - SQL SERVER - UDF - Get the Day of the Week Function - Part 2

SQL SERVER – SQL SERVER – UDF – Get the Day of the Week Function – Part 2

May 23, 2008
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts

Mihir Popat improved my Day of the Week Function with @@DATEFIRST, so Sunday does not have to be the first day of the week. Here is his UDF.

Read More
PIVOT table example.

SQL SERVER – PIVOT Table Example

May 22, 2008
Pinal Dave
SQL Tips and Tricks
PIVOT and UNPIVOT, SQL Scripts, SQL Server

A PIVOT Table example on AdventureWorks that counts addresses by state, plus why UNPIVOT cannot always give you back the original rows.

Read More
SQL SERVER - 2005 - Twelve Tips For Optimizing Sql Server 2005 Query Performance

SQL SERVER – 2005 – Twelve Tips For Optimizing Sql Server 2005 Query Performance

May 21, 2008
Pinal Dave
SQL Performance
Best Practices, Database

Twelve tips for better SQL Server 2005 query performance, from execution plans and covering indexes to avoiding cursors, using APPLY and archiving old data.

Read More
Previous 1 … 758 759 760 761 762 763 764 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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