ORACLE各种小指令

清空表中所有记录
truncate table et_xxxxxx

删除一条数据

DELETE FROM zhubajie_member.mb_web_login WHERE nickname='m_3215_6770'

更新记录为空
update et_ticket set auif='' where tknb='9991673178540'

INSERT INTO "R_EMP_ROLE"(
"EMP", "ROLE")
VALUES ((select "ID" from "TS_EMP" where "NMAE"=''), (SELECT "ID" from "TS_S_ROLE" where "NAME" ='A_DEPT'));

上一篇:利用Session实现一次验证码


下一篇:会话控制:Cookie和session