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 - Solution - Generating Zero Without using Any Numbers in T-SQL

SQL SERVER – Solution – Generating Zero Without using Any Numbers in T-SQL

June 21, 2011
Pinal Dave
SQL Puzzle

Madhivanan asked how to get zero without using any numbers in T-SQL. Here are the clever reader answers, from SELECT $ to counting a NULL cast.

Read More
SQLAuthority News - Job Interviewing the Right Way (and for the Right Reasons) - Guest Post by Feodor Georgiev

SQLAuthority News – Job Interviewing the Right Way (and for the Right Reasons) – Guest Post by Feodor Georgiev

June 20, 2011
Pinal Dave
SQL Tips and Tricks

Feodor Georgiev writes about job interviewing the right way and for the right reasons, sharing his thoughts on hiring and employing IT people.

Read More
A hand picking an odd cherry out of a sorting tray

Importing CSV Files Without Surprises

June 19, 2011
Pinal Dave
SQL Tips and Tricks
CSV, ETL, File format, SQL Server

Importing CSV files Without Surprises covers quoted delimiters, UTF-8 encoding, dates, staging tables, and SQL Server BULK INSERT FORMAT = ‘CSV’.

Read More
SQL SERVER - Selecting Domain from Email Address

SQL SERVER – Selecting Domain from Email Address

June 18, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts

A quick T-SQL script to select the domain from email address values with RIGHT, LEN and CHARINDEX, and count how many emails share each domain.

Read More
SQL SERVER - Solution - Puzzle - Statistics are not Updated but are Created Once

SQL SERVER – Solution – Puzzle – Statistics are not Updated but are Created Once

June 17, 2011
Pinal Dave
SQL Puzzle
SQL Index, SQL Scripts, SQL Statistics

The solution to my puzzle on why statistics are not updated but are created once after a large insert, even with auto update on, and the fix that worked for me.

Read More
A hand crushing the corners of an oversized parcel to force it into a street postbox slot.

Parameter Types From .NET: Stopping Implicit Conversions at the Source

June 16, 2011
Pinal Dave
SQL Performance
DotNet, Execution Plan, SQL Datatype, SQL Server, Unicode

Match parameter types from .NET to SQL Server columns, avoid implicit conversions, and inspect cached plans for mismatched strings.

Read More
SQL SERVER - Solution - Puzzle - SELECT * vs SELECT COUNT(*)

SQL SERVER – Solution – Puzzle – SELECT * vs SELECT COUNT(*)

June 15, 2011
Pinal Dave
SQL Puzzle
SQL Scripts

The solution to my puzzle on why SELECT * throws an error but SELECT COUNT(*) does not, with the best reader answers and credit to Rob Farley.

Read More
Previous 1 … 587 588 589 590 591 592 593 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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