$v){ $this->dbx = $this->load->database($v, true); /*$sql = "UPDATE s_menu SET S_MenuUrl = 'test/vuex/one-sample-storage-destroy-v2/' WHERE `S_MenuName` = 'TPS'";yamin error*/ //begin update preparasi sperma sbmnya, re = 18, rever = 16, reval = 16 /*$sql = "UPDATE s_menu SET S_MenuUrl = 'test/vuex/one-process-resultentry-v19/' WHERE `S_MenuName` = 'Result Entry'"; $query = $this->dbx->query($sql);*/ /*$sql = "UPDATE s_menu SET S_MenuUrl = 'test/vuex/one-process-resultverification-v20/' WHERE `S_MenuName` = 'Result Verification'"; $query = $this->dbx->query($sql); $sql = "UPDATE s_menu SET S_MenuUrl = 'test/vuex/one-process-resultvalidation-v18/' WHERE `S_MenuName` = 'Result Validation'"; $query = $this->dbx->query($sql);*/ //end update preparasi sperma /*$sql = "ALTER TABLE `t_samplestoragedestroy` CHANGE `T_SampleStorageDestroySampleWeight` `T_SampleStorageDestroySampleWeight` float(11,2) NOT NULL AFTER `T_SampleStorageDestroyFlagEmpty`";*/ /*$sql = "ALTER TABLE `t_samplestoragedestroy_detailnonsample` CHANGE `T_SampleStorageDestroyDetailNonSampleWeight` `T_SampleStorageDestroyDetailNonSampleWeight` float(11,2) NOT NULL AFTER `T_SampleStorageDestroyDetailNonSampleT_SampleStorageDestroyID`";*/ /*$sql = " UPDATE `lcprep_interpretasi` SET `Lcprep_InterpretasiCode` = '4203' WHERE `Lcprep_InterpretasiID` = '18'; UPDATE `lcprep_interpretasi` SET `Lcprep_InterpretasiCode` = '4202' WHERE `Lcprep_InterpretasiID` = '39';*/ $query = $this->dbx->query($sql); if ($query) { //$rows = $query->row()->xcount; echo $v."-OK "; } else{ echo $v."-ERROR "; } } } } ?>