Cannot edit MySQL table from Excel -


i've got table in mysql non-null primary key field. i've selected within excel file option edit database table. when entering data cell , selecting "commit" changes, error , change not go through.

i've tried deleting tab , trying again, or trying new excel file, , neither approach works.

when looking @ sql string sent database confusing me. essentially, statement standard

update db_name.table_name  set 'change_col' = "new_val" <where clause> 

except <where clause> nuts. first operand i'd like, i.e. equality of primary key on value corresponding edited row, huge mess of nested conjunctions , disjunctions on other fields follows. , isn't might expect. example, i've got trans_num field , on edited row value 22. reason <where-clause> contains

and ((22 null , `trans_num` null) or `trans_num`=22)  

which quite bizarre.

i haven't seen questions online, i'm not sure causing behavior or how can fixed.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -