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 - Example of DDL, DML, DCL and TCL Commands

SQL SERVER – Example of DDL, DML, DCL and TCL Commands

May 2, 2009
Pinal Dave
SQL Tips and Tricks
Database

Simple examples of DDL, DML, DCL and TCL commands: SELECT, INSERT, CREATE, ALTER, GRANT, REVOKE, COMMIT, ROLLBACK and what each one does.

Read More
SQLAuthority News - Gandhinagar SQL Server User Group Meeting April 24, 2009

SQLAuthority News – Gandhinagar SQL Server User Group Meeting April 24, 2009 – Meeting Report

May 1, 2009
Pinal Dave
SQLAuthority News
MVP, SQL User Group, SQLAuthority Author Visit

About 50 people came to the Gandhinagar SQL Server User Group Meeting on April 24, 2009 for query optimization tricks and my back to basics talk.

Read More
A pale stone courtyard path is bordered by white stones, with loose slate, terracotta bricks and a shell beside the edge.

geometry STIntersection: Return the Shared Shape

April 30, 2009
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Function, SQL Scripts, SQL Server

geometry STIntersection returns the shared shape rather than only an intersection flag. I inspect its type and emptiness alongside its area. A shared edge has zero area but still contains points.

Read More
SQL SERVER - Solution to Puzzle - Shortest Code to Perform SSN Validation

SQL SERVER – Solution to Puzzle – Shortest Code to Perform SSN Validation

April 29, 2009
Pinal Dave
SQL Puzzle
Database, SQL Scripts

My solution to Jacob Sebastian’s puzzle: the shortest T-SQL code for SSN validation that removes invalid SSN values and returns only the valid ones.

Read More
SQL SERVER - Introduction to SQL Server Encryption and Symmetric Key Encryption Tutorial with Script

SQL SERVER – Introduction to SQL Server Encryption and Symmetric Key Encryption Tutorial with Script

April 28, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Encryption, SQL Server Security

SQL Server Encryption keeps stolen data unreadable. Learn the three level encryption hierarchy, then follow a symmetric key encryption tutorial with the script.

Read More
SQLAuthority News - Starting the SQL Journey - How Did I Get Started With SQL?

SQLAuthority News – Starting the SQL Journey – How Did I Get Started With SQL?

April 27, 2009
Pinal Dave
SQLAuthority News

SQL Expert Jorge Segarra (@SQLChicken) tagged me with one question: how did I get started with SQL? Here is the story of my SQL journey.

Read More
SQL SERVER - List All the Tables for All Databases Using System Tables

SQL SERVER – List All the Tables for All Databases Using System Tables

April 26, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure, SQL System Table, Undocumented SQL

A one line script with sp_msforeachdb and sys.tables to list all the tables for all databases on a server, updated with ideas from reader comments.

Read More
SQLAuthority News - Interview of Author on 60 Seconds with Pinal Dave

SQLAuthority News – Interview of Author on 60 Seconds with Pinal Dave

April 25, 2009
Pinal Dave
SQLAuthority News
MVP

Vijaya Kadiyala interviewed me for his quick series 60 Seconds with Pinal Dave, about my MVP journey and summit experience. Read the interview on his blog.

Read More
SQL SERVER - Leading Zero to Number

SQL SERVER – Leading Zero to Number

April 24, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

Readers keep asking how to add a leading zero to a number. Here are my two earlier articles that pad a number with zeros for a fixed width display.

Read More
Gouache painting: along a long bakery bench stands a row of six pie tins, some holding baked pies and some empty

LAG IGNORE NULLS: Read the Previous Available Value

April 24, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL NULL, SQL Order By, SQL Server

LAG IGNORE NULLS reads the previous non-NULL value within an ordered partition. These examples distinguish skipped rows, missing previous values and the supplied default.

Read More
Previous 1 … 492 493 494 495 496 497 498 … 590 Next
  • Books
  • Testimonials
  • Privacy Policy

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