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 - Interesting Observation with Currency Symbols

SQL SERVER – Interesting Observation with Currency Symbols

March 16, 2015
Pinal Dave
SQL Tips and Tricks

Did you know currency symbols like $ and £ are treated as money values in SQL Server? SELECT $ returns 0.00, and you can even use them in math.

Read More
Registry Editor.

SQL SERVER – SCRIPT – SQL Listening on Dynamic Port?

March 14, 2015
Pinal Dave
SQL Tips and Tricks
SQL Server Security

How do you know if SQL Server is listening on a fixed or dynamic port? Here is a script that reads the TcpDynamicPorts registry value for your instance.

Read More
SQL SERVER - Interesting Function AGENT_DATETIME

SQL SERVER – Interesting Function AGENT_DATETIME

March 13, 2015
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function

AGENT_DATETIME in msdb converts integer date and time values in YYYYMMDD and HHMMSS format into a datetime. Here is how it works, with examples.

Read More
File system task editor window.

SQL SERVER – The Basics of the File System Task, Part 1 – Notes from the Field #071

March 12, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SSIS

Andy Leonard explains the basics of the SSIS File System Task, a handy tool when loading data to and from flat files. This is part 1 of the series.

Read More
SQL SERVER - Error - Msg 6401, Level 16: Cannot roll back Transaction

SQL SERVER – Error – Msg 6401, Level 16: Cannot roll back Transaction

March 11, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Is there such a thing as nested transactions in SQL Server? A simple demo shows why rolling back a named inner transaction fails with Msg 6401.

Read More
SQL SERVER - FIX - A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. (Microsoft.AnalysisServices.AdomdClient)

SQL SERVER – FIX – A connection cannot be made to redirector. Ensure that ‘SQL Browser’ service is running. (Microsoft.AnalysisServices.AdomdClient)

March 10, 2015
Pinal Dave
SQL Tips and Tricks
Computer Network, SQL Error Messages, SQL Server

I opened SQL Server Management Studio and instead of a database engine. Below is the error which I received for SQL Browser:

Read More
Gouache painting: one brass key hanging on a post beside a long row of identical wooden garden gates in a stone wall, every gate ajar, a small vermilion ribbon tied to the key

Add a User Across Databases: A Tested Script With Cleanup

March 9, 2015
Pinal Dave
SQL Tips and Tricks
Dynamic SQL, SQL Login, SQL Scripts, SQL Server Security

To add a user across databases you need one login and, in every chosen database, a user and a role. This post gives a tested script that does it, checks it and removes it again on SQL Server 2025. It also answers the model database question and shows the server-level shortcut.

Read More
Previous 1 … 242 243 244 245 246 247 248 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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