Viewing 15 posts - 136 through 150 (of 301 total)
I would like to apply same check constraint to 5 columns in the same table. Can I use just one check constraint? How do I write a script...
March 11, 2016 at 5:17 pm
Ok thanks.
March 11, 2016 at 7:06 am
Thanks Hugo.
The vendor does not want to track all the history of audit columns. They want to keep the audit information(last insert/update) on the same table. Also want to make...
March 11, 2016 at 5:42 am
Thanks a lot Hugo.
Did you already try the approach with column-level permissions? Have you considered the (IMO much better) alternative to have a separate audit table?
Not able to apply...
March 10, 2016 at 5:51 pm
Could you please help me to create a single trigger for both inserts and updates in this case.
Many thanks!
March 10, 2016 at 9:15 am
Thanks Hugo!
March 9, 2016 at 6:45 pm
Thanks Lynn!
March 9, 2016 at 6:44 pm
Thanks Hugo.
Can I add deny update on the audit create columns in the existing UPDATE trigger.
I cant do any inserts with the INSERT trigger in place and the UPDATE trigger...
March 9, 2016 at 1:29 pm
Thanks. Here's the DDL. I would also like to deny future updates on the [CreateDate] and [CreateUser] fields. How is it possible.
/****** Object: Table [dbo].[Test1] Script...
March 9, 2016 at 10:49 am
When I have an insert and update trigger on the same table, the Insert trigger is triggering the Update trigger to execute since I use UPDATE statement in the INSERT...
March 9, 2016 at 9:28 am
Users are still able to insert an invalid date/user in the Audit columns with default constraints. What is the best way to avoid this.
Thanks!
March 9, 2016 at 8:46 am
Viewing 15 posts - 136 through 150 (of 301 total)