Good Day hopping you are all well,
I have a question concerning Database and Resultset. For Example if I am performing an SQL INSERT or UPDATE the data saved in the database ist changed but the data in the resultset is not!
I understood that this objects are independend from each other and that I can change the content of the Resultset only by a SELECT.
Up to now I am performing the SQL Command and after that I am performing a SELECT to update the Resultset Data. It seems to me that going this way is not efficient if I am working with a Database having heavy Data load (a Million or more records). Allways performing a SELECT to update the Resultset will cost time.
Question:
Anyone knowing a way to insert, delete or update the Resultset by placing the cursor on the row and transfering the values direct to the columns. This question or idea is comming up because I understood that the Resultset is equal to a memory table.
I have a question concerning Database and Resultset. For Example if I am performing an SQL INSERT or UPDATE the data saved in the database ist changed but the data in the resultset is not!
I understood that this objects are independend from each other and that I can change the content of the Resultset only by a SELECT.
Up to now I am performing the SQL Command and after that I am performing a SELECT to update the Resultset Data. It seems to me that going this way is not efficient if I am working with a Database having heavy Data load (a Million or more records). Allways performing a SELECT to update the Resultset will cost time.
Question:
Anyone knowing a way to insert, delete or update the Resultset by placing the cursor on the row and transfering the values direct to the columns. This question or idea is comming up because I understood that the Resultset is equal to a memory table.