Hallo, I have two tables, dbo.o_pat and dbo_o.pat1. The second table have data which i would like to transfer to dbo_o.pat. Also note, dbo.o_pat table datatype have been set, while in dbo_o.pat1 are all set to nvarchar(50). Is it possible to transfer the data from table to another regardless of the change of data type. Please see below the syntax I used; INSERT INTO dbo.o_pat (o_pat_uid, o_prac_uid, o_col_uid, o_oper_uid, o_pat_id, o_pat_eid, o_pat_birth_yr, o_pat_birth_mth, o_pat_birth_pla, o_pat_fst_ac_dt, o_pat_fst_reg_dt, o_pat_vm_id, o_pat_curr_gender, o_pat_curr_marstat, o_pat_curr_smoke, o_pat_curr_drink, o_pat_curr_height, o_pat_curr_weight, o_pat_curr_bmi, o_pat_curr_reg_sta, o_pat_curr_trodt, o_pat_curr_tror, o_pat_curr_chsregf, o_pat_family_no, o_pat_bld_grp_uid, o_pat_death_date_i, o_pat_gprd_start_d,o_pat_gprd_end, o_pat_mother_uid_i, o_pat_father_uid_i, o_pat_reg_f, o_pat_death_dt_i_f, o_pat_death_date, o_pat_mothr_calc_f,o_father_calc_f, o_pat_ev_rec_f, o_pat_reg_det_f, o_pat_val_sex_f, o_pat_patage_f, o_pat_acc_f, o_pat_sys_d, o_pat_crt_d, o_pat_his_d, o_pat_del_d, o_pat_dwload) Select o_pat_uid, o_prac_uid, o_col_uid, o_oper_uid, o_pat_id, o_pat_eid, o_pat_birth_yr, o_pat_birth_mth, o_pat_birth_pla, o_pat_fst_ac_dt, o_pat_fst_reg_dt, o_pat_vm_id, o_pat_curr_gender, o_pat_curr_marstat, o_pat_curr_smoke, o_pat_curr_drink, o_pat_curr_height, o_pat_curr_weight, o_pat_curr_bmi, o_pat_curr_reg_sta, o_pat_curr_trodt, o_pat_curr_tror, o_pat_curr_chsregf, o_pat_family_no, o_pat_bld_grp_uid, o_pat_death_date_i, o_pat_gprd_start_d,o_pat_gprd_end, o_pat_mother_uid_i, o_pat_father_uid_i, o_pat_reg_f, o_pat_death_dt_i_f, o_pat_death_date, o_pat_mothr_calc_f,o_father_calc_f, o_pat_ev_rec_f, o_pat_reg_det_f, o_pat_val_sex_f, o_pat_patage_f, o_pat_acc_f, o_pat_sys_d, o_pat_crt_d, o_pat_his_d, o_pat_del_d, o_pat_dwload from dbo.o_pat1
Also tried; INSERT INTO dbo.o_pat Select * from dbo.o_pat1
I received the following error; Msg 8114, Level 16, State 5, Line 1Error converting data type nvarchar to numeric.Is there anyway I can overcome this and transfer the data to the table. Thanks