sp_send_dbmail fails when query uses linked server
I've seen this discussed in another thread however a solution was never found. This came up after we applied the SQL Server 2008 R2 SP2 patch to our DBMS which had previously been at 2008 R2 SP1. The...
View ArticleGetting an error when loading a .sql file to DTA
Hello, I am trying to look into a query thats taking 5 mins to execute on our production. Its an LinQ generated 6000 Line SQL query that the dev team is trying to put into production without any...
View ArticleMSDTC Disk resource Removal
What Steps shall i initiate if i want to remove MSDTC disk resource? SQL server is not dependent on MSDTC and vice versa..Manish
View ArticleHigher wait wait times
Hi, We are seeing performance problems on one of our servers. I ran the following query to get higher wait types : WITH [Waits] AS (SELECT getdate() as Time_Stamp,...
View ArticleSetFileIoOverlappedRange Bug- Question about available fixes
I have a 64-bit Windows Server 2008 R2 running 64-bit SQL server 2008 R2 RTM (soon to be SP2).I have read the CSS blog regarding the SetFileIOOverlappedRange bug...
View Articleupdate command being changed to delete+insert (deferred update)
I have a transactional replication of a table. The update commands being run to this published table are changed to delete+insert commands (deferred update). The update is not to the primary key. There...
View ArticleBest Practices Analyser on multiple instances
How can i execute BPA on mulitple instances (sql 2005. sql server 2008) in 1 shot and save recommendations?Should for this i have to revert PBM and then check around 20 servers using CMS?Manish
View ArticleStop Ghost Cleanup
how do you stop a ghost cleanup process which blocks a lot of processes in SQL 2005 Enterprise Edition?
View ArticleSolid State Drives for tempdb/log files
I have just read in SQL Server Internals book that SSDs are not a great fit for tempdb and log files due to the large anounts of writes that these files do and that SSD have a limited lifespan of...
View ArticleCan Profiler monitor remote server with T-SQL?
Using GUI with SQL Profiler, it is possible to monitor remote server activity. but how about monitoring via T-SQL?I can't find any option to specify remote server name or address. is there a way to...
View Articlehow does a server connect with sql server
I've got a horribly simple question, but one that I'm unable to find an answer: How does a server communicate with SQL Server.Let's say I want a stand-alone computer with IIS and SQL Server 200x...
View ArticleQuery Problem between SQL Server 2000 SP3 and SP4
Dear All,I'm trying to upgrade our SQL Server 2000 from SP 3 to SP 4.But before I upgrade the production server, I tested the database, job and login in SP 4 first in different server (which is more...
View ArticleFiltering SQL Server database tables data
Hello everyone,In the context of a feasibility study, we are exploring different ways to achieve a quite simple objective: for a specific database, display and process only five years old data, based...
View ArticleHow to select and split strings in column
Hi sorry for my inexperience I'm a little new to sql.I have a varchar(150) column that is formatted like belowColumn A001204H30540F63 98300H1 006578FD 08764GF2 006578FD00088F64 0097G43 0987G43...
View ArticleCDC database corrupt
Help, our CDC enabled database is corrupted on a systemobject, updates are still working fine, but no BU can be taken due to a checksum error during checkpoint.We copied all user data into a newly...
View ArticleInformation about linked server details including remote login in use
After joining a new organization, one day an application support came to ask brief information about all the SQL Server linked servers and few more important configuration details.They were looking to...
View ArticleTable Record disappear at once!!!
Hi All~ I have a table with about 1000 rows of records and don't know why all the records are deleted.are there any method can trace back the cause of it?
View ArticleConfigure profiler to trace stored precedures and tsql taking more than 30 secs
Hi,An application is logging quite a few timeout errors. I have looked at the code the web application used and I've noticed that in some function the command.timeout property is not set. The code is...
View Articlehow to query individual database startup time
I am seeing one of the mssql 2008r2 database starting up in the log. How do I see when it was shutdown and startup up.in the sql server log, it just stated its "Starting up database 'THISDB'thanks
View Articledeciding to Virtualize
Hi all If you are going to deploy a SQL instance to a VM what are the things you might do different compared to running it physical?Any good resources on what to do if you want to Virtualize Thanks in...
View Article