2008年9月10日怎样删除聊天记录:增加删除确认和新增记录功能
using System;using System.Web.UI.WebControls;using System.Data;/**The Control assumes the following:* *1) It is bound to a DataView object.*2) The app will use direct SQL commands to update the source (NO batch update).*3) No custom paging is enabled.**If you plan to support sorti...
[阅读全文] [PDF]
2008年9月10日怎样删除聊天记录:级联删除表中的记录(不通过级联约束)
--级联删除表中的记录CREATE PROCEDURE proc_delete_data(p_tname varchar(100))begindeclare v_tablename varchar(50);declare flag int default 0;--定义一个游标,此游标返回指定表的子表declare cur_constraint cursor for select b.table_namefrom information_schema.key_column_usage a,information_schema.key_column_usage bwhe...
[阅读全文] [PDF]
1 共2条 分1页