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.
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.
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.
SQL SERVER – Corrupted Backup File and Unsuccessful Restore
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.
SQL SERVER – Could not connect to TCP error code 10061: No connection could be made because the target machine actively refused it
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.
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.)
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.
SQL SERVER – Cross Database Queries Not Allowed in Indexed View – Limitation of the View 7
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.
SQL SERVER – SELECT * and Adding Column Issue in View – Limitation of the View 4
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.







