Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trigger script

Status
Not open for further replies.

cybertrippin

Programmer
Feb 2, 2001
1
US
How do i in an insert trigger (before) reference a field and change its value.

Table x(
x varchar(10)
)

trigger x_x on ... for insert as ....
begin
set new.x = 'My new value'
end


Thanx.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top