Categories: SQL Server, Constraints, Database Maintenance, Database Recovery, Errors, Indexes, Performance & Tunning, Security, Server Configuration, T-SQL02/05/14
Problem
When executing queries using OPENROWSET statement, the following error can appear:
Msg 15281, Level 16, State 1, Line 1
SQL Server blocked access to STATEMENT 'OpenRowset/OpenDatasource' of component 'Ad Hoc Distributed Queries' because this… more » Tags: opendatasource, openrowset
12/13/13
Problem
When running some transactions on a database the following error appears:
Msg 9002, Level 17, State 4, Line 2
The transaction log for database 'Database_Name' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_… more » 12/12/13
Problem
When trying to view the properties of a database (right click in SSMS and choose Properties from the drop down menu) the following error is displayed:
Cannot show requested dialog. (SqlMgmt)
Property Owner is not available for Database ?[Data… more » 12/11/13
Considering the following tables (table_1 with IDENTITY column):
IF (object_id('table_1') IS NOT Null)
drop table table_1
CREATE TABLE table_1
(
Id bigint IDENTITY(1,1) NOT NULL,
Col1 nvarchar(4000) NOT NULL
Col2 nvarchar(400… more » 12/07/13
Problem
Displaying the Estimated Execution Plan of a query takes a long time to complete.
Solution
Although, the query is pretty complex, displaying the execution plan should not take more than few seconds. In my case it took over 20 minutes to h… more » |
|