sql server x64 access x86 COM object
I want to transfer a database from SQL Server 2000 x86 to SQL Server 2008 R2 x64 but it uses a x86 COM object that I have no inside knowledge of. I know there are some articles out there about the same...
View ArticleQUOTED_IDENTIFIER is a parse time setting but what if there are two in the...
BOL for this setting (2005-2012) hasn't changed. It says it is a parse time setting which happens before any lines are executed.SET QUOTED_IDENTIFIER OFF; DBCC useroptions EXEC(" IF EXISTS (SELECT *...
View Articleafter tuning my Stored procedure is taking more time
Hi,I have a stored proc which is taking some 40 secs to give the result set. I wanted to tune the SP. So i included the actual execution plan to see if any indexes are missing. We have used few temp...
View ArticleDatabase Load balancing
Dear All,Is there any way to configure 2 instance use only Database in storage?Please advise.
View ArticleDifference between create table and alter table – upgrade process.
HiLet use this example to present my issue.I develop some application that from time to time is released to the customers. This app has database and in this db I have table Users with two columns: Id...
View ArticleWhy SQL server Database go in Offline mode ?
Hello All,Can any one please let me know why the SQl server database go in offline status.What steps should be taken if ALTER DATABASE AdventureWorksSET ONLINE is failed.
View ArticleSQL server equivalent for Oracle Spool
I am try to run a report every hour and send the results to a csv file. I have scheduled the job is SQL server agent but I cannot seem to be able to spool the records to an excel file(or any file).I...
View ArticlePartial Restore of primary file group issue.
hi,I have done a partial backup of few file groups that includes primary file group. I started restoring primary file group.. while restoring it on different server, I get an issue as below.What's...
View ArticleReclaim space from filegroup.
Hello,Here is the scenario..this is a datawarehouse with all historic and current data. The filegroups for 2011 and 2012 have data for respective years. The filegroups have unused space in each file...
View ArticleSQL Server 2008 R2 - Error Message
Hi Guys,Will you pl lookin to the below error and advise, please:Error...
View ArticleSQL server Agent Job email notifications not being sent
I trying to set up some failure job Email notifications on Sql Server Agent jobs. So, I configured database mail and tested and was able to receive mail through sp_send_dbmail and "Test mail" option...
View ArticlePowershell runs differently in SS2008 Agent Jobs
I have started adding Powershell to my Agent jobs. However, Powershell scripts which run on my desktop do not always run in a SQL Server Agent Job step as type "Powershell". Once the syntax errors...
View ArticleLog Shrink
Hi Gurus,Why should the log backup required before shrinking. What happens if i shrink the log file directly.Thnaks in advance.Regards,Venkat.
View ArticleSQL consistency based I/O error, help needed
Hello everyone.I'm new to database errors so I'm not really sure what I should do next. I'm using an accounting program running on SQL Server Express 2005 (9.0 SP3) on a Windows Server 2008R2. While...
View Articledoes Max Server Memory Setting has an effect on the execution plan - and how?
Hi,we face some strange execution plan changes while upgrading the server hardware.SQL Server Version: Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64) Jun 28 2012 08:36:30 Copyright (c)...
View ArticleLog file backup
Hi All,My database have active connections. Do i need to keep it in offline in order to take logfile backup.another question is what is the use of transaction log backup. Please help me.Regards,Venkat.
View ArticleMemory clerk misleading info?
I am trying to reconcile memory usage on my servers as some of em have memory issues...Its been 2 days and going through numerous articles including Salvo/bobward, i created below code to see all...
View ArticleBest Practice to maintain data
Hi All,Am new to sqlserver DBA. What is the best practice as a DBA for maintaining data. All my databases are in production. Am slightly confused how to manage data in databases, the recovery models...
View Article