Deadlocks missing information - temp objects?
I am experiencing deadlocks in an application (example below) but the information about these from the management views does not have a lot of information in them. 1. The sql handles have no...
View ArticleSms to mobile phone using SQL server
hello every one any body please help me how to send SMS through SQL SERVER to mobile phone and how to schedule using sql to send automatically.
View Articlean application open huge number of connections
Hello, i have an application connected to SQL server 2008 x64 SP2 and open huge number of connection in spite of the medium number of users are really using this connection i took random 5 min it was...
View ArticleUnable to open physical file - Operating system error 5: 5(error not found)...
I am trying to attach a database to SQL 2005. This database has not previously been attached. I have only just installed SQL. I get the following message: Unable to open physical file...
View ArticleSQL 2012 won't start SQL Agent nor initialize the EventLog
Hello, I have a SQL 2012 Standards 64bits on top of a Windows 2008 R2 SP1 acting also as Domain Controller. Servers is installed in C:\Program Files\... . Default instance is installed in D:\SQL...
View ArticleTSXCache.bin missing
I am working with a 2008 msx and 2005 sp3 tsx. When attempting to send maintenance plan to tsx I get an error saying the tsxcache.bin cannot be opened. The file is not there. I can fake a file of...
View ArticleSQL user authtication fails
Dear all, I have SQL express 2008 R2 on which so far I was connecting to it using Windows account. I have install it to support SQL authentification mecanism. Now I need to create a SQL user account to...
View Articleschema does not exist or you do not have permission to use it SQL Server 2012
I created two schemas inside the same database by right-clicking the Security node and selecting New -> Schema. They are both owned by dbo. In SSMS new query window I am able to create tables...
View ArticleWired problem with index on view - error 1947
Hello all, In AdventureWorks database (SQL 2008, 2012 - no difference) I have a view defined as follows: create view [dbo].[SalesOrderAddressView] with schemabinding as select soh.SalesOrderID,...
View ArticleGetting object-id of an object on which a lock just timed out.
I use ODBC API to talk to SQL Server. If SQLExecDirect returns SQL_ERROR, I use SQLGetDiagRec to get information about the error. If SQLGetDiagRec returns a native error of 1222, you know it is a lock...
View ArticleIncrease Message length of SQL JOB history - SQL Server 2008 R2
Hi friends, I want to know if we can increase the lenght of the message that is shown in the SQL Job History. There are options to increase the "Maximum job history log size (in rows)" and "Maximum...
View ArticleSQL Agent Job is failing due to job has been suspended
Hi All, I am working on Migration Project, so after installed sql server i restored msdb database and edited maintatince plans with new connection string and when i am trying to run any job i am...
View ArticleHow can i exclude database(Restore mode) from auditing?
I have databse audit job (having storeedprocedure)which runs every day for auditing the databases(Storedprocedure - Alldatabaseaudit). One of the DB is in restore mode.how can i exclude the database...
View ArticleRebuild Index ONLINE = ON vs DROP/Create index
I came across with the following scenario: The system started to perform very poorly. I checked sys.dm_exec_requests and there were several UPDATE calls waiting on the resource KEY XX:YYYYYYYYYYYYY....
View ArticleHow to restore SQL 2005 DB to SQL 2000
Hello, I'm tring to restor a DB from sql 2005 (which is located on my local computer) into sql 2000 (which is located on the server) and I am getting this type of message: TITLE: Microsoft SQL Server...
View Articlejob history
Hi, We created some maintenance plans that created jobs. These jobs are running daily. When I checked job history by right clicking on job and view history, some jobs have history for last run and some...
View ArticleCrystal Reports growing tempdb
Hi, I have a crystal report that runs through a scheduling package through a third party runtime. When the report is run that way it blows the tempdb. If the developer gives me only the code it...
View ArticleAttach Database failing
Hi all, Hope I am posting in the right forum. My operating system is Windows 7 Professional 64-bit. I have Microsoft SQL Server 2008 R2 version 10.50.1617. I have a database mdf file which was made in...
View ArticleHow to span multiple disks after running out of space on one
My SQL Server 2008 R2 DB machine is quickly running out of space. I am adding additional storage which will be just another drive letter on that machine. What I'm looking for is how to then tell SQL...
View ArticleSqlDependency query notification subscriptions cause row updates to lock...
I'm using SqlDependency to monitor a table for changes. However, whenever SqlDependency begins monitoring a table, any updates to that table inside a transaction cause the entire table to get locked....
View Article