blackbirdMIT
IS-IT--Management
I need help on how to provide an INSERT statement to activate a trigger given the tables below:
MYOILS Table
OilID - PK, int
OilName - nvarchar
LatinName - nvarchar, allow nulls
PlantTypeID - int, allow nulls
PlantPartID - int, allow nulls
Sample - char, allow nulls
Description - varchar, allow nulls
OILS Table (being the master table)
OilID -
OilName
LatinName
PlantTypeID
PlantPartID
My goal: after I add a new oil into the Oils table, it should automatically update the MyOils table with the new oil I added.
Please help!
MYOILS Table
OilID - PK, int
OilName - nvarchar
LatinName - nvarchar, allow nulls
PlantTypeID - int, allow nulls
PlantPartID - int, allow nulls
Sample - char, allow nulls
Description - varchar, allow nulls
OILS Table (being the master table)
OilID -
OilName
LatinName
PlantTypeID
PlantPartID
My goal: after I add a new oil into the Oils table, it should automatically update the MyOils table with the new oil I added.
Please help!