還有一招是利用google的cache
方式如下:
如個有個網站 http://u.cannot.copy.www 不給右鍵反白複製
就搜尋「cache:http://u.cannot.copy.www 」(chrome的話 直接打在網址列即可)
然後再點選純文字版
from distutils.core import setup
import py2exe
setup(console=['xxx.py'])
python setup.py install
python setup.py py2exe
C:\Python27\dist>xxx.exe
update member
set unit =(select unit from member_sync
where member.oid = member_sync.oid
and member.unit <>member_sync.unit)
update member
set unit =(select unit from member_sync
where member.oid = member_sync.oid
and member.unit <>member_sync.unit)
WHERE EXISTS (select unit from member_sync
where member.oid = member_sync.oid
and member.unit <>member_sync.unit)
update 表a set a.欄位1 = (select b.欄位1 from 表b where a.欄位2=b.欄位2) where exists(select 1 from 表b where a.欄位2=b.欄位2)。