BookmarkSubscribeRSS Feed
SASDump
Calcite | Level 5
I wonder if i can apply sas audit trail on MSSQL Data table, i have tried to intiate but fail with error message "ERROR: The HEADER/VARIABLE UPDATE function is not supported by the ODBC engine", does anyone ever done this before?

Please shed me some light ! Thanks in advance.
3 REPLIES 3
SASDump
Calcite | Level 5
I might ask the question in another way, for using SAS EG 4.3 with MSSQL which audit trail approach should i take? I have basically test with about 3 approaches..namely
1. SAS Audit trail - fail with error mentioned
2. MSSQL Audit built-in feature (Audit trail log not gd as SAS one; Only can record DML action if submitting with sql statement, if direct edit from dataview of SAS EG the statement capture was filled with parameter which cannot trace the value before/after updating. )
3. Build MSSQL trigger for each table require auditing, so far this is the best but many self maintaining work need to be done.

Any has other suggestions?
LinusH
Tourmaline | Level 20
SAS Audit only works on tables stored in a Base SAS library.
If your data needs to be stored in MSSQL, I suggest that you discuss this issue with the MSSQL DBA.

/Linus
Data never sleeps
SASDump
Calcite | Level 5
Thx for your confirmation Linus! Then i will concentrate on my trigger development

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1042 views
  • 0 likes
  • 2 in conversation