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 - SPACE Function Example

SQL SERVER – SPACE Function Example

July 19, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

Does SQL Server have a SPACE function? Yes. SELECT SPACE(100) returns 100 spaces, and a short example uses it to join last and first names.

Read More
SQL SERVER - Restore Database Without or With Backup - Everything About Restore and Backup

SQL SERVER – Restore Database Without or With Backup – Everything About Restore and Backup

July 18, 2007
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Download, SQL Scripts

Everything about restore and backup readers ask: can you restore without a backup? No. Here is the right restore order and a plan to stay safe.

Read More
Gouache painting: on a laundry table, two wool sweaters lie side by side, the same cream color, each with the same vermilion loop at the collar

CHECKSUM: A Matching Result Does Not Prove Text Identity

July 16, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

CHECKSUM matches do not establish unchanged text. Preserve complete values and compare hyphen and trailing-space differences explicitly.

Read More
SQL SERVER - SQL Joke, SQL Humor, SQL Laugh - 15 Signs to Identify Bad DBA

SQL SERVER – SQL Joke, SQL Humor, SQL Laugh – 15 Signs to Identify Bad DBA

July 15, 2007
Pinal Dave
SQL Tips and Tricks
Database, SQL Download, SQL Humor, SQL Scripts

A bit of SQL humor: 15 signs of a bad DBA, from reinstalling SQL Server when the sa password is lost to indexing every field to make it faster.

Read More
SQL SERVER - 2005 Collation Explanation and Translation - Part 2

SQL SERVER – 2005 Collation Explanation and Translation – Part 2

July 14, 2007
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Scripts, SQL String

Collation Explanation and Translation, part 2: one query on sys.fn_helpcollations() lists all 1011 collations in SQL Server 2005 with a description of each.

Read More
SQL SERVER - 2005 - Use ALTER DATABASE MODIFY NAME Instead of sp_renameDB to rename

SQL SERVER – 2005 – Use ALTER DATABASE MODIFY NAME Instead of sp_renameDB to rename

July 13, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure

sp_renameDB will be deprecated, so use ALTER DATABASE MODIFY NAME to rename a database in SQL Server 2005. A short script shows the new syntax.

Read More
ISDATE function in SQL Server.

SQL SERVER – Validate Field For DATE datatype using function ISDATE()

July 12, 2007
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

A CSV import crashed on the date 30/2/2007. Use the ISDATE() function to validate a VARCHAR column in a staging table before moving rows to a DATETIME field.

Read More
Previous 1 … 544 545 546 547 548 549 550 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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