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 - Recently Executed T-SQL Query

SQL SERVER – Recently Executed T-SQL Query

October 16, 2009
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Function, SQL Scripts, SQL System Table

fn_get_sql() and DBCC INPUTBUFFER will be deprecated. Use sys.dm_exec_query_stats and sys.dm_exec_sql_text to see each recently executed T-SQL query.

Read More
Gouache painting: two small trays sit side by side holding the same pair of shortbread rounds, one scalloped and one plain

VALUES Type Inference: Cast Before Combining Rows

October 14, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Scripts, SQL Server

VALUES type inference chooses a common column type. Preserve formatting-sensitive text by making source conversions explicit before combination.

Read More
A child's hand fitting a star-shaped block into the matching hole of a wooden shape-sorter box

Connecting PHP to SQL Server

October 11, 2009
Pinal Dave
SQL Tips and Tricks
Developer, SQL Connection, SQL Server, SQL Server Security

Connecting PHP to SQL Server means choosing SQLSRV or PDO_SQLSRV, binding parameters, validating TLS, and keeping web queries efficient.

Read More
SQL SERVER - Interesting Observation - Query Hint - FORCE ORDER

SQL SERVER – Interesting Observation – Query Hint – FORCE ORDER

October 6, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Index, SQL Joins, SQL Scripts, SQL Server

A junior developer used the FORCE ORDER query hint without knowing what it does. Here is how it works and how much this one hint can change performance.

Read More
Two shallow ceramic bowls hold red beads joined by cream cords, with a blue bead resting in front.

geography Point: Latitude Comes Before Longitude

October 4, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

geography Point uses latitude, longitude and SRID arguments. Its coordinate order differs from POINT text, so inspect both returned properties.

Read More
Two rings of keys hang inside a cupboard door, one bright and new, the other old, tarnished and tied with string.

Rotating the TDE Certificate

October 3, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Server Encryption, SQL Server Security

Rotating the TDE certificate protects recovery only when the new private key is backed up and old backups still restore.

Read More
Client statistics option.

SQL SERVER – SQL Server Management Studio and Client Statistics

October 1, 2009
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio, SQL Statistics

Query cost does not tell you how much data a query returns. Client statistics in SQL Server Management Studio do, and there are three ways to turn them on.

Read More
Previous 1 … 453 454 455 456 457 458 459 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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