sql 2005 recovery model changed from full to simple-implications for backups
One of our developers had an issue with drive space for the log files during a database upgrade. They changed the recovery model from full to simple at around 16:00, used shrink on the log files, then...
View ArticleEDU B E32-00981 vs EDU NL E32-00982
What is the difference between Microsoft SQL SERVER DVLPR EDTN 2012 EDU B E32-00981 and Microsoft SQL SERVER DVLPR EDTN 2012 EDU NL E32-00982
View ArticleCDC capture instances
I am new to CDC and am running into an issue. I am playing around with capture instances where I have specified the columns I am tracking. I create a capture instance for a few columns and make some...
View Articlenew instance unable to logon regardless of which account
existing server (server 08 std r2 / SQL 08 r2 std). installed a new instance for a citrix database. no matter what I do, no account can connect to the instance in SSMS (accounts that are sysadmins)....
View ArticleSetting up linked Server in SQL 2008 R2
I'm trying to setup a linked server connection from SQL 2008 R2 to a SQL 2000 machine. Here's my linked server settings: EXEC master.dbo.sp_addlinkedserver @server = N'SOMESERVER.COM',...
View ArticlePlan Guide Template Forced Parameterization Not Working (SIMPLE QUERY)
Hi, I need assistance with getting a forced parameterization query plan to work. The database has 'optimize for ad hoc workloads' disabled. The database is also set to a compatibility mode of 100. You...
View ArticleDBCC Checkdb running for ~4days
Hi, DBCC Checkdb was taking 2 days until last week and now it is running for almost 4 days and showing that it only completed ~38% as per following data from sys.dm_exec_requests and most of the waits...
View Articleembedded database in .NET program
Hello, I'm pretty much new to what I'm going to do. And I've got only a few days. I need to develop a C#.NET program that will invoke a stored procedure on SQL Server 2008/2012. Then I will need to...
View ArticlePerformance Issues
Hi Gurus, I just got a new job and we have a Data Warehouse and a bunch of SSIS packages/stored procedures that build the Data Warehouse overnight. Every other day, the jobs fail complaining about...
View ArticleSQL database mail authentication
I would like to set sql database mail to authenticate with specific windows domain account. But the only option I have found is to send database engine service credentials. Database service credentials...
View Articleneed space every 3 digits from last
Hi all, i have a column CITY, in that i have data like 'BANGALORE' but i need 'BAN GAL ORE' i mean every 3 digits need a space from last(need to start from right) how can i get like this plz help me...
View ArticleRebuild Index ONLINE = ON vs DROP/Create index
I came across with the following scenario: The system started to perform very poorly. I checked sys.dm_exec_requests and there were several UPDATE calls waiting on the resource KEY XX:YYYYYYYYYYYYY....
View ArticleRestore a database from Enterprise Edition which has CDC enabled on a...
Hello, I have a SQL Server Enterprise Edition which holds a database which CDC enabled. I took a backup and then tried to restore it to another SQL Server but Standard Edition. I got below error...
View ArticleWhat is the purpose of Transaction Log in Tempdb
Hi Experts, There are a lot of questions and blogs on truncating and reducing the transaction log of tempdb. But what I understand is that the purpose of transaction log is to recover database (on...
View ArticleSQL Job ExecCMD spans multiple lines
We currently have following code run as a T-SQL step in a SQL jon UPDATE Table1 SET Col1 = <somevalue> SET Col2 = <somevalue> SET Col3 = <somevalue> WHERE Col4 = <somevalue> We...
View ArticleAdd Identity Column to an Existing Table - SQL server 2008
I have a table T_ACTIVITY_ERRORS which has fields ACTIVITY_NUMBER,ERROR_ID, ERROR_COMMENTS etc and the number of records in the table are close to 20,000. I want to add a new column ACTIVITY_ERROR_ID (...
View ArticleSQL 2008 connectivity error
Hello, There are intermittent connection failure errors in one of our production SQL 2008 database server. Our database server is SQL 2008 SP2 on windows 2008 R2. The application is a resource...
View ArticleDACPAC powershell deployment issue
Hi, I am using SQLServer 2008 R2 with SP1 and getting an error while deploying a DACPAC by using powershell script. The DACPAC has been generated by using MS VisualStudio 2010 Version 10.0.402191...
View ArticleUtility Control Point
I am trying to explore the R2 feature Utility Control point and i figured that it creates a lot of SQL Server jobs. Is there are good white paper or some such that talks what role or task each of these...
View Article