query to find the last transaction happened on particular database in one server
Hi, I have requirement like I have multiple databases in one server,I would like to know what is the last transaction (insert,updates,deletes,etc..)happened in particular database and on which table....
View ArticleLinked Server to Linked Server connection (SQL 2008)
Hi, We have a SQL server (server1), with an Oracle client installed on it, and a linked server to an Oracle database. Now, we have another SQL server (server2) without an Oracle client on it - but we...
View ArticleSQL Server 2008 R2 { An Error occured when attaching database(s) }
Hello Guys! I just installed SQL Server 2008 R2 a couple of days ago, on the first day use i can attach database(.mdf) with out any problem. on the day 2, i keep getting this error:...
View ArticleBackups and Alwayson
We will be upgrading our server soon and we will have a hardware standing doing not much. Currently we are having hardtime fitting DBCC and Backups fit in our weekly schedule. I found out backups and...
View ArticleIs it true that the forward pointer of a transaction log is used for redoing...
Is it true that the forward pointer of a transaction log is used for redoing transactions and the reverse pointer of a transaction log is used for undoing transactions?
View ArticleStrong password not recognised
Using SQLEXPR_x86_ENU.exe to create a new instance in SQL Server 2008 R2 Get to Account provisioning and select Mixed Mode Authentication Enter a strong password for sa account Receive error saying...
View Articledb tuning advisor and sp_execute
Hi all, Am just a bit confused. Tried to analyze a workload tracefile in database tuning advisor (SQL 2008 r2 enterprise x64) with only sp_prepare/sp_execute statements. Qutestions: - Is DTA able to...
View Articlesql server 2008 is terminating because of fatal exception c0000005
I am getting the following error in two SQL Server 2008 servers. This happens usually every two days for a month now. The SQL Server log dump is below.SQL Server is terminating because of fatal...
View ArticleChange Tracking Question
Ok so I have a simple question about change tracking. Currently our ETL harvests data from roughly 100 tables on a single database. If we were to enable change tracking on these tables is there an...
View ArticleSQL Server 2008 r2 utilizing high physical memory
Hello Guys, We have a server and below are the details: System Manufacturer: HP System Model: ProLiant DL380 G5 System Type: x64-based PC Processor(s):...
View ArticleSQL Server Services - Stopping Randomly
Hi, The SQL Server services (MSSQLServer , Agent service) seem to stop randomely from time to time. I have no clue as to why this is happening. My agent service seems to have stopped 4 days ago, and I...
View Articlecreate new user in SQL Server 2008 with the help of query
how to create new user in SQL Server 2008 with the help of query...???? i have to already query but that is not working USE master GO CREATE LOGIN [con1] WITH PASSWORD=N'test',...
View ArticleStart incremental population command getting blocked
Hello everyone, We have a full text index on a table with timestamp column. The table is highly active with lots of select/insert/delete commands. Hence the auto population causes deadlock and...
View Articleduplicates and uninstalled instances when opening sql mgmt studio
Hello - Im trying to get a full SQL server turned up for my organization. I have a series of duplicates of both installed instances and now duplicates of successfully uninstalled instances when I open...
View ArticleGet notified when delete query is fired
I need to know when a delete query is fired on any table in a database. Is there any way I can find out this? Also if a record is deleted from a table, can i revert back that particular change in data?
View ArticleCan auditing report on a GRANT SELECT?
Greetings. I'm trying to get notified when an administrator issues a GRANT SELECT permissions on a table. I believe I've tried all of the database_% audit possibilities, to no avail. Can this be done?...
View ArticleDatabase and Agent Services on cluster
Hi, Should Database Service and Agent Service be in Automatic startup mode or Manual on Cluster? Thanks
View ArticleThe job was stopped prior to completion by Shutdown Sequence 0.
We got below error during one of the sql server agent job running. The job was stopped prior to completion by Shutdown Sequence 0. We are using SQL Server 2008 R2. I dont see anything in SQL Server...
View Article