Hi All,
I have a problem whereby i need to copy a row of data from one table to another, but i need to do this across a large amount of tables...
For example, I have a client details table (CL_DETAILS) and a historic client Details table (CL_DETAILS_HISTORY). What i need to do is establish an SQL command that can be pushed from a web page to copy a single row from the CL_DETAILS table into the CL_DETAILS_HISTORY without deleting the original row (this is so it can then be updated).
I am praying there is some sort of SQL admin command that will sort this for me, I know i can do it with another insert statement, but that will be a very large re-build of the web pages that query and insert data into these tables.
I thank you in advance for any help you can provide,
Regards
Andy Fenner
I have a problem whereby i need to copy a row of data from one table to another, but i need to do this across a large amount of tables...
For example, I have a client details table (CL_DETAILS) and a historic client Details table (CL_DETAILS_HISTORY). What i need to do is establish an SQL command that can be pushed from a web page to copy a single row from the CL_DETAILS table into the CL_DETAILS_HISTORY without deleting the original row (this is so it can then be updated).
I am praying there is some sort of SQL admin command that will sort this for me, I know i can do it with another insert statement, but that will be a very large re-build of the web pages that query and insert data into these tables.
I thank you in advance for any help you can provide,
Regards
Andy Fenner