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
An old paraffin lamp beside a new rechargeable lantern on a porch step

T-SQL Features Added in Recent Versions

June 5, 2011
Pinal Dave
SQL Tips and Tricks
Compatibility Level, JSON, SQL Function, SQL Server, SQL Server 2022

T-SQL features added in recent SQL Server versions shorten common date, comparison, string, and JSON patterns when deployed deliberately.

Read More
A reusable pattern stamp and a hinged working jig serve visibly different tasks.

SQL SERVER – Question to You – When to use Function and When to use Stored Procedure

June 4, 2011
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Server, SQL Stored Procedure

Deciding when to use functions or stored procedures depends on the caller and required work. I want examples behind that choice.

Read More
A cut rose branch with thorns, pruning shears and a clay pot on a greenhouse workbench.

REGEXP_REPLACE Text Cleanup: Replacing Tags Is Not Parsing HTML

June 3, 2011
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

REGEXP_REPLACE can remove controlled tag-like text, but that is not the same as parsing HTML. Test quoted brackets, surviving script text and word boundaries before deciding whether the replacement fits the input.

Read More
Gouache painting: three wooden shelves each hold the same three items: a large butternut squash for the year, a red apple for the month and a small blue plum for the day

CONVERT Date Styles: Use Explicit Numeric Formats

May 31, 2011
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Server

CONVERT date styles make date displays explicit. Keep the typed value for date logic and agree the output format with the receiving interface.

Read More
A wooden crate of apples at a market stall beside a small brass hand counter on the counter top.

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

May 30, 2011
Pinal Dave
SQL Puzzle
SQL Scripts, SQL Server

SELECT * gives an error when run alone, but SELECT COUNT(*) does not. Why? Here is my SELECT * vs SELECT COUNT(*) puzzle from the Bangalore User Group.

Read More
A half finished cup on a kitchen table against a bright overcast window

SQL SERVER – A Quick Notes on SQL Azure

May 28, 2011
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Server

SQL Azure became Azure SQL Database. What carried over, what you give up, what you stop having to do, and how to check whether your code would move.

Read More
SQL SERVER - Copy Database from Instance to Another Instance - Copy Paste in SQL Server

SQL SERVER – Copy Database from Instance to Another Instance – Copy Paste in SQL Server

May 27, 2011
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Backup and Restore, SQL Server

How to copy database from instance to another instance with the Copy Database Wizard, and automate it through SSIS and a SQL Server Agent job.

Read More
Previous 1 … 317 318 319 320 321 322 323 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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