Msg 3013, Level 16, State 1, Line 1
Hi,I have sql server 2008 enterprise edition.My log file is showing about to full the HDD and the database is in logshipping but it is paused due to some customer requirement.I want to shrink the log...
View ArticleI 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 ArticleTransfer users from SQL to Windows Authentication
I woulld like to transfer current sql authentication users to Windows authentication, without loosing their respective grants to roles. Can anyone help.Thanks
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 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 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 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 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 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 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 ArticleSame Query Taking Longer Time On Identical Instance
one of my CTE query is completing in around 15 secs .. but the same query is never completing on another instance on the same box .. with same memory,CPU ETC .. all the indexes,stats are up to date on...
View Article