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
Tool window showing query with app name function.

SQL SERVER – Knowing the Source Application Using APP_NAME() Function

June 30, 2015
Pinal Dave
SQL Tips and Tricks
SQL Function

The APP_NAME() function returns the application name of the current session. See what it returns in SSMS and how it helps you audit where data comes from.

Read More
SQL SERVER - Converting Standard SSMS File Results to Delimited - Notes from the Field #085

SQL SERVER – Converting Standard SSMS File Results to Delimited – Notes from the Field #085

June 18, 2015
Pinal Dave
SQL Tips and Tricks
DotNet, Notes from the Field, SQL Function, SQL Scripts, SQL Server

Clients sometimes send files made with Results To File in SSMS. Kevin shows how to convert standard SSMS file results to delimited data you can load.

Read More
A row of small bud vases with flowers in seasonal order, a hand moving a red poppy into its place.

MONTH, DATEPART and DATENAME: Getting Month Names and Numbers Right

May 20, 2015
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Group By, SQL Server

Use DATENAME for month labels, compare MONTH and DATEPART, control language and culture, and group sales without combining different years.

Read More
A comb separates stray burs from a continuous string of blue beads

Interview Question of the Week #018 – Script to Remove Special Characters – Script to Parse Alpha Numerics

May 3, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts

Remove special characters with a corrected SQL Server loop and a 2025 regex expression, while defining ASCII and collation rules.

Read More
SQL SERVER - Generate Different Random Number for Each Group Using RAND() Function

SQL SERVER – Generate Different Random Number for Each Group Using RAND() Function

April 25, 2015
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Random

The RAND() function returns the same value for every row in a query. Here is a simple trick to generate a different random number for each group.

Read More
Sql sever split comma separated list.

SQL SERVER – Split Comma Separated List Without Using a Function

April 21, 2015
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

I have shown how to build a comma separated list many times. This time a reader wanted the reverse: split a comma separated list into rows without a function.

Read More
SQL SERVER - Walking the Table Hierarchy in Microsoft SQL Server Database - Notes from the Field #076

SQL SERVER – Walking the Table Hierarchy in Microsoft SQL Server Database – Notes from the Field #076

April 16, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Function, SQL Scripts

Kevin Hazzard shows how to walk the table hierarchy in a SQL Server database using the catalog, so you know the right order to load or clear tables.

Read More
Previous 1 … 22 23 24 25 26 27 28 … 92 Next
  • Books
  • Testimonials
  • Privacy Policy

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