log shipping
Hi All, Couple of quick questions on log shipping. Appreciate your help on this. Question1) What is the use of monitor server in log shipping? It does not help in automatic failover as witness server...
View Articleperf issue
Hi All, Suppose, if users complaints that I am not able to connect to sql server box. How do we go about troubleshooting such issues as a sql server dba and how can we isolate things if it is sql or...
View ArticleFULL Backup Not Entirely Working
I have a strange issue with a Full Database Backup on a SQL Server 2008 Server.We have a Maintenance Plan that performs a full backup of all 6 user databases on the server. We then schedule it to occur...
View ArticlePowerShell script
Hi , I am looking for a powershell script that will pick the instance name from from text file and return me with the transaction log backup time ( start and end time in maintenance plan ) in excel...
View ArticleNeed to check multiple sql servers access using batch file.
I have 90 sql servers instances on which i have to check these are accessible or not for me, but its hard to connect one by one instance via SSMS & check i am able to connect sql server or not. for...
View ArticleI am getting issue from a user who extract data in an excel
I am getting issue from a user who extract data in an excel.His operation takes 30 second from server.Sometimes he get the error :Transport-level error occurred error 10054 and complete excel...
View Articlemdf attached as multiple databases in the same instance...
Hello,I have an instance with two databases pointing to the same mdf file. I believe this is in error, but the original dba/developer is no longer around.Can anyone explain why this may not have been...
View ArticleMystery Port Opened by My SQL Server
I have a clustered instance of SQL Server 2008 R2 (64-bit). My information security group contacted me about a previously unnoticed open port: 52849. The port is attached to the SQL Server process on...
View ArticleSQL Server Service Does Not Start
We backed up the drive that had the \Binn folder installed for the DB engine for SQL Server 2012. Deleted the RAID 10 array to add 600 GB to the array. Rebuilt the array. We then restored the...
View ArticleDisplay Count given below
Hi Friends,I need help from you to resolve my current issue.I have one table that is and how do I get the following result(Created_Date <= AsofDate ) and count of Android, windows phone and iphone...
View ArticleError 606 occured - Metadata inconsistency for temp table
Hello,we currently have an issue on a production server running SQL Server 2005 Standard:Executing a stored procedure, which again executes another stored procedure in which a temporary table...
View ArticleChange Data Capture (CDC) cleanup job only removes a few records at a time
Hi everyone, Summary of the problem: I'm a beginner with SQL Server. For a project I need CDC to be turned on. I copy the cdc data to another (archive) database and after that the CDC tables can be...
View ArticleUser creation on 100+ servers.
Hi All, We have around 100+ servers. and i each server has around 5 databases and i need to give read only access to 6 developers for all the 115 servers. To do this one by one it will take 2 days to...
View ArticleSplitting TempDB into multiple data files.
To avoid contention we have to split tempdb into multiple data files. But as for case suppose, there is 20 GB total space is on the drive containing 1 tempdb data file of 15 GB. And I have to create 3...
View ArticleSQL database backup issue on Server 2008 standard
HiI was running a user database diff backup task on SQL server Agent. it was working great until i rebooted the server yesterday.the task ran as SQL server agent service account, and exacutes a cmd...
View ArticleHow do i get the server name of sql server 2008?
How do i get the server name of sql server 2008?, i have tried localhost and it didn't workmicah D
View ArticleSQL alert blocked processes
Dear all, I need to find a way of sending a text message preferably when any blocks occur in sql server. For example, is there a way that it could be set up in the Alerts section within SQL Server...
View ArticleRebuil And Reorganise
Hi all, i have done fragmentation using below command ALTER INDEX ALL ON [dbo].[Table_Name]---------------still the value have not been changed, when am checking Fragmentation Percentage...
View ArticleDBCC SHRINKFILE command in maintenance plan job works manually, but not on...
In an attempt to release log file empty whitespace, we've added the following t-sql statement task as part of a weekly maintenance plan job:EXEC master.sys.sp_MSforeachdb 'DECLARE @ln varchar(max) SET...
View ArticleIndex fragmentation
Hi,Sql Server 2008r2, Our indexes on POLARX database are highly fragmented (>96%) on two big tables, each table have one clustered and 13 non-clustered indexes, because of size of the table and...
View Article