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 - Check if Current Login is Part of Server Role Member

SQL SERVER – Check if Current Login is Part of Server Role Member

April 14, 2009
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

Clients sometimes forget to give me admin rights. IS_SRVROLEMEMBER(‘sysadmin’) checks if the current login is a Server Role Member: 1 means yes, 0 means no.

Read More
Visual JOIN tool.

SQL SERVER – Introduction to JOINs – Basic of JOINs

April 13, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Joins, SQL Scripts, SQL User Group

A simple introduction to JOINs: INNER JOIN and the three OUTER JOIN types, written for members of the Gandhinagar SQL Server User Group who asked for it.

Read More
A hand sharpens a plane blade on a whetstone while the empty hand plane waits nearby.

System Configuration Checker WMI Error: Fixing SQL Server Setup

April 12, 2009
Pinal Dave
SQL Tips and Tricks
Bug Fix, SQL Server Installation, SQL Setup, WMI

Setup stopped with a WMI message before installing anything? Here are the safe repair steps, in order, with a quick check at the end.

Read More
93538 Same TransactionID.

SQL SERVER – Interesting Observation of DMV of Active Transactions and DMV of Current Transactions

April 11, 2009
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL System Table, SQL Transactions

sys.dm_tran_active_transactions and sys.dm_tran_current_transaction look alike, but one lists active transactions for the instance, the other only your session.

Read More
SQL SERVER - Restore or Attach Database Without .NDF or .MDF is Not Possible

SQL SERVER – Restore or Attach Database Without .NDF or .MDF is Not Possible

April 10, 2009
Pinal Dave
SQL Tips and Tricks
Database, SQL Backup and Restore, SQL Data Storage, SQL Error Messages

Can you restore or attach database files if the .mdf or an .ndf file is missing? In one word, no. Here is why every data file is needed.

Read More
A gardener seen from behind shines a narrow torch beam on one rose leaf with a caterpillar, the garden dark around it.

Replacing Profiler Traces With Extended Events

April 10, 2009
Pinal Dave
SQL Tips and Tricks
SQL Extended Events, SQL Monitoring, SQL Profiler, SQL Server, SQL Trace

Replacing Profiler traces with Extended Events starts with the question, a focused event session, and a bounded target that avoids needless load.

Read More
Five potted herbs on a kitchen windowsill, four healthy and one wilting, with a watering can tilted toward it.

Standard DBA Reports You Can Write in T-SQL

April 10, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Monitoring, SQL Server, SQL Server Agent

Standard DBA reports can use T-SQL to show backup age, database sizes, job failures, login changes, and errors in one weekly review.

Read More
SQL SERVER - Fix Error 9803. Invalid data for type "numeric" - Data Type Mapping

SQL SERVER – Fix Error 9803. Invalid data for type “numeric” – Data Type Mapping

April 9, 2009
Pinal Dave
SQL Tips and Tricks
Oracle, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Security

My present article talks about an error that you will encounter when connecting to Oracle database using OPENQUERY. Let us learn about how to fix error 9803.

Read More
SQL Server primary key error dialog.

SQL SERVER – Maximum Columns per Primary Key – Fix : Error : Msg 1904, Level 16, The index on table has column names in index key list. The maximum limit for index or statistics key column list is 16

April 8, 2009
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Index, SQL Scripts

What are the maximum columns per primary key? It is 16, and going past it raises Msg 1904. The same limit applies to foreign keys and index keys.

Read More
A simple hourglass rests beside a closed plain notebook on a softly lit wooden desk.

Reading the SQL Server Support Lifecycle

April 8, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Server, SQL Server Installation

Read the SQL Server support lifecycle for your exact release, distinguish mainstream and extended support, and plan before coverage ends.

Read More
Previous 1 … 494 495 496 497 498 499 500 … 590 Next
  • Books
  • Testimonials
  • Privacy Policy

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