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 open brass cash drawer holds undisturbed coin stacks as a shop shutter is lowered.

End-of-Day Balances From a Transaction Table

March 11, 2009
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts, Temp Table

A transaction table stores movements, not balances. Collapse each day, run a total, fill the quiet days and dodge the midnight trap.

Read More
SQL SERVER - Pad Ride Side of Number with 0 - Fixed Width Number Display

SQL SERVER – Pad Right Side of Number with 0 – Fixed Width Number Display

March 10, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Function, SQL Scripts, SQL Server, SQL Utility

A reader needed a fixed width number display, like 1 shown as 0000001. SQL Server has no ready-made function, but a simple string trick does it.

Read More
Gouache painting of an open empty suitcase and a pair of worn shoes beside a front door, with a vermilion doormat and a warm lamp.

SQLAuthority News – Author Visit – Complete Wrapup of Microsoft MVP Summit 2009 Trip

March 9, 2009
Pinal Dave
SQL Tips and Tricks
MVP

Back home in Ahmedabad after the Microsoft MVP Summit trip: 10 days away, 5 packed business days, and links to all my daily posts and photos.

Read More
Tiny earrings fit a small travel pouch while a bulky necklace rests in a larger case.

Storing Images in SQL Server: varbinary(max) or FILESTREAM

March 6, 2009
Pinal Dave
SQL Tips and Tricks
Filestream, SQL Data Storage, SQL Datatype, SQL Performance

Pictures in a database are easy to insert and easy to regret. Here is where the bytes go and how to choose a storage method.

Read More
SQL SERVER - 2008 - Find Relationship of Foreign Key and Primary Key using T-SQL - Find Tables With Foreign Key Constraint in Database

SQL SERVER – 2008 – Find Relationship of Foreign Key and Primary Key using T-SQL – Find Tables With Foreign Key Constraint in Database

February 26, 2009
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts

A T-SQL script that finds every table with a foreign key constraint and shows how each foreign key relates to its primary key, now with schema names.

Read More
Gouache painting: three long raised garden rows run away from the viewer, two planted with round cabbages and the third bare soil

XPath First Items: Parentheses Change the Selected Nodes

February 25, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

XPath first items can mean one per parent or one overall. Compare step-local [1] with a parenthesized path, including full XML and empty selections.

Read More
SQL SERVER - Disable Windows Authentication - Remove Windows Authentication Login Account

SQL SERVER – Disable Windows Authentication – Remove Windows Authentication Login Account

February 24, 2009
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Server Security

A reader asked how to disable Windows Authentication in SQL Server. The short answer: it can not be disabled, and it is the most secure way to log in.

Read More
Previous 1 … 478 479 480 481 482 483 484 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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