question
The space on the drive1 where the primary data file of the database is located is running out of space, and also on the drive1 master db is located, so we did the following as our sys admin team were...
View ArticleIs there any way to get SQL Server Database growth Report for ALL SQL Servers...
Hi All,I have been facing a lot of isssues due to database growth. In need of a monitoring script.Is there any way to generate SQL Server database growth report for all SQL Servers in an environment...
View ArticleREPLACE exact match in string
Hi,I am using SQL Server 2008 R2 Standard Edition. My question is:How to use the REPLACE function (or any other T-SQL function if you have a better suggestion than the REPLACE function) to replace...
View ArticleHow to change backup destination path to disk
Dear all,please help me as soon as possible. I'm new DBA, i was changed to backup destination from tape to drive and did backup of the database. After that i tried to change replace to tape the option...
View Articledetach database
HiI want to detach a database, but by mistake i also checked Update statistics, now it is taking long time. Please suggest how can I cancel it, can i kill the update process.REgardsBilalBilal
View Articlerestore with norecovery
if you have a mirror or logshipping setup where the secondary database is not recovered, so each time the tran log is applied, the rolledback transactions are not rolled back.and if in a DR failover...
View ArticleHow can I decide that which hardware I choose?
I have to design a website in which at peak time around 10,000 connections hit at the web server and also at database server.How can I decide that which hardware I should choose?Thanks
View ArticleBackup-restore vs running the same SSIS datacopy project twice
I have 2 different applications which need the same source data which is copied from a production database. The 2 applications run on different servers, so they can not use the same source database....
View ArticleSQL Server Data Recovery
How could i set up a recovery plan for my Databases that are taken daily full backup at night. but what if something happens in between the day. how could i set up a simple recovery plan to over come...
View Articledatabase log full
what are the option to free up the log?1. kill spid filling up log.2. backup the tran log - to disk or truncate only or no_log.3. change the database to simple recovery mode, delete ldf file and then...
View ArticleI have change a table column and now around 300 views are not showing the...
I have change a table column and now around 300 views are not showing the column name.please helpThanks
View ArticleHow should I start, stop or restart SQL services if it is in a cluster?
Hi,For migration purpose I need to stop sql server services in a cluster. I don't want to failover the cluster I just want to stop the sql server services before the windows system admin shutdowns the...
View ArticlePrevent query from running if it is going to take up too many resources
I want to be able to check to see if a query is going to take up too many resources and if it does it is not allowed to run and inserts data about the query. Who, what when into a table and maybe...
View ArticleSQL Server Status SHUTDOWN | Normal
HiI have one sql 2008 database .TDP backup is running for this server.now I am not able to take log backup on this server.It is failing.When I checked the database properties I found that status -...
View ArticleFind foreign key which are able or not
Same as the topic ~ how can I find all the able/unable foreign key/contraints inside a database ? Using TSQL
View Articleconnection pooling error and DB server not responding..
Hi Team,one of my production server running good, but suddenly i am getting below error even DBA also unable to access.error:Error: 18056, Severity: 20, State: 29.The client was unable to reuse a...
View ArticleOFFLINE Index rebuilds vs ONLINE Index rebuilds
Hi, Can anyone please tell me the difference between OFFLINE Index rebuilds and ONLINE Index rebuilds? Which one is good over the other? Thanks
View ArticleFilegroup/Partitioning
Hi All,I want to take advice from all of experts,My database is located at data center and System Admin is telling to me SAN disk is sharable it means San disk is shared with many server and provide to...
View Articlesql server connecting error
hi Team,while i am tring to connecting sql server 2012 SSMS getting bleow error.Note: all named pipes and port are enabled .
View ArticleManagement Studio execute multiple sql at once
Hi all. I have 10 scripts file *.sql I would like to execute at once using management Studio instead of pressing F5 ten times.Is it possible ?
View Article