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 - @@DATEFIRST and SET DATEFIRST Relations and Usage

SQL SERVER – @@DATEFIRST and SET DATEFIRST Relations and Usage

April 22, 2007
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Utility

How SET DATEFIRST changes the first day of the week, and how @@DATEFIRST returns the current value, which also changes with SET LANGUAGE. Simple examples.

Read More
Interview

SQL Server Interview Questions and Answers Part 6

April 20, 2007
Pinal Dave
SQL Interview Questions and Answers
Database, SQL Backup and Restore, SQL Constraint and Keys, SQL Cursor, SQL Download, SQL Function, SQL Joins, SQL Scripts, SQL Server, SQL Server Security, SQL Stored Procedure, SQL Trigger

Interview Questions and Answers Part 6 covers the six properties of relational tables and de-normalization, adding redundant data to help performance.

Read More
SQL Server Interview Questions and Answers - Part 4

SQL Server Interview Questions and Answers Part 4

April 18, 2007
Pinal Dave
SQL Interview Questions and Answers
DBA, SQL Download, SQL Function, SQL Joins, SQL Scripts, SQL Server, SQL Trigger

Interview Questions and Answers Part 4 begins with SQL Profiler: what it is, how it captures events to a file or table, and how to keep traces small.

Read More
SQL Server Interview Questions and Answers - Part 3

SQL Server Interview Questions and Answers Part 3

April 17, 2007
Pinal Dave
SQL Interview Questions and Answers
Database, Software Development, SQL Constraint and Keys, SQL Cursor, SQL Download, SQL Function, SQL Index, SQL Joins, SQL Scripts, SQL Server, SQL Server Security, SQL Stored Procedure, SQL Sub Query, SQL Trigger

Interview Questions and Answers Part 3 opens with NOLOCK: how the hint skips read locks, why that means dirty reads, and what it does for concurrency.

Read More
Green olives placed inside, on the rim of and outside a square wooden tray beside a red cloth.

geometry STContains: Check Boundary Membership

April 15, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

geometry STContains differs from STIntersects at a polygon boundary. Four literal points expose the intended inclusion rule without treating ordinary language as a spatial predicate.

Read More
SQL SERVER - UDF - User Defined Function to Extract Only Numbers From String

SQL SERVER – UDF – User Defined Function to Extract Only Numbers From String

April 11, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

A simple UDF, ExtractInteger, to extract only numbers from string input. I test it with a phone number that also has letters in it.

Read More
SQL SERVER - Search Text Field - CHARINDEX vs PATINDEX

SQL SERVER – Search Text Field – CHARINDEX vs PATINDEX

April 8, 2007
Pinal Dave
SQL Performance
SQL Function, SQL Scripts, SQL Server, SQL Server Security, SQL Utility

CHARINDEX and PATINDEX both return the start position of a pattern in a text field. PATINDEX allows wildcards, CHARINDEX does not. Examples use AdventureWorks.

Read More
Previous 1 … 87 88 89 90 91 92 Next
  • Books
  • Testimonials
  • Privacy Policy

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