Traditional Culture Encyclopedia - Weather forecast - When STCD=3728350 updates a piece of data, it will trigger an event: insert a piece of data at the same time, STCD=4 1820 100.
When STCD=3728350 updates a piece of data, it will trigger an event: insert a piece of data at the same time, STCD=4 1820 100.
Write triggers
Create a trigger in a date
On rwdb
Used to insert
be like
Declare @STCD int
Declare @tm date and time
declare @drp declare (5,2)
declare @intv decimal(5,2)
declare @pdr decimal(5,2)
Declare @ dypdecimal (5,2)
Declare @ withdecimal (5,2)
select @STCD =STCD,@tm=tm,@drp=drp,@intv=intv,@pdr=pdr,@dyp=day,@wth=wth from inserted
If @STCD =3728350
Insert rwdb value (4 1820 100, @tm, @drp, @intv, @pdr, @dyp, @wth).
- Previous article:Typhoon weather, can you turn on the air conditioner?
- Next article:What's the most convenient way to get to Xiangshan Wudao Turn?
- Related articles
- Historical weather in Weifang city
- Collapse 3 ultimate zone abyss quantum emperor how to play abyss quantum weather boss introduction
- How to make money by renting a car?
- Will it be cold for the elderly to take a cruise in winter?
- What does the pattern of lightning mean under the dark clouds above?
- What is the stem of Liu Yifei's head change?
- The poor continue to write in the sixth grade.
- Want the remaining Premier League schedules for Liverpool, Tottenham and Manchester City?
- When will you go to aalborg on May Day?
- What are the present situation, causes and solutions of ecological balance of sandstorm pollution?