Hi Mark There is only one target where "select into" replicates. And thats true Repserver replicates the "select into" statement to the RDB but along with that it goes down with error message I run only one statement on PDB i.e. select * into hts_ae_codes_HS from hts_ae_codes and replication able to create this table hts_ae_codes_HS on RDB and subsequently DSI goes down with below error message, this behavior i am unable to understand why repserver is not performing rollback if "select into" statement is having issues ------------------------------------------------------------- T. 2016/05/04 12:47:39. (221): 'begin transaction ' T. 2016/05/04 12:47:39. (221): Command(s) to 'S****D01.img_hk_dev': T. 2016/05/04 12:47:39. (221): 'execute rs_update_lastcommit @origin = 1259, @origin_qid = 0x00010000c7d5efc501a6f4c7002001a6f4c600450000a5fc00d2b8680000000000000001, @secondary_qid = 0x000000000000000000000000000000000000000000000000000000000000000000000000, @origin_time = '20160504 12:47:12:560', @conn_id = 0' T. 2016/05/04 12:47:39. (221): Command(s) to 'S****D01.img_hk_dev': T. 2016/05/04 12:47:39. (221): 'if @@error <> 0 rollback transaction' T. 2016/05/04 12:47:39. (221): Command(s) to 'S****D01.img_hk_dev': T. 2016/05/04 12:47:39. (221): ' commit transaction' T. 2016/05/04 12:48:04. (221): Command(s) to 'S****D01.img_hk_dev': T. 2016/05/04 12:48:04. (221): 'begin transaction ' T. 2016/05/04 12:48:04. (221): Command(s) to 'S****D01.img_hk_dev': T. 2016/05/04 12:48:04. (221): 'execute rs_update_lastcommit @origin = 1259, @origin_qid = 0x00010000c7d5f00901a6f4c8003601a6f4c800300000a5fc00d2f42c0000000000000001, @secondary_qid = 0x00010000c7d5f00901a6f4c8003601a6f4c800300000a5fc00d2f42c0000000000000001, @origin_time = '20160504 12:48:03:560', @conn_id = 0' T. 2016/05/04 12:48:04. (221): Command(s) to 'S****D01.img_hk_dev': T. 2016/05/04 12:48:04. (221): 'if @@error <> 0 rollback transaction' T. 2016/05/04 12:48:04. (221): Command(s) to 'S****D01.img_hk_dev': T. 2016/05/04 12:48:04. (221): ' commit transaction' T. 2016/05/04 12:48:04. (221): Command(s) to 'S****D01.img_hk_dev': T. 2016/05/04 12:48:04. (221): 'select ae_id=ae_id , ae_code=ae_code , ae_name=ae_name into dbo.hts_ae_codes_HS from dbo.hts_ae_codes ' E. 2016/05/04 12:48:04. ERROR #1028 DSI EXEC(1257(1) S****D01.img_hk_dev) - dsiqmint.c(4719) Message from server: Message: 911, State 2, Severity 11 -- 'Attempt to locate entry in sysdatabases for database ' Invalid pointer param number 2, pointer value 0x0x100000018 ' by name failed - no entry found under that name. Make sure that name is entered properly.'. H. 2016/05/04 12:48:04. THREAD FATAL ERROR #5049 DSI EXEC(1257(1) S****D01.img_hk_dev) - dsiqmint.c(4732) The DSI thread for database 'S****D01.img_hk_dev' is being shutdown. DSI received data server error #911 which is mapped to STOP_REPLICATION. See logged data server errors for more information. The data server error was caused by output command #0 mapped from input command #0 of the failed transaction. I. 2016/05/04 12:48:04. The DSI thread for database 'S****D01.img_hk_dev' is shutdown. ------------------------------------------------
↧