Viewing 15 posts - 16 through 30 (of 52 total)
Yes it's a couple of pages long so I've got around it by keeping it simple and only getting the fields you suggested.
Thanks,
Bruce
October 20, 2016 at 4:13 pm
Hi Jeff
I'm trying to add a bit more info into the audit table by adding this:
SELECT client_net_address,local_net_address,host_name,original_login_name,login_name,program_name
FROM sys.dm_exec_connections SCON
OUTER APPLY sys.dm_exec_sessions SES
WHERE SCON.session_id = @@SPID
AND SES.session_id...
October 19, 2016 at 8:06 pm
Great thanks for that. the other post is a bit complicated, I have a very simple model working and I can only improve on it if necessary. I much appreciate...
October 19, 2016 at 12:12 am
I have written triggers a long time ago so I'll give it a go and it all should come rushing back in.
Correct me if I'm wrong: I'll create the...
October 18, 2016 at 8:12 pm
thanks, that looks good. is the delete table specific to each table. I'm thinking I might get away with putting the trigger directly on the apps table which shouldn't get...
October 18, 2016 at 7:29 pm
my thoughts exactly although both ArcGIS and SQL manage memory really well. When I look at the performance the cpu's max out.
Thanks.
February 19, 2015 at 9:06 pm
my thoughts exactly although both ArcGIS and SQL manage memory really well. When I look at the performance the cpu's max out.
Thanks.
February 19, 2015 at 8:49 pm
The temp table is fast enough but I can't see a way to implement it at user level at this stage, the vendors are looking at it. The indexed view...
November 15, 2010 at 6:58 pm
Same result 7:26 for 32640 records. I have tried most of those (same thought) but not that one, thought you were onto something. Nice try.
Thanks,
Bruce
November 9, 2010 at 11:21 pm
I'll skip that, it will be the vendors problem. If it's only to be used in reports I can possibly create the view without the order by and sort it...
November 9, 2010 at 2:46 pm
Yes, thanks for that.
Would these record counts make any difference to your indexing changes:
select * from dbo.AMS_ASSETREGISTER --66451
select * from dbo.AMS_CATEGORY--115
select * from dbo.AMS_FIN_LINK -- 36240
Bruce
November 8, 2010 at 11:39 pm
I didn't try the temp table but that works, thanks for that.
I'll also see if the vendor will allow adding indexes.
If I use a view I obviously can't use...
November 8, 2010 at 11:29 pm
oh yeah, the tables belong to an application so I can't change any indexes.
November 8, 2010 at 11:10 pm
when I check the execution plan it has the sort as 2% and the clustered index scan on the ams_fin_link table as the killer on 68% no matter how I...
November 8, 2010 at 11:05 pm
Viewing 15 posts - 16 through 30 (of 52 total)