Troubleshooting error log
I was getting the following message in the error log frequently in one of the development BI server. The data load took so long (almost 2 days). The application user killed the session and it went to...
View ArticleSql Server login failure error: 18456 with Windows account and sa account
Hi All,I am using Win 2008 R2,SQL Server 2008R2When i try to connect to SQL Server i am getting error 18456. Previously i have installed Active Directory and immediatly i haved un installed it. After...
View Articlewhy heap doesn’t support ghost records ?
I asked a question about "why heap doesn’t support ghost records ?" and got responce from Paul: "It doesn’t need them as there’s no way that a duplicate record being inserted before the deleting...
View ArticleHow can I create a database connection (ODBC) from Windows 8 to a XP machine?
I have SQL 2008 installed on an XP machine with Windows Authentication. Today, I got a machine with Windows 8 in it. Both have the same user name, but different passwords as Windows 8 requires a...
View Articlebest practices for handlding this database log file growth issue?
I have a a couple of SQL databases that collect website log files, replicate them to another location, and then flush out the older records every often, so there are a lot of transactions. The log...
View ArticleCompare performance between a box with a instance or several instances
Hi,<o:p></o:p>I need to decide if I install a sql sever 2012 box with a single instance and several databases or a box with several instances.<o:p></o:p>The criteria is...
View ArticleTypeperf is throwing error message for the SQLServer counters
Hi,I am using typeperf tool to collect performance data and I am following the below mentioned link for the...
View ArticleWhy does a select statement rollback?
Hi,Yesterday in one of the BI development server, the application user killed a session since it was running for more than 2 days. Then it went for rollback and was running for very long time. When I...
View Articleinvalid column name 'xml_index_type'
Hi, I'm not sure when this started happening but today, none of us using SSMS 2012 connected to SQL server 2012 SP1 were able to script any objects. we are presented with the messageFailed to retrieve...
View ArticleHow to clean the clerk "MEMORYCLERK_SQLCLR"
Hi guys,Can I clean the clerk "MEMORYCLERK_SQLCLR" without restart the SQL Server service???I already close the connections but this clerk are using 20 GB of memory.Thanks for your time.Fabrício França...
View Articlereplace a unique clustered index with a clustered PK
What it the best technique for this?Doing a little database cleanup, we have a moderately large table 1.2m rows, with a dozen nonclustered indexes, and a unique clustered index that is not defined as...
View ArticleSSMS Backup databse
I use SSMS to back my database and realized that SSMS add newer database to the same file.For example, I use MyDB.bak file to backup my db.I look the content it inlcudes all previous version of the...
View ArticleSQL Server 2014 and SharePoint on-line (Office 365)
Hi,I've read something about the new version of SQL Server and I'm searching new about what will be delivered on SharePoint on-line: PowerPivot? PowerView? Other?Any suggests to me, please?Thanks
View ArticleUndo Changes in Table Help!!
I accidentally executed this queryUpdate Table Set Field = 1 Where Date < dtI need to undo this, is there i way to do so?Havent touch sqlserver since the execution of that query.
View Articletempdb full
Hi,Our tempdb database in on of our production environment is full, due to this backup dont happenPlease adviceRegards
View Articlesend backup report through dbmail
Hi,I am sending backup reports to manager on daily basis, I want to automate it through dbmail.What is my requirement is :First I should check if the database backup has happend with start and finish...
View ArticleWant to know events selected in Exciting trace
Hi everyonei want to know events that which are selected for exiting trace created and weather it is monitoring only Sysadmin or all other users?Thanks,Maddy
View ArticleAccess issues in SQL Server 2008 R2
Recently we had a SQL Server knowledge transition from one of our client. The client has numerous servers and hence during the transition they missed some of the servers in the inventory. Now we have...
View Articlesql_handle for a Stored Proc does not exist in dm_exec_query_stats
I am in the process of creating a script that would return the resource usage of stored procs in SQL 2005 as there is no "dm_exec_procedure_stats" DMV available in SQL 2005. I have used the following...
View Article