Dear All
I am new to triggers usage and this first time I am in need to write a trigger (I am developing a application in VB.NET 2010 and MS SQL Express 2008 R2). Would really appreciate if some one can help and guide in this.
My need:
I have two tables
Now, I insert a row through user in main table they input the range let’s say 1001 to 2000 so, now i need to auto insert records each serial in second table in that case will be 1001..1002..1003.....1999.. 2000 so total in this case 1000 records. ioID will be the binding unique key in both tables.
Thanking you in advance for kind help and guidance,
Best Regards,
Sam
I am new to triggers usage and this first time I am in need to write a trigger (I am developing a application in VB.NET 2010 and MS SQL Express 2008 R2). Would really appreciate if some one can help and guide in this.
My need:
I have two tables
Now, I insert a row through user in main table they input the range let’s say 1001 to 2000 so, now i need to auto insert records each serial in second table in that case will be 1001..1002..1003.....1999.. 2000 so total in this case 1000 records. ioID will be the binding unique key in both tables.
Thanking you in advance for kind help and guidance,
Best Regards,
Sam