Data loss when transaction fails caused by full C drive
I knew that bad things can happen if the C: drive fills but apparently this can cause SQL Server to neither commit or correctly rollback a transaction?This occured on SQL Server 2008 R2 in a database...
View ArticlePolicy Based Management: System Failure Error Check Policy - Filter by...
I have been searching for a means to change the System Failure Error Check policy that comes as part of the Best Practice policies. I want to look back 24 hours. The WQL query shipped with the policy...
View ArticleDatabase email issue for an maintenance work
Hi,We do have an daily indexreorganise task done and we have an email sent on completion to selected users.Now for some days now we are not receiving emails from the SQL server agent job. However other...
View ArticleQuestion on Indexing
Hello All,I have just started my career as a SQL DBA and this is my first post.I have a primary key on a column that is a unique identifier (width 32 char) and it is nonclustered. There are a lot of...
View Articlesys.dm_db_stats_properties returns empty rowset for some statistics?
I am looking at the new dynamic management function sys.dm_db_stats_properties.http://msdn.microsoft.com/en-us/library/jj553546.aspxI have found that for some tables and statistics it is returning an...
View ArticleRe:Sql server Agent Starting Issue ..
Hi,i am try to start the sql server agent facing the bellow error Thanks, Purna
View ArticleProblem Sending Email - Database Email
Hello,We got some issues regarding our new installation server with our database Email :Server info :EditionProductVersionProductLevelResourceLastUpdateDateTimeResourceVersion Standard Edition...
View ArticleDataSet Reading Problem in Thread
I have the Bulk XML Doument which has 10000 students record (assumption) as follows:<school><student...
View ArticleSQL Server Alias Configuration
Hello,I have a question to create a SQL Server Alias to move an SQL Cluster instance to a new hardware.Our environment looks like, that we have a Windows Server 2008 R2 Cluster Installation. On this...
View ArticleJob outcome: log-message being truncated
While the question is simple I cant convince my search-engine to exclude anything to do with the transaction-log.There should be a way to get the complete(non-truncated) error-message from a SQL-job...
View ArticleQuerying extended Events XML WaitTypes and Duration
I'm querying Xevents XML that I have collected, and there is something that I dont quite understand, my definition is for statements taking more than 100 milliseconds and also get the wait type as...
View Articlewhat is sys.dm_pdw_nodes_os_wait_stats
Hi Friends,SQL 2008 SP3/CU6what is this object ? sys.dm_pdw_nodes_os_wait_stats I can't find any BOL about it. it's listed in the master db as DMV but I can't do anything with it ? I need to modify...
View ArticleBest way to connect to SQL Server 2012
Hi all,very simple question: what is the best connection method to an instance of SQL Server 2012? ODBC? OLEDB? Other?
View ArticleDeadlocks mitigated
We have a situation where we had an application that was receiving thousands of deadlocks up until last Monday. They suddenly mitigated. There were no changes to the application server nor the database...
View Articlehow to convert this query into merge statement in sqlserver 2008 R2?
Hi ,i am facing this issue from last 3 days actually the below query fulfilled my requrirement but this code is rejected by lead and asked to make it as merge statement.my actual query...
View ArticleUsing Hashbytes and inserting into a table
Hi All,I want to use hashbytes to generage a hash, and then insert into another table. I'm wondering what kind of definition to use when creating the table.Hashbytes will be used to generate a hash of...
View Articlelock question
we have a developer that thinks a program in one of his applications might be locking a table. The application sometimes goes down for a bit. Unfortunely, we usually hear about it after the...
View ArticleConnection Licensing SS2008 STD Ed.
I have installed SS many times and have never indicated the number of concurrent connections or any licensing info, so I am under the impression that an installed SS2008 STD Ed instance will not refuse...
View Articlehow to run a simple sql query - dumb question
I am new to SQL Server 2008 (the newest version we have). We have been running SQL 2000 for a number of years and so my limited experience is with that version. What my question is, is I am trying to...
View Article