How to change the default backup location?
SQL Server puts backups in a default folder C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup Is there a way to change that to a different location? I'm using Smo.Backup object in my code to...
View ArticleQuery Plan For SQL 2000
Hi all`~ Is it possible to retrieve the Cache query plan xml in SQL 2000... ??
View ArticleLinked server to SSIS Catalog random connection issues
Here is my scenario:-We have sqlserver 2012 installed for all instances-We have a sql server that is just a ssis catalog server. [SSIS Catalog Server]-We have a sql server that has our actual databases...
View ArticlePush data from MS SQL Server to Web Application
HiI have MS SQL Server 2012 Express on one end and a Node.JS web application on the other.I need some way of tracking DML changes (insert, update or delete operations) to given tables.Update Example:If...
View ArticlePrevent database locking when ETL runs
We have one server that acts as our production database and one report server. We have ETLs configured to run around 1 AM. Occasionally, there will be a situation where an end user pulls a report while...
View ArticleSSIS 2008 Rebuild Index Task increasing Log Size
I am testing SSIS 2008 Rebuild Index Task on a single database (db1). I shrank thedb1's log file to initial size. I also checked the box Sort results in tempdb on the SSIS package.However, when I run...
View ArticleSQL Server is terminating(Shutdown)
SQL Server is terminating because of fatal exception c0000005. This error may be caused by an unhandled Win32 or C++ exception, or by an access violation encountered during exception handling. Check...
View ArticleTempdb- Disk size Requirement for Tempdb Database?
Working on new project that have fresh windows and SQl Server Install on physical machine. Like to know what should be the disk size to keep for tempdb Intially? like 10Gb or 20GB? It will be on...
View ArticleSA using Temp DB
Hi all~~ I found there are two processes which is login by 'SA', from local, program name is "Management studio" running to following to the tempdb: SET NOCOUNT ON;DECLARE @previous_collection_time...
View ArticleMemory full disaply on Task manager on 2012 box
on windows 2012 servers, In Task manager when we checked memory, it always shows 98 to 99% consume. Is that mean memory is full on that server?Rahul
View ArticleCumulative update patch 9 for SQL 2012 SP1 doesn't update SQL version number...
I have applied CUP9 to the SQL2012 SP1 server. Update went through successfully and I restarted the server. However, SQL version didn't change to 11.0.3412 as expected, but still shows 11.0.3000. It...
View ArticleSequential index counter reached maximum value
Could some expert help me understand what exactly is the meaning of - Sequential index counter has reached its maximum(JET error -1078)?How to deal with this condition? What factors can cause to this?
View Article"Fetch Next from" very slow
Hi all ~ There is a cursor inside a store proc. and at the middle of the loop, became extreamly slow..and I look into "sysprocesses""Fetch Next from cursor_name" SUDDENLY uses huge logical read.~~~~I...
View ArticleSpace required to rebuild an Index
I have gone through some MSDN links which says space required for an index rebuild would be 120%- 200% but i was testing on one of the large table 100GB with a clustered index.I shrink the DB & log...
View ArticleSQL Server 2008 R2 Single Node Cluster Patch CU5
I have to install the CU5 patch on a SQL Server 2008 R2 SP1 server that is a single node cluster. What is the process for doing this task? Should I shut down the cluster and stop the services for the...
View ArticleSQL server crawling..
I need help.. I have a Dell R900 with 4xquad core processors, and 132 gigs of ram in it. Its been working fantastic until recently my database size has exploaded to now 200 gigs.SQL is currently using...
View ArticleError message when I do DBCC CHECKDB
Msg 8921, Level 16, State 1, Line 1 Check terminated. A failure was detected while collecting facts. Possibly tempdb out of space or a system table is inconsistent. Check previous errors. Msg 802,...
View Article"Hide Instance" setting not working with 2012 SQL Server Database Engine
I have turned on the "Hide Instance" setting in SQL Server Configuration Manager on my SQL Server 2012 Database Server. After several restarts of my SQL Server/Agent/Browser services, as well as the...
View ArticleRestore
When i changed a backup path (in Maintenance plan) from one disk(F - Drive) to Another disk (G - Drive), and trying to restore that time i noticed user name have been changed from SA to NT...
View ArticlePowershell script to add domain user in Sql 2008 for dbcreator, sysadmin role.
Hi,I am trying to add domain\test user to the sql server 2008 server. i want to get it done using powershell but i am unable to do it. I want to add domain\test on server with sysadmin, dbcreator...
View Article