Query Plan Guides and Parameter Size
Hi,Is there a trick to work around creating multiple plan guides for the same query where the only thing changing is the length of named parameters?I have a query that is issued by MS CRM 4.0. The only...
View ArticleCan you call a stored procedure via extended events?
I was wondering if there is a way to trigger a customized action (for example your own stored procedure or run a SQL/T-SQL statement) using extended events. Basically I would like to not only collect...
View ArticleSS2005 Express Edition SP4 Upgrade Question
Hi. Perhaps you can help reduce my confusion. I have a vendor package that incorporates SS2005 Express, currently at SP1. Our security manager informed me I have to install updates MS08-040 and...
View ArticleSQL Agent Keeps Executing a Deleted Job Step
We are still maintaining an old SQL 2000 install. On this server was a job with multiple steps. If any of the job steps ever failed, the job would jump to the last step and execute an extended...
View ArticleHigh Number of Runnable Tasks, But Low CPU
I’m using Quest Benchmark Factory to run the TPC-E workload on some SQL instances, and comparing results. I’ve got 1 server built to our company’s standards (standard hardware, disk, etc.). It’s...
View Article701 Error message: Insufficient memory
I am using SQL Server 2005 enterprise edition with Microsft windows server 2003.The Ram is 8 GB. I run my application and application crashes.When i check SQL server log , i fing 701 error.I have...
View ArticleSQL Server Performance issue
I am usine SQL server 2005 standard edition. Our system has a process of Day end.This process is executed at end of the day and performs different operations.This process consists of a stored...
View ArticleHow to use this function to calculate Datediff, Datepart etc
Hello ForumI have created the following function to set the start of the financial year. What I need to know is how to use this function in order to perform date functions within a database where the...
View ArticleThe mail could not be sent to the recipients because of the mail server...
Interesting db mail issue. If i click send test mail from sql mgmt studio, it works fine, but when i execute a SP to send a mail, it fails. One thing I noticed is that the "LastModified" column in the...
View ArticleSQL Server Performance issue
I am using SQL server 2005 standard edition. i have a stored procedure which has to perform settelment of 25,000 contracts.when i execute this procedure settelment of first 10,000 contracts are...
View ArticleSQL 2000 Enterprise Edition on Windows 2008 R2 client request...
Hi fellow DBA's etal...I need to get a straight answer to this client for which I am on site.I have already stated that this is not supported however, a reply from a MSFT or MVP would be greatly...
View ArticleUndocumented switch to run SQL Server Database TEMPDB across multiple disks...
I am at a client. The client is running SQL 2000 Ent on Windows 2003. The in-house engineer tells me that there is an undocumented switch that allows tempdb to run across multiple disks.I myself have...
View Articlesp_send_dbmail csv attachement generating extra blank line between results
I have a query that I would like to email the results in a tab delimited csv so that it can be opened easily in excel. When I run it in sp_send_dbmail as such:exec msdb.dbo.sp_send_dbmail...
View ArticleLarge Index Quickly Fragmented
We have a 400GB database in SQL 2008 (compatibility 80) we recently upgrade from SQL 2000. For some reason this database seems to have frequent fragmentation issues. There are quite a few indexes in...
View ArticleHow do I get the internal SQL Server Database version number of an .MDF...
I have SQL Server 2008 and 2012 installed on my machine. I am writing a VB.Net application in which I would like to be able to obtain the .MDF file version number and create a connection string thtat...
View ArticleChanging MAXDOP setting for VMware SQL Server
Hi All,We have a SQL Server 2008 Standard Edition virtualized with VMWare, running on an ESX host that has 2 sockets x 6 cores with Hyperthreading ON. That gives us 24 CPUs.We have created that SQL...
View ArticleSQL Server does not exist or access denied
The Story is like the following:there is some asp program on XPs , to connect to SQL 2005 SP4 server, and sometimes get the error"SQL Server does not exist or access denied" when try to built...
View ArticleSQL Connection Intermitten Disconnect
Hello,Currently we had encounter an issue as our Web Application capture an intermiten disconnect issue to our SQL Server. We using SQL 2000 SP4 that running in Windows Server 2003 R2. I would like to...
View ArticleSQL Server 2008 cluster node going down unexpectedly
Last night our primary SQL Server node went down and failed over to the secondary node. I was actually on the server at the moment having just launched a trace to troubleshoot a particular query when...
View ArticleTPC-E test on SQL Server 2012 high runnable task count
I know I probably shouldn’t be replying to this old thread, but I’m crossing my fingers that Jonathan Kehayias will see activity on this old thread and respond…I’m using Quest Benchmark Factory to run...
View Article