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 - 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
Interview Question of the Week #018 - Script to Remove Special Characters - Script to Parse Alpha Numerics

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

Interview question: write a script to remove special characters and parse only alpha numeric values. Here is a function that does it, and my honest view.

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
cross

SQL SERVER – How to Identify a DB is Using Cross-Database Transactions?

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

Recently, when I was at a conference, one of the attendees came to me to ask a question. The conversation was as below for cross-database transactions.

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 … 21 22 23 24 25 26 27 … 62 Next
  • Books
  • Testimonials
  • Privacy Policy

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