方法一:1 SimpleDateFormat dateformat=new
SimpleDateFormat("yyyy-MM-dd");2 String today=dateformat.format(new Date());3 4
String delSql = "delete from ssd...
分类:
数据库 时间:
2014-06-03 16:42:37
阅读次数:
598
1. 显示当前日期时间.$ dateMon Jun 2 13:55:47 HKT 20142.
按照指定格式显示当前时间(date +format).(1). 显示年月日.$ date "+%Y-%m-%d"2014-06-02$ date
"+%F"2014-06-02$ date "+%Y/%....
分类:
其他好文 时间:
2014-06-02 19:47:05
阅读次数:
258
开Eclipse出现错误“parseSdkContent
failed”,Android的模拟器启动不了。尝试了不少方法,终于搞定。1.删除文件夹 C:\Documents and
Settings\covics\.android 网上一般就只有这一步,为的是删除AVD的镜像文件,我找到:C:\Us...
分类:
其他好文 时间:
2014-06-02 11:05:51
阅读次数:
228
Format String 格式化串漏洞考虑如下的代码:1 #include2 int
main()3 {4 int a=44,b=77;5 printf("a=%d, b=%d\n",a,b);6 printf("a=%d, b=%d\n");7
return 0;...
分类:
数据库 时间:
2014-06-02 05:49:54
阅读次数:
482
可视化语法 Visual Format SyntaxThe following are
examples of constraints you can specify using the visual format. Note how the
text visually matches the im...
分类:
移动开发 时间:
2014-06-02 05:37:46
阅读次数:
351
今天一个网友发求助信息,说某社会治安综合治理系统的连接的某个oracle用户频繁被锁,使用alteruserXXaccountunlock解锁后一会还是又被锁定,使用PLSQL登录时提示ORA-28000
让他执行了一下这条SQLselect*fromdba_profileswhereresource_namelike‘FAILED_LOGIN_ATTEMPTS%‘;
他说l..
分类:
数据库 时间:
2014-06-02 04:36:39
阅读次数:
274
连接数据库报错
[oracle@tips~]$sqlplus/assysdba
SQL*Plus:Release11.2.0.3.0ProductiononFriJun2918:44:032012
Copyright(c)1982,2011,Oracle.Allrightsreserved.
ERROR:
ORA-09817:Writetoauditfilefailed.
Linux-x86_64Error:28:Nospaceleftondevice
Additionalinforma..
分类:
系统相关 时间:
2014-06-02 04:12:14
阅读次数:
915
1.执行opatchapply报错OPatchfailedwitherrorcode73
[oracle@ora_11g14275605]$/opt/oracle/product/db_1/OPatch/opatchapply./
OracleInterimPatchInstallerversion11.2.0.3.0
Copyright(c)2012,OracleCorporation.Allrightsreserved.
OracleHome:/opt/oracle/product/db_1..
分类:
移动开发 时间:
2014-06-02 04:08:19
阅读次数:
357
一:Flask中url的工作方式#encoding=utf-8
fromflaskimportFlask
app=Flask(__name__)
@app.route("/task/")
deftask_list():
return"Listofalltask"
@app.route("/task/<int:task_id>/")
deftask_detail(task_id):
return"Detailoftask#{}.".format(task_id)
@app.ro..
分类:
其他好文 时间:
2014-06-02 03:53:19
阅读次数:
662
asm初始化创建ASM磁盘组失败
[root@dga01~]#oracleasmcreatediskOCR/dev/sde1
Writingdiskheader:done
Instantiatingdisk:failed
Clearingdiskheader:done
开始以为是asm配置错误,于是重新初始化ASM
[root@dga01~]#/etc/init.d/oracleasmconfigure-i
ConfiguringtheOracl..
分类:
系统相关 时间:
2014-06-02 03:22:50
阅读次数:
1462