I am running the job getting below error while on changing job owner to first...
I have two sa accounts on sql server 2008 R2:1. xyz-NDC-SDB2-U\Administrator 2. xyz-NDC-SDB2-U\UATDBADMINFrom second account a new job is created and sql server service is running from first...
View Article100 % CPU Utilization by SQL server 2008 r2 express edition
Dear all, Can any one please help me to find the root cause of the issue. Our production server is running on sql server 2008 R2 express edition.( its running on Virtual machine Windows 2008 ). Its...
View ArticleSQL Server Express Backup Import.
Hi All,I've written a batch script to automatically import the latest backup from another server. Both are running the same version of SQL Exptress 2008. If I run the script via the command prompt it...
View ArticleSystem.OutOfMemoryException running Activity Monitor when total sql processes...
Hello,I am using Sql Server 2012. I get the following exception when the total sql processes become very large (in excess of 100,000) and I open Activity...
View ArticleError: 17204 (FCB::Open failed) - How to set persmission correctly on a...
Hello,Is there a process/procedure available in SQL Server which allows SQL Permission to be set properly for a given instance when a new drive is added? It seems like only way, that I know of, is to...
View ArticleMoving SQL 2008 R2 database
one of my database is inaccessible as the Drive space got full. I couldn't add extra disk space on that drive.Shall i make offline and then detach --> copy and then attach.The above approach will...
View ArticleSQL Server - Which one do I need
Hello All,I have install Visual Studio Professional 2012. I will develop a application that will use SQL Tables on the PC only, NOT on the web.Questions:(1) What SQL Server should I down...
View ArticleSo many LATCH_EX
Hi all I select select * from sys.dm_os_latch_stats to check wait type, and find many ACCESS_METHODS_DATASET_PARENT what's it actually doing? and it cost so many CPU resourcese.
View ArticleHow to get sql server editon assuming the sql server service is not running?
Hi all,I can find the sql server version info by checking the sqlserver.exe fileBut I cannot get the Edition information anywhere unless I can log into the server and do select...
View ArticleEventlog grows constantly with repeating message: Starting up database...
I'm not sure what I have done wrong!I installed the latest SQL SERVER 2012 Expression (with Advanced Services) (SP1). Then I downloaded the sample Adventueworks sample database from codeplex. I copied...
View ArticleUnable to connect to SQL Server '(local)'. The step failed.
Hii am getting below error , in sql Agent 2008(R2) RTM one of my job. if i run manually it getting succeed. But in job only some time it is getting failed , please help me note: this job is...
View ArticleScript to shrink the database file size
Hi, I wondering if its possible to shrink the database files if the database size reaches certain threshold. Also, is it a good practice to shrink database?
View ArticleSQL server instance getting corrupted.
Two months back, the SQL server instance which we were using got corrupted and getting the Error 26. We had contacted MS and they recreated the SQL instance. Yesterday the same issue repeated again....
View ArticleHow to estimate log growth when providing DML
Hi there,what is the way how to estimate log growth when providing UPDATE, INSERT,DELETE on table?I have tested growth on test table which has 25 milion rows of 4 columns, each type int. Whole table...
View ArticleProcedure for giving range of unique identity values produced duplicate ids...
Hello, we use the following (german) sql2008r2 environment =================================================== Microsoft SQL Server Enterprise Edition (64-bit) Microsoft Windows NT 6.1 (7601) NT x64...
View ArticleDatabase/table repair
I want to repair the one database table and it size is almost 700 GB and running on SQL 2008 R2 instance. i set to tempdb as auto growth.when i ran dbcc checktable and with an hour tempdb disk drive...
View ArticleDifferential Backup getting failed and the error: Msg 3035, Level 16, State...
Hi,We have configured Weekly Full Backup & Daily Differential backup through maintenance plan in SQL Server 2005 with SP3 and it was working fine till this Tuesday.On Wednesday the Daily...
View ArticleTuning Log Shipping Agents on SQL 2008 R2
I've got a server that's hosting about 100 log shipping secondary databases. I frequently see messages like this in the sqlagent.out file."2012-03-23 08:00:11 - + [398] The job (LSRestore_dbname) has...
View ArticleEVENT SESSION practical usage
What is an EVENT SESSION and the purpose of it. What purpose and advantage does it serve?I created a test EVENT SESSION and did not see it in SSMS 2008 R2, but I see it created by doing the query...
View Article