码迷,mamicode.com
首页 >  
搜索关键字:insert or update    ( 28063个结果
Jdbc获取oracle中guid主键
上代码String sql = "BEGIN insert into itil_task_plan (PLAN_CODE) values (?) returning id into ?; END;";CallableStatement ps = conn.prepareCall(sql);ps......
分类:数据库   时间:2014-05-08 11:48:52    阅读次数:518
开发win8 metro monogame,显示pubcenter广告时会使游戏卡住的问题的解决方法。
开发win8 metro游戏,使用monogame,并且还加上pubcenter广告,但是在x64的机子上遇到了问题,广告一出,游戏卡死。经过一系列的判断,发现monogame一直在update和draw,没有停止工作,但是我们看到的画面一直定格在广告出来的那一刻。既然是在广告出来的时候死的,那我们...
分类:Windows程序   时间:2014-05-08 11:35:42    阅读次数:493
mysql触发器
查看所有触发器 show TRIGGERSDELIMITER ;;CREATE TRIGGER `trigger1触发器名` BEFORE UPDATE ON `触发器所在表名` FOR EACH ROW insert into templete (old) values (NEW.bz);;DEL...
分类:数据库   时间:2014-05-08 10:36:30    阅读次数:306
角色配置
select * from smt_RolePermissiondelete from smt_RolePermissiondelete from smt_RolePermission where ModuleId NOT IN(105,110,111,112,113,73)insert into ...
分类:其他好文   时间:2014-05-08 09:59:13    阅读次数:237
探索Windows 8.1 Update 新功能点
Windows 8.1 Update 已经使用一段时间了,整体感觉比Windows 8.1 方便了不少,尤其是对鼠标用户来说更是进行了很多优化。
分类:Windows程序   时间:2014-05-08 09:03:06    阅读次数:512
LeetCode:Insert Interval
题目链接Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were ini...
分类:其他好文   时间:2014-05-08 08:40:51    阅读次数:367
Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:其他好文   时间:2014-05-08 07:29:02    阅读次数:285
Android4.2.2自增物理按键(frameworks)
当我们修改了frameworks后可能出现: make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38 解决办法:make update-api 在Android中添加物理按键:KEYCODE_HELP 1、Android 增加按键: ScanCode -> KeyCodeLabel ...
分类:移动开发   时间:2014-05-08 04:43:52    阅读次数:468
mysql主从同步验证工具
(1)、pt-table-checksum工具名称 (2)、安装pt-table-checksum #:wgetwww.percona.com/downloads/percona-toolkit/2.2.2/percona-toolkit-2.2.2.tar.gz #:tar-xvfpercona-toolkit-2.2.2.tar.gz #:perlMakefile.PL #make&&makeinstall (3)、授权 GRANTupdate,insert,de..
分类:数据库   时间:2014-05-08 02:34:32    阅读次数:501
捕获Entity framework验证异常
Entity framework在验证未通过的时候默认不会抛出详细异常,这给我们debug带来很大的困难,不过我们可以手动捕获,见代码: private int Update(Employee entity) { string error = string.Empty; using (NorthwindEntities ctx = ...
分类:其他好文   时间:2014-05-07 21:50:21    阅读次数:302
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!