Question about SQL Server PowerShell
Greetingscolleagues,I would likeyour support, I amrequesting aPowerShellscriptthat Ireturnas a resultthe list ofdatabasesfor an instancethat has alarger than 50GB. Thanks"How many years can some...
View ArticlePolicy based management-SQl 2008(Mangement studio)
Hi all, Is it possible to create policy like which may not allow your :D or :any drive to exceed above 500GB. My main concern is can policies manage beyond management studio.
View Articlephysical_device_name corrupted by 3rd party Backup - Is this a problem?
Hi, there is a situation where an outside component is running SQL Server FULL Backups. This tool is putting junk text in the physical_device_name column of thebackupmediafamily table. They explain...
View Articletransaction log issues
I am having an issue with out of control transaction logs. Here's the scenario:We have a SQL based application. We use 2 database servers, one for production, and a second one for test/training....
View ArticleDoes taking a full backup free up space in the transaction log file ?...
Do I need to backup the log separately, as I sometimes see this done. This is for a development database, so I think my best option is to simply set the DB recovery model to "simple" and be done with...
View Article"unable to create restore plan to break in the LSN chain" during exercise in...
Hi,Bought the MS book "Administering MS SQL Server 2012 databases" and currently working in chapter 7 and its about mirroring. In one exercise you have to create a mirrored database. The first step is...
View ArticleSQL Server high memory usage issue ?
SQL Server 2005 SP4 Enterprise Edition 64 bit & Windows Servr 2008 R2 Enterprise Edition 64 bitTotal Meomory 32GB & Currently utilizing 31.6GB I just configured - Min memory 2048MB & Max...
View ArticleHow to trick Data collector to insert data in a view?
We are using Data Collector to aggregate data from some SQL Server views and insert them into a table in the Management Data Warehouse DB. I would like to create an identity column in the destination...
View Articlesql server agent job history not showing
Hi all,I have a job which was daily schduled @8.00 am it was fine but from 3rd of april 2013 it doesn't shows job history it shows upto 2nd april 2013 if i run it manuvally but also it doesn't show...
View ArticleLogin hash - how am I able to re-create the login on another server?
Im using a tool to script out my DB for placing into source control. The logins are scripted out also, and looking at them, the passwords are hashed.Ok great, so when I run these scripts on another...
View Articlehow to monitor/alert user connections reach to certain numbers?
One of our applications got timeout error a couple of times already, it was back to normal 5 mins later. I could not find any error in sql log file, Windows event view and cluster logs. We guessed...
View ArticleRestore backup
Hi All,I wanted to restore my production database backup on my test server. What are the prerequisites to be followed for this.Can i directly restore my database or is there any need to sync the paths...
View ArticleRunning disk defragmenter stuck on 3% "moving *.mdf"
Im trying to clean up a development server and I noticed 2 of the disks were badly in need of defragging.So I kick off the disk defragmenter, and noticed in the status bar its saying "Defragmenting......
View ArticleSQL error 17113 while starting the the Server in Single User mode
I am running into a strange error while trying to perform a master database restore.While trying to start the Server in Single user mode I get a error 17113, the Server stas in multi user mode as...
View Articlecan't attach outlook 2013 bcm database in SSMS
Hello,I upgraded my laptop from Windows 7 64 bit Office 2012/BCM 32 bit to Windows 8 Office 2013/BCM.before the upgrade I detached the bcm database in SSMS. made copies of the mdf and ldf...
View Articlewhen I sp_recompile an SP
I have two plans for mySP in the plan cache.I presume they differ only by the "set options".If I run sp_recompile on mySP, will *both* necessarily be recompiled?Thanks.Joshps: SQL 2008 R2
View Articleidentity increment changed in an unexpected manner ??
Hi, the identity column of one table suddenly changed the increment from 12 , 13 , 14 ... to 10015 , 10016 , 10017 , what can i do to solve this weird trouble ???
View ArticleRestore of 2005 compatible database on 2012 server fails on 2008 server
I have a 2005 compatible database running on SQL 2012 server that was created by backing up and restoring the database from a different 2008 server. I am now trying to back that database up and...
View ArticleCannot start SQL Server EXPRESS 2008 R2
Hi,I have installed SQL Server Express 2008 R2 on my Laptop. Earlier I had SQL Server Express installed on there (and working fine, no issues). But that did not had SSIS and SSRS. So to get SSIS and...
View ArticleCannot connect to SQL Server
Error trying to connect SQL Servertimeout expired. the timeout period elapsed prior to completion of the operation or the server is not respondingError while trying to Execute a procedure from Stored...
View Article