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 - UDF - Function to Display Current Week Date and Day - Weekly Calendar

SQL SERVER – UDF – Function to Display Current Week Date and Day – Weekly Calendar

June 8, 2007
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts

A script and UDF that show each current week date with its day, from Sunday to Saturday, using DATEPART and DATEADD. Handy for a weekly calendar report.

Read More
Five small carts each carrying one crate, beside one cart carrying all five together.

SQL SERVER – Insert Multiple Records Using One Insert Statement – Use of UNION ALL

June 8, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server, SQL Union clause

Insert multiple records with one INSERT statement by combining SELECT and UNION ALL, instead of a separate INSERT for every row. SQL Server 2008 has a newer way.

Read More
SQL SERVER - Fix : Error : Error 15401: Windows NT user or group 'username' not found. Check the name again.

SQL SERVER – Fix : Error : Error 15401: Windows NT user or group ‘username’ not found. Check the name again.

June 7, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Scripts

Error 15401: Windows NT user or group not found. Books Online already covers every cause well, so this post bookmarks the Microsoft guide to troubleshoot it.

Read More
Workshop pegboard with neatly arranged tools, standards that keep work organized

SQL SERVER – Database Coding Standards and Guidelines Part 2

June 5, 2007
Pinal Dave
SQL Interview Questions and Answers
Database, DBA, Software Development, SQL Coding Standards, SQL Download, SQL Scripts, SQL Server

Database Coding Standards and Guidelines Part 2: skip SELECT *, use SET NOCOUNT ON, prefer CTEs over temp tables, avoid cursors, and more query tips.

Read More
Workshop pegboard with neatly arranged tools, standards that keep work organized

SQL SERVER – Database Coding Standards and Guidelines Part 1

June 4, 2007
Pinal Dave
SQL Tips and Tricks
Database, DBA, Software Development, SQL Coding Standards, SQL Download, SQL Scripts, SQL Server

Database Coding Standards and Guidelines Part 1: naming rules for tables, stored procedures, triggers, indexes, primary keys and foreign keys.

Read More
A pale-stone path border is accompanied by a separate slate, two bricks and a shell in a sunlit courtyard

Coding Standards: A Short Guide and a Practical Naming Check

June 3, 2007
Pinal Dave
SQL Tips and Tricks
Developer, SQL Coding Standards, SQL Scripts

Useful SQL coding standards give teams a short rule set with clear exceptions. Run a read-only naming report, check literal underscores in procedure prefixes and review the results before changing objects.

Read More
SQL SERVER - 2005 Explanation and Example - SELF JOIN

SQL SERVER – 2005 Explanation and Example – SELF JOIN

June 3, 2007
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts

A self join joins a table to itself with table aliases. When to use one, why the joined columns must share a data type, and an employee example.

Read More
Previous 1 … 346 347 348 349 350 351 352 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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