new 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 ArticleVery Slow Response Time retrieving data migrated from MySQL to SQL Server...
SSMA 5.2 migrated from MySQL 5.0.51a to SQL Server Express 2008 R2 SP1 with Adv Tools via ODBC connection (tcp), using PHP 5.2.8, Apache 2.2.11 on XP. Fetching 1.2M of data: bigint (Unix) timestamp,...
View ArticleThe SQL Agent Service won't start under a specified (Domain) user account...
Greetings! I have a SQL Server on which the Agent Service will start and run, but only when configured to run under the LocalSystem account, which I don't want. The Agent Service will not start with...
View Articlesp_change_users_login
sp_change_users_login 'Report ' Does this actual reports the Domain Or Network groups and users If there any Orphan users ?
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 ArticleSqlDependency query notification subscriptions cause row updates to lock...
I'm using SqlDependency to monitor a table for changes. However, whenever SqlDependency begins monitoring a table, any updates to that table inside a transaction cause the entire table to get locked....
View ArticleDifference in the detail of logging in Simple recovery and bulk-logged...
Besides from backup point of view, what are the differences in different recovery models? Is the logging optimized in simple recovery model comparative to bulk-logged model?
View ArticleSELECT query, row versioning and TempDb
Hi All, I am on SQL Server 2008. I want to clear my concept about row versioning and usage of TempDb. In my database, read committed snapshot is ON. Now lets say, session1 is updating some data in...
View ArticleDBCC fileHeader sectorsize and actualsize difference
I installed sql server 2008 on my system and create 1 user Db. when i executed dbcc fileheader('master') sectorsize and actualsize were 4096 and 512 bytes respectivley. and for user database sectorsize...
View Articlesql 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 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 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 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 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 Article