By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,441 Members | 996 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,441 IT Pros & Developers. It's quick & easy.

Need help with triggers

P: 2
Hi everybody!
How to write a trigger, to increment a field (numeric type)
even if the user cannot modify anything in dbase?
Jul 11 '07 #1
Share this Question
Share on Google+
2 Replies


P: 2
Hi everybody!
How to write a trigger, to increment a field (numeric type)
even if the user cannot modify anything in dbase?
I want to create a counter, but i can't do this in application
because of login role properties
Jul 11 '07 #2

Expert 100+
P: 534
Look at the CREATE FUNCTION man page.
"SECURITY DEFINER" allows a function to be executed with the privileges of the creator, rather then the person who invokes it.
I would try this in your situation.
Jul 14 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.