J
jtnpham
I have two tables with the following components:
1. authTable - shop order no, auth no, work center id
2. dbo_shopOrder - shop order no, work center id
I would like to do a few things but I am not sure where to start.
First thing is, I would like to have all of the shop order no's in the
dbo table to be in the authTable.
*But if the authTable does not have that shop order no, to give it an
auth no of 0. If the authTable has the shop order no, then nothing.
Second is, after the first thing, if there are shop order no's in the
authTable that are NOT in the dbo table, I would like that row to be
deleted.
Any suggestions?
Thanks! =)
1. authTable - shop order no, auth no, work center id
2. dbo_shopOrder - shop order no, work center id
I would like to do a few things but I am not sure where to start.
First thing is, I would like to have all of the shop order no's in the
dbo table to be in the authTable.
*But if the authTable does not have that shop order no, to give it an
auth no of 0. If the authTable has the shop order no, then nothing.
Second is, after the first thing, if there are shop order no's in the
authTable that are NOT in the dbo table, I would like that row to be
deleted.
Any suggestions?
Thanks! =)