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
Invoke-Sqlcmd PowerShell error.

SQL SERVER – FIX – The term ‘Invoke-Sqlcmd’ is not recognized as the name of a cmdlet

November 23, 2014
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Error Messages

My weekend PowerShell learning hit an error: the term Invoke-Sqlcmd is not recognized as the name of a cmdlet. Here is why it happened and the fix.

Read More
Counters selection window in SQL Server Management Studio.

SQL SERVER – How to use Procedure sp_user_counter1 to sp_user_counter10

November 22, 2014
Pinal Dave
SQL Performance
SQL Stored Procedure

Want to plot your own values, like rows in a table, next to standard PerfMon counters? The procedures sp_user_counter1 to sp_user_counter10 do just that.

Read More
Gouache painting of a row of closed wooden shutters on a plaster wall, with one small shutter opened a hand-width and a vermilion flowerpot on its sill

Msg 230: A Column Level GRANT Overrides a Table DENY

November 21, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server Security

A column level GRANT overrides a DENY on the whole table in SQL Server. A friend challenged my earlier claim that DENY always wins, so I built a repro. The granted column works, and every other column raises Msg 230.

Read More
SQL SERVER - Common Sense Data Security - Notes from the Field #055

SQL SERVER – Common Sense Data Security – Notes from the Field #055

November 20, 2014
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Server Security

Kevin Hazzard explains common sense data security for sensitive user information, with humor and real world examples you will recognize.

Read More
SQL Server page object with table results.

SQL SERVER – Is tempDB behaving like a Normal DB?

November 20, 2014
Pinal Dave
SQL Tips and Tricks
SQL TempDB

TempDB is a special shared database, but in many ways it behaves like a normal DB with a twist. I share how I explained it to DBAs during my tuning work.

Read More
SQLCMD to Build Comma Separated String.

SQL SERVER – SQLCMD to Build Comma Separated String

November 19, 2014
Pinal Dave
SQL Tips and Tricks
sqlcmd

A trick from Balmukund and Vinod at SQLBangalore: use SQLCMD to export a table’s data as a comma separated string. Here is how it works.

Read More
SQL Server Management Studio.

SQL SERVER – Restricting Access to Contained Databases using Logon Triggers

November 18, 2014
Pinal Dave
SQL Tips and Tricks
SQL Trigger

Restricting access to contained databases: a DBA friend wanted to limit which users can connect, and logon triggers can do that. Here is how.

Read More
Previous 1 … 401 402 403 404 405 406 407 … 845 Next
  • Books
  • Testimonials
  • Privacy Policy

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