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
Office desk at night with the lamp still on, a mug and a jacket on the chair, someone is still logged in

SQL SERVER – Force Removing User from Database – Fix: Error: Could not drop login ‘test’

February 21, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Security

Error 15434: could not drop login ‘test’ because the user is logged in. A reader ran my demo on production; here is my Force Removing User fix, no restart needed.

Read More
SQL SERVER - Disable Guest Account - Serious Security Issue

SQL SERVER – Disable Guest Account – Serious Security Issue

February 20, 2012
Pinal Dave
SQL Tips and Tricks
SQL Server Security

I like to disable guest account access in SQL Server unless there is a real need for it. Here is why the guest user can be a serious security issue.

Read More
A hand lifting a bunch of grapes by its top stem, the branching stems hanging open above a red cloth

Translating Oracle CONNECT BY Queries to Recursive CTEs

February 19, 2012
Pinal Dave
SQL Tips and Tricks
CTE, Oracle, SQL Migration, SQL Server

Translate CONNECT BY into recursive CTEs with root selection, depth, paths, sibling ordering, cycle checks, and a recursion limit.

Read More
Cannot find user 'sqlauthority.

SQL SERVER – Case Sensitive Database and Database User – Fix: Error: 15151 – Cannot find the user , because it does not exist or you do not have permission.

February 18, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server Security

Jeff hit Error 15151, cannot find the user, even though the user existed. The cause was a case sensitive database, and here is the fix.

Read More
A harbor seen from above with a grid of mooring buoys, small boats tied to most of them and a few buoys floating empty.

Numbers Table vs GENERATE_SERIES: Building Rows on Demand

February 16, 2012
Pinal Dave
SQL Tips and Tricks
SQL System Table, SQL Table Operation, Table Partitioning, Temp Table

Learn numbers table in SQL Server with practical examples, clear checks, common traps, and guidance for your own database.

Read More
Gouache painting of a small wooden handcart piled with grain sacks beside a long line of identical grain wagons stretching down a country track, one wagon painted vermilion, in soft morning light.

What Is Big Data? A Simple Explanation for Database People

February 14, 2012
Pinal Dave
SQL Tips and Tricks
Data Warehousing, Database, SQL Data Storage

What Is Big Data? It is the point where data outgrows one machine, and the fix is to scale out. This post explains the failures of one server and walks through 40 TB split across 8 nodes.

Read More
A pasta cutter slicing a sheet of dough into ribbons of equal width, ragged edge trimmings piled aside.

Reading Fixed-Width Text Files With OPENROWSET and a Format File

February 13, 2012
Pinal Dave
SQL Tips and Tricks
CSV, File format, SQL Datatype, SQL Server

Read fixed-width text files with OPENROWSET and an XML format file, trim fields, validate conversions, and load only acceptable rows.

Read More
Previous 1 … 372 373 374 375 376 377 378 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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