sql - Unable to delete row from table -


i have 2 database main , main_2 , 2 tables table1 in main database , table2 in main_2 database.

i want delete rows table2 not in table1 , using following query:

delete main_2.dcl.table2 slno not in (select slno main.dcl.table1) 

i getting

0 row(s) affected

but rows present in table2, checked manually.


Comments

Popular posts from this blog

Linux vanilla kernel on QEMU and networking with eth0 -

rdbms - what exactly the undo information lives in oracle? -

clojure - 'get' replacement that throws exception on not found? -