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 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
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
SQL SERVER - Difference between DISTINCT and GROUP BY - Distinct vs Group By

SQL SERVER – Difference between DISTINCT and GROUP BY – Distinct vs Group By

March 29, 2007
Pinal Dave
SQL Performance
SQL Function, SQL Joins, SQL Scripts

What is the difference between DISTINCT and GROUP BY? They usually produce the same plan. Use GROUP BY for aggregates and DISTINCT to remove duplicates.

Read More
SQL SERVER - @@IDENTITY vs SCOPE_IDENTITY() vs IDENT_CURRENT - Retrieve Last Inserted Identity of Record

SQL SERVER – @@IDENTITY vs SCOPE_IDENTITY() vs IDENT_CURRENT – Retrieve Last Inserted Identity of Record

March 25, 2007
Pinal Dave
SQL Performance
SQL Function, SQL Index, SQL Scripts

@@IDENTITY vs SCOPE_IDENTITY() vs IDENT_CURRENT: how each one returns the last identity value, and why a trigger can make @@IDENTITY give the wrong one.

Read More
SQL SERVER - SQL Commandments - Suggestions, Tips, Tricks

SQL SERVER – SQL Commandments – Suggestions, Tips, Tricks

March 20, 2007
Pinal Dave
SQL Performance
Best Practices, Database, Software Development, SQL Backup and Restore, SQL Constraint and Keys, SQL DateTime, SQL Download, SQL Error Messages, SQL Function, SQL Index, SQL Joins, SQL Server DBCC, SQL Server Security, SQL Stored Procedure

My 20 SQL Commandments for SQL Server, rewritten from an Oracle article: know your data, test with realistic data, write identical statements, and more tips.

Read More
Previous 1 … 48 49 50 51 52 Next
  • Books
  • Testimonials
  • Privacy Policy

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