Hi everyone,
I have a database that holds account information on about 1000 accounts. I found out the hard way that the users should not be allowed to update the records themselves. Currently, the users have a form into which they type the account information and the changes required. I manually review this temp table, find the record in the production table, and update the production record to match the changes. Also, this temp table is used for inputing new accounts.
The new accounts are easy. I use a script with a Insert query written in SQL to move the new account information from the temp table to the "production" table.
The changes are a completely different problem. I have tried using an Update query but that doesnt work. I need the update query to use the account number in the temp table as its parameter to search the production table. Once found, update the fields. Therory sounded good but implementation was ... well... not good. I could never get it to work. So, my guess is that A2K doesnt support this method as Oracle does.
Does anyone have any suggestions on how to accomplish this change record problem I am having? any and all suggestions or solutions are greatly appreciated.
Thanks in Advance!!!! Have A Great Day!!!,![[bigglasses] [bigglasses] [bigglasses]](/data/assets/smilies/bigglasses.gif)
Nathan
Senior Test Lead
I have a database that holds account information on about 1000 accounts. I found out the hard way that the users should not be allowed to update the records themselves. Currently, the users have a form into which they type the account information and the changes required. I manually review this temp table, find the record in the production table, and update the production record to match the changes. Also, this temp table is used for inputing new accounts.
The new accounts are easy. I use a script with a Insert query written in SQL to move the new account information from the temp table to the "production" table.
The changes are a completely different problem. I have tried using an Update query but that doesnt work. I need the update query to use the account number in the temp table as its parameter to search the production table. Once found, update the fields. Therory sounded good but implementation was ... well... not good. I could never get it to work. So, my guess is that A2K doesnt support this method as Oracle does.
Does anyone have any suggestions on how to accomplish this change record problem I am having? any and all suggestions or solutions are greatly appreciated.
Thanks in Advance!!!! Have A Great Day!!!,
![[bigglasses] [bigglasses] [bigglasses]](/data/assets/smilies/bigglasses.gif)
Nathan
Senior Test Lead