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 Authentication mode.

SQL SERVER – Fix – Login failed for user ‘username’. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)

January 17, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Login failed, the user is not associated with a trusted SQL Server connection, Error 18452? Usually it is a wrong username or Windows-only login mode.

Read More
Dbi_dboccLastKnownGood.

SQL SERVER – Check for Database Integrity – Notes from the Field #011

January 16, 2014
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Backup and Restore

In this Notes from the Field episode, Tim explains why you should check database integrity often, so corruption is caught before it is too late.

Read More
A power strip under a table with cables to a lamp, a radio and a kettle, one cord vanishing through the floor.

Finding What Depends on a Table

January 15, 2014
Pinal Dave
SQL Tips and Tricks
SQL Dependency, SQL Server, SQL Stored Procedure, SQL System Table

Finding What depends on a table starts with sys.dm_sql_referencing_entities, then checks cross-database code and dynamic SQL.

Read More
Gouache painting of a tidy archive room with rows of plain wooden drawers, a brass key ring hanging on a hook and a magnifying glass resting on an open ledger with blank pages, one drawer handle painted vermilion.

Data Governance: Catalog, Lineage and Data Quality

January 14, 2014
Pinal Dave
SQL Tips and Tricks
Data Observability, Database, Duplicate Records, SQL NULL, SQL Server Security

Data Governance is how you know what data you have, where it came from, who can see it and whether it is right. This post covers the catalog, lineage, access and data quality, with T-SQL checks you can run.

Read More
A cake lifter removes one cake layer while neighboring layers remain untouched

TRUNCATE Permission: Letting a User Empty One Table

January 13, 2014
Pinal Dave
SQL Tips and Tricks
SQL Server Security, SQL Stored Procedure, SQL Table Operation

Your loader needs to empty a staging table, not redesign it. Here is a small procedure that gives it exactly that.

Read More
MySQL - Change the Limit of Row Retrieved in MySQL Workbench

MySQL – Change the Limit of Row Retrieved in MySQL Workbench

January 12, 2014
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Server

Why does a query return every row in your app but only 1000 in MySQL Workbench? It limits rows by default, and here is how to change that limit.

Read More
ALTER TABLE statement adding the UX_Constraint unique constraint on Col1, with a Table1 holding Apple and Orange and a third row, Apple, rejected as a duplicate (sample rows)

Unique Constraint on Existing Table: How to Add One With ALTER TABLE

January 11, 2014
Pinal Dave
SQL Tips and Tricks
Duplicate Records, SQL Constraint and Keys, SQL Index, SQL Table Operation

A unique constraint on existing table data takes one ALTER TABLE statement. Here is the script, the duplicate check to run first, and what to know about NULLs, indexes and names.

Read More
Previous 1 … 453 454 455 456 457 458 459 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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