Click here to Skip to main content
15,916,951 members
Home / Discussions / Database
   

Database

 
GeneralRe: tracking actions in sql Pin
Rob Graham3-Aug-05 6:20
Rob Graham3-Aug-05 6:20 
GeneralRe: tracking actions in sql Pin
WetRivrRat3-Aug-05 7:05
WetRivrRat3-Aug-05 7:05 
GeneralRe: tracking actions in sql Pin
Rob Graham3-Aug-05 7:15
Rob Graham3-Aug-05 7:15 
GeneralRe: tracking actions in sql Pin
Anonymous3-Aug-05 7:20
Anonymous3-Aug-05 7:20 
GeneralRe: tracking actions in sql Pin
WetRivrRat5-Aug-05 8:40
WetRivrRat5-Aug-05 8:40 
GeneralRe: tracking actions in sql [Edit] Pin
Rob Graham5-Aug-05 9:22
Rob Graham5-Aug-05 9:22 
GeneralRe: tracking actions in sql [Edit] Pin
WetRivrRat5-Aug-05 9:55
WetRivrRat5-Aug-05 9:55 
GeneralRe: tracking actions in sql [Edit] Pin
Rob Graham5-Aug-05 11:45
Rob Graham5-Aug-05 11:45 
wetrivrrat wrote:
and i sould be able to run both the insert and update checks in the same trigger right? by just separating the functions of each rather than running them as a single statement?
You could, but the code might be much simpler if you did them as separate triggers, as they will fire independantly (the 'for update' won't fire the 'for insert' unless the update trigger itself inserts new records).

wetrivrrat wrote:
and i think i would need to block any new entries as admin as there is nothing keeping someone from entering a new username and creating it as an admin from the db.(

That makes the for insert trigger simple: just rollback transaction


wetrivrrat wrote:
in your last statement, not sure i fully understand, are you saying i need to block more the possiblity of someone using a query to insert multiple accounts so as to trick the trigger into only stopping the first entry?

I was more concered about an update that changed the access_level for any username 'like A%" forinstance, or all usernames ....





Absolute faith corrupts as absolutely as absolute power
Eric Hoffer

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke

GeneralWhich is better Pin
WDI3-Aug-05 3:34
WDI3-Aug-05 3:34 
GeneralRe: Which is better Pin
toxcct3-Aug-05 5:13
toxcct3-Aug-05 5:13 
GeneralRe: Which is better Pin
Member 15192134-Aug-05 22:31
Member 15192134-Aug-05 22:31 
GeneralOracle download Pin
Bhuvanish3-Aug-05 2:11
Bhuvanish3-Aug-05 2:11 
GeneralRe: Oracle download Pin
toxcct3-Aug-05 5:15
toxcct3-Aug-05 5:15 
GeneralCannot add view in Server Explorer Pin
Daniel Hintz2-Aug-05 18:31
Daniel Hintz2-Aug-05 18:31 
GeneralRe: Cannot add view in Server Explorer Pin
Christian Graus2-Aug-05 19:16
protectorChristian Graus2-Aug-05 19:16 
GeneralRe: Cannot add view in Server Explorer Pin
Frank Kerrigan2-Aug-05 21:24
Frank Kerrigan2-Aug-05 21:24 
GeneralRe: Cannot add view in Server Explorer - PROBLEM SOLVED Pin
Daniel Hintz3-Aug-05 16:11
Daniel Hintz3-Aug-05 16:11 
GeneralPosting again...Plz need help...Table relationships Pin
Nosheen Iqbal2-Aug-05 18:00
Nosheen Iqbal2-Aug-05 18:00 
GeneralRe: Posting again...Plz need help...Table relationships Pin
Frank Kerrigan2-Aug-05 21:26
Frank Kerrigan2-Aug-05 21:26 
GeneralRe: Posting again...Plz need help...Table relationships Pin
Anonymous3-Aug-05 2:37
Anonymous3-Aug-05 2:37 
GeneralRe: Posting again...Plz need help...Table relationships Pin
Scott Serl3-Aug-05 7:15
Scott Serl3-Aug-05 7:15 
GeneralAccess...pass a value from one form to another form Pin
vtalau2-Aug-05 16:54
vtalau2-Aug-05 16:54 
GeneralRe: Access...pass a value from one form to another form Pin
Hassanur3-Aug-05 21:07
Hassanur3-Aug-05 21:07 
GeneralNeed max value Pin
bubberz2-Aug-05 4:56
bubberz2-Aug-05 4:56 
GeneralRe: Need max value Pin
Frank Kerrigan2-Aug-05 5:51
Frank Kerrigan2-Aug-05 5:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.