BookmarkSubscribeRSS Feed
JuanVte
Calcite | Level 5
Hello!

I am thinking about implementing an audit trail on MySQL which would work with triggers. Does somebody know if the triggers work when I do an SQL update/insert/delete statement directly from SAS to MySQL?

Thanks!
1 REPLY 1
JasonDiVirgilio
Quartz | Level 8
They should, but you may want to consider doing the audit trail a different way as triggers can slow down your performance significantly.

If you can grab the audit information (userID, date, etc...) prior to doing the insert/update, then you could put that information into the SQL statement and not rely on the database to do the work.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 1 reply
  • 957 views
  • 0 likes
  • 2 in conversation