cant drop a partition scheme due to wrong dependencies!!!
Hi,I found that my database has partition schèmes and functions created by the index tuning wizard.But I can remove them, SQL Server think there is a dependency to a table in the database.but the...
View ArticleSelectively flushing BUFFER CACHE
We use SQL EXPRESS 2008; so we are limited to 1GB memory. The following query, lists the top databases using highest buffer cache. In my case, 2 insignificant databases are listed at the top. The...
View ArticleMaster and recource database
What is the main difference between Master and Resource Database?
View ArticleDate Time Conversion to Custom Format
Hi All, I am using SQL Server 2012 sp1 .I have a table column with the following Date Time values.BLDCHKDT-----------------------2013-06-19 00:00:00.0002013-07-22 00:00:00.0002013-08-21...
View Articlecumulative update vs Hot fix
hello team,what is the sql server cumulative update?,what is the hot fixs? and what is the sql server service packs?.when we can use above three cumulative update, hot fixs and service packs.
View ArticleDBCC CHECKTABLE (,REPAIR_ALLOW_DATA_LOSS) WITH NO_INFOMSGS, ALL_ERRORMSGS...
I try to recover my 10 TB big SQL DB, but the process hangs at 9-10 % I tried with DBCC CHECKTABLE instead but one of the largest tables stopped at 97.34% finishedWant can I do?
View Articledecoding Query Plan XSD (RelOp)- what is the difference between OutputList...
under http://schemas.microsoft.com/sqlserver/2004/07/showplan/showplanxml.xsdwe have <xsd:complexType name="RelOpType">-<xsd:sequence><xsd:elementname="OutputList"...
View ArticleMeasuring Performance Gain from Changing Power Management from Balanced to...
I have seen the recommendation to set the Power Management setting in Windows to use the High Performance plan in Windows rather than the Balanced plan. How would I measure performance improvements...
View ArticleInformation about linked server details including remote login in use
After joining a new organization, one day an application support came to ask brief information about all the SQL Server linked servers and few more important configuration details.They were looking to...
View ArticleMoving Database
How to move database from one instance to another instance of the same SQL Server Version using code.What are the pre and post requisites I need to take care before I proceed.Please help me ASAP with...
View ArticleHow to take SQL database backup in .zip format ?
Hi ,I want to take the user database backup in .zip format on sql server 2005 .Could you please assist me & share the solution with me .Thanks ,
View Articleidentify database file usage
I would like to identify over the last X seconds how much data has been written and read from each database file by SPID, is this possible? I want gather information on our busiest files and...
View ArticleService Account for SQL Server Agent on SQL Server 2008 R2
This SQL Server instance is SQL Server 2008 R2 (10.50.4000). We had Active Domain Service accounts created to run the service accounts for SQL Server and SQL Server Agent.It has become company policy...
View ArticleRemove seconds from datetime column
Hi,I have a datetime column in my one of the tables. I need date value with out seconds like as belowI/P --> 1900-01-01 19:02:33 O/P --> 1900-01-01 19:02Thanks in advance
View Articlesp_send_dbmail recieptient
HI all~~I am using sp_send_dbmail and I found I can't send to receiptient using a short namelike : xxxx which is xxxx@domain.comwhile in SQL 2000 it is ok~~ any problem ??
View ArticlePerformance testing
I compressed a database now I want to test the performance increase. I can't run a trace on production. Is there somewhere I can find some queries that I can set statistics IO on and measure the...
View ArticleServer Level Encryption
We have a new product coming in that will update their product every quarter by spawning a new set of databases. We also have a requirement to encrypt certain columns in a table etc. We don't do a...
View ArticleDBA Production Support and Agile methodology
Has anyone successfully implemented agile philosophy in a DBA production-support environment? I'm just curious to know how the DBA-world is responding to this SDLC process?
View ArticleSQL Server 2012: Can't start database after it crashed with millions of...
Hi All,A long running query with millions of uncommitted transactions was running when the server crashed. When I try to restart SQL Server 2012, I get the following messages in ERRORLOG:2014-03-10...
View ArticleLync SQL database Issue
We have SQL database instance on a SQL server that has been used by Lync Environment. Our SQL team has just imformed us that trace files are getting created on the SQL server in an alarming rate. They...
View Article