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 - Recycle Error Log - Create New Log file without Server Restart

SQL SERVER – Recycle Error Log – Create New Log file without Server Restart

November 9, 2010
Pinal Dave
SQL Interview Questions and Answers
SQL Error Messages, SQL Scripts, SQL Server

A client’s DBA restarted the server just to start a fresh Error Log. There is no need: you can recycle the log and create a new file without a restart.

Read More
SQL SERVER - Fix: Error: MS Jet OLEDB 4.0 cannot be used for distributed queries because the provider is used to run in apartment mode.

SQL SERVER – Fix: Error: MS Jet OLEDB 4.0 cannot be used for distributed queries because the provider is used to run in apartment mode.

November 3, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts

MS Jet OLEDB 4.0 cannot be used for distributed queries because it runs in apartment mode? Turning on Ad Hoc Distributed Queries with sp_configure fixes it.

Read More
Database backup process.

SQL SERVER – Corrupted Backup File and Unsuccessful Restore

October 24, 2010
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages

Called in to tune an OLTP server, I ended up helping a Jr. DBA whose restore kept failing. Here is the story of that corrupted backup file.

Read More
SQL SERVER – Could not connect to TCP error code 10061: No connection could be made because the target machine actively refused it

SQL SERVER – Could not connect to TCP error code 10061: No connection could be made because the target machine actively refused it

October 20, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

TCP error code 10061 says the target machine actively refused the connection. In my StreamInsight app, a Windows Firewall exception for the port fixed it.

Read More
SQL SERVER - Error : Fix : Msg 5133, Level 16, State 1, Line 2 Directory lookup for the file failed with the operating system error 2(The system cannot find the file specified.)

SQL SERVER – Error : Fix : Msg 5133, Level 16, State 1, Line 2 Directory lookup for the file failed with the operating system error 2(The system cannot find the file specified.)

October 5, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Msg 5133 says directory lookup for the file failed with operating system error 2. A friend hit it on CREATE DATABASE, and here is what caused it.

Read More
SQL SERVER - Cross Database Queries Not Allowed in Indexed View - Limitation of the View 7

SQL SERVER – Cross Database Queries Not Allowed in Indexed View – Limitation of the View 7

September 23, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL View

An indexed view needs WITH SCHEMABINDING, and that rules out cross database queries. Limitation of the view 7 walks through it with two test databases.

Read More
SQL SERVER – SELECT * and Adding Column Issue in View – Limitation of the View 4

SQL SERVER – SELECT * and Adding Column Issue in View – Limitation of the View 4

September 15, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL View

Why does SELECT * miss a new column? The adding column issue in view stays until you refresh it with sp_refreshview. Limitation of the view number 4.

Read More
Previous 1 … 95 96 97 98 99 100 101 … 117 Next
  • Books
  • Testimonials
  • Privacy Policy

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