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
MySQL - How to Create Stored Procedure

MySQL – How to Create Stored Procedure

December 13, 2013
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Scripts

Confused by semicolons when you create stored procedure code in MySQL? Change the DELIMITER first, then reset it. Here is a simple example.

Read More
SQL SERVER - Optimal Memory Settings for SQL Server - Notes from the Field #006

SQL SERVER – Optimal Memory Settings for SQL Server – Notes from the Field #006

December 12, 2013
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Backup and Restore

No amount of memory is ever enough. Tim Radney explains the optimal memory settings for SQL Server, the setting people most often miss on a new server.

Read More
A channel zester preserves one curled orange ribbon beside a heap of fine zest

Exporting CSV Files Without Losing Leading Zeros or Dates

December 11, 2013
Pinal Dave
SQL Tips and Tricks
CSV, Excel, SQL DateTime, Unicode

A postal code like 00501 turns into 501 in a spreadsheet. See where the zero is lost, how to build a correct CSV line, and why quotes alone do not help.

Read More
Rows of white coffee mugs on shelves, ready for the work week

SQL SERVER – Working with Business Days in SQL Server – A Different Approach

December 10, 2013
Pinal Dave
SQL Tips and Tricks
Excel, SQL Scripts, SQL Server

I recommend that you download XLeratorDB and try this problem along with me, this is going to be a fun exercise and something new to learn about Business Days.

Read More
Round wooden pieces fit a blue sorting frame while an angular red piece remains outside.

SQL SERVER – How to Allow Only Alphabets in Column – Create Check Constraint to Insert Only Alphabets

December 9, 2013
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server

Allow only alphabets in a SQL Server column with an explicit ASCII-letter rule. These tested examples reject empty strings, NULL, spaces, digits, and punctuation while explaining collation and existing-data checks.

Read More
An open henhouse hatch with a simple linkage beside a closed plain shutter

Scheduling an Agent Job for Weekday Office Hours Only

December 7, 2013
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Monitoring, SQL Server Agent

Stop a monitoring job from waking anyone at 3 AM. Build the schedule, decode the weekday mask, and see what the window does not cover.

Read More
SQL SERVER - Wrap on Series of Temporary Statistics

SQL SERVER – Wrap on Series of Temporary Statistics

December 6, 2013
Pinal Dave
SQL Tips and Tricks
SQL Statistics

The final post on temporary statistics answers reader questions, like whether you can update them. Only SQL Server can, but you can drop them.

Read More
Previous 1 … 299 300 301 302 303 304 305 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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