login script to move an instance of sql 2008 R2 to another
Hi,I need to know what are the steps to capture logins when we move an instance from one server to another. I know the sp_helplogins but the issue is the login can be created in the destination server,...
View ArticleBACKUP SQLSERVER
If I have a sqlserver database, if I take a full backup, differential or log, the data to be recorded in the mdf, ndf and ldf while backapea, not reflected in the backup .... end, it is so or am I...
View ArticleQuery 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 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 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 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 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 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 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 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 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 ArticleWhy heap table doesn’t support Ghost records?
Under default isolation level,we know index data page or non-clustered index leaf page supports ghost records ,but heap table doesn't.So my question is why heap table doesn’t support Ghost records?
View ArticleEstimated Number of rows Issue when Result set is empty
Hi All, i query the "orders" table from northwinds database The query is SELECT * FROM Orders WHERE OrderDate > '2000-01-01' The table has the orders data from 1996 to 1998 so ideally the result set...
View Article