码迷,mamicode.com
首页 >  
搜索关键字:off    ( 6482个结果
SET XACT_ABORT ON
SET XACT_ABORT ON时,在事务中,若出现错误,系统即默认回滚事务,但只对非自定义错误有效SET XACT_ABORT OFF,默认值,在事务中,回滚一个语句还是整个事务视错误的严重程序而定,用户级错误一般不会回滚整个事务When SET XACT_ABORT is ON, if a T...
分类:其他好文   时间:2015-05-07 16:33:59    阅读次数:108
Leetcode23: Count and Say
The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11. 11 is read off as "two 1s" or 21. 21 is read off as ...
分类:其他好文   时间:2015-05-07 10:27:50    阅读次数:85
MySQL数据库的热备份和冷备份
冷备份(off, 慢, 时间点上恢复)冷备份发生在数据库已经正常关闭的情况下,当正常关闭时会提供给我们一个完整的数据库。冷备份是将关键性文件拷贝到另外位置的一种说法。对于备份数据库信息而言,冷备份是最快和最安全的方法。冷备份的优点: 1.是非常快速的备份方法(只需拷贝文件) 2.容易归档(简单拷贝即...
分类:数据库   时间:2015-05-07 06:26:41    阅读次数:162
一起学android之如何以最简单方式开启闪光灯(35)
我们以360手机助手中有一款叫“最美手电筒”,效果图:                                通过图中手电筒的开关来开启或关闭闪光灯, OK,以下是实现此功能的代码: public class MainActivity extends Activity implements OnClickListener { private ImageView iv_off_...
分类:移动开发   时间:2015-05-05 19:43:22    阅读次数:205
屏幕锁屏以及解锁监听
屏幕锁屏以及解锁时会分别发送两个广播SCREEN_ON和SCREEN_OFF,但是这两个action只能通过代码的形式注册才能被监听到,在AndroidManifest.xml中注册根本监听不到。public class ScreenActionReceiver extends BroadcastR...
分类:其他好文   时间:2015-05-05 19:22:16    阅读次数:105
以管理员的身份去执行一个程序
以管理员的身份去执行一个程序:runas /savecred /user:administrator app (app是一个可执行程序)@echo off:STARTcls@echo ======================================@echo A. 管理员方式打开 ...
分类:其他好文   时间:2015-05-05 10:11:46    阅读次数:161
Controlling DNS prefetching
Controlling DNS prefetchingIN THIS ARTICLEBackgroundConfiguring prefetching in the browserControlling prefetching from contentTurning on and off prefe...
分类:其他好文   时间:2015-05-04 20:08:50    阅读次数:97
使用mybatis更改mysql的计划任务开启状态
如下使用, SET GLOBAL event_scheduler = #{status};刚开始参数是传入的ON或者OFF,没有效果更改为0或1后,可以成功的修改定时器的开启状态。原因还未知,若你也遇到相同的问题,欢迎一起交流。
分类:数据库   时间:2015-05-04 17:11:02    阅读次数:179
Hard Work Does Not Pay Off
Hard Work Does Not Pay OffOlve MaudalAS A PROGRAMMER, YOU’LL FiND THAT working hard often does not pay off. You might fool yourself and a few colleagues into believing that you are con- tributing a lot...
分类:其他好文   时间:2015-05-04 10:05:14    阅读次数:126
[LeetCode] Count and Say
The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11. 11 is read off as "two 1s" or 21. 21 is read off as ...
分类:其他好文   时间:2015-05-03 22:10:38    阅读次数:106
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!