Viewing 15 posts - 3,076 through 3,090 (of 6,397 total)
A quick Google search for "using triggers to track changes" yields many results
http://www.philosophicalgeek.com/2008/05/13/tracking-database-changes-using-triggers/
December 18, 2012 at 8:53 am
First off run this
select 'insert into #temp select count(*),'''+name+''' from '+object_schema_name(object_id)+'.'+name+';' from sys.objects where type = 'u'
Then copy the output from the above and paste it into the comment...
December 18, 2012 at 8:51 am
Transactions or records as they are two completely different things?
December 18, 2012 at 8:41 am
You can reference the named instance in the linked server configuration
On the General page, in the Linked server box, type the name of the instance of SQL Server that you...
December 18, 2012 at 8:19 am
Do you have a firewall in place between domain A and domain B for the Server VLAN? If so you will need to ensure that the correct ports are...
December 18, 2012 at 8:06 am
SQL will use memory from outside of the buffer pool, things like CLR for example use additional memory, so even though it is capped, it can go over by usually...
December 18, 2012 at 7:54 am
Do the procs have the EXECUTE AS clause to let them run under higher privileged accounts?
December 18, 2012 at 7:51 am
System processes are no longer limited to SPID < 50 they can go over 50 depending on the task they perform.
December 18, 2012 at 7:04 am
Potentially down to page splits where the updates have now pushed the xml off into the LOB pages from in_row, depending on how big the XML data is in the...
December 18, 2012 at 6:31 am
It would depend on the load on the SSRS server as the XML will need to check that all depended objects exist first before allowing you to actually look at...
December 18, 2012 at 6:20 am
If its 2008 R2 have you tried caching the shared datasets so that it doesnt have to prepare and execute then each time the report is accessed?
http://msdn.microsoft.com/en-us/library/ff487452%28v=sql.105%29.aspx
December 18, 2012 at 6:08 am
DECLARE @sql NVARCHAR(MAX)
SELECT @sql = REPLACE(
CAST(
(
SELECT 'USE ' + QUOTENAME(name) +';' + CHAR(13) + CHAR(10) +
'SELECT ' + CHAR(13) + CHAR(10) +
'DatabaseName = DB_NAME(), ' + CHAR(13) + CHAR(10) +
'a.FILEID,...
December 18, 2012 at 5:45 am
Do you have transaction log backups? Do you know when the corruption happened?
December 18, 2012 at 5:35 am
Simple thing would be imagine 2 tables, with 1 column.
Trigger on each table after the insert of a value into the column
Insert into Tab1 fires Trig1 which inserts the value...
December 18, 2012 at 5:32 am
December 18, 2012 at 5:27 am
Viewing 15 posts - 3,076 through 3,090 (of 6,397 total)