Click here to Skip to main content
16,005,181 members
Home / Discussions / Database
   

Database

 
GeneralQuery Access db where date/time ... Pin
Laffis3-Aug-05 8:23
Laffis3-Aug-05 8:23 
GeneralRe: Query Access db where date/time ... Pin
Rob Graham3-Aug-05 9:07
Rob Graham3-Aug-05 9:07 
Generaltracking actions in sql Pin
WetRivrRat3-Aug-05 5:35
WetRivrRat3-Aug-05 5:35 
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 
ok, so i've done some reading on triggers, and now i've got some questions!!!

do i want to do this with an instead of, or after statement?
or would it be just best for me to use this: CREATE trigger Nnew_updates on people for insert, update as
if i use this one, will i need to search thru the deleted table to find it, then rollback, or just use the instead of and compare the requested change with the trigger and not let it do it at all? (can i even do that with the instead of)
I found some DB2 info that uses BEFORE, too bad sqlSever does't use that, it'd be nice.
Course, the info that i found showing sql doesn't use it was from 2000, and it said that Microsoft was contemplating the use of BEFORE, do you konw if they have implemented the use of it in sp3 by chance?

My next question then is regardless of what method I go with what should my trigger statement look like? for instance I'm already looking at using what i pasted earlier and i've got the format down, but what should my begin statement look like?

I need to beable to compare the old access_level to the new access_level. so will i need to compare the deleted table with the people table? or is there an easier way to just not allow changes to the access_level column?

Dim Beautiful As String
Beautiful = "ignorant"
Label1.Text = "The world is full of " & Beautiful & " people."


Why is common sense such an un-common comodity?
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 
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 

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.