packagecom;importjava.text.SimpleDateFormat;importjava.util.Calendar;importjava.util.GregorianCalendar;publicclassDateUtil{/***获取本月第一天*@return当前月第一天的日期*/publicstaticStringgetMonthFirstDay(){Calendarcal=Calendar.getInstance();Calen
系统 2019-08-12 09:30:18 2472
本文博客链接:http://blog.csdn.net/jdh99,作者:jdh,转载请注明.源代码:AndroidManifest.xml
系统 2019-08-12 09:30:02 2472
从3月进公司,4月开发新游戏项目,6月正式毕业,7、8月赶游戏新功能、优化性能,到现在准备游戏的上线,做了很多东西,也看到了很多。接下来的任务是深入Java多线程和C语言的实践。准备自己抽空用C做些好玩的。【我的办公桌】【改天补上住的地方的照片】[奋斗路上]2011-08-15
系统 2019-08-12 09:29:52 2472
1.对hdfs操作的命令格式是hadoopfs1.1-ls表示对hdfs下一级目录的查看1.2-lsr表示对hdfs目录的递归查看1.3-mkdir创建目录1.4-put从linux上传文件到hdfs1.5-get从hdfs下载文件到linux1.6-text查看文件内容1.7-rm表示删除文件1.7-rmr表示递归删除文件2.hdfs在对数据存
系统 2019-08-12 09:27:33 2472
createprocedureproc_page_withtopmax(@pageIndexint,--页索引@pageSizeint,--每页显示数@pageCountintoutput,--总页数,输出参数@totalCountintoutput--总条数)asbeginsetnocounton;declare@sqlnvarchar(1000)set@sql='selecttop10*fromtb_testtablewhere(id>(selectm
系统 2019-08-12 01:55:14 2472
原文:T-Sql(一)简单语法SqlServer是鄙人学习的第一种数据库,对SqlServer有一种特别的情感,下面就说一下SqlServer的简单语法,适用初学者。1,创建数据库createdatabasecreatedatabaseMy_FrirstCreate--创建数据库gouseMy_FrirstCreate--连接数据库go2,创建表createtablecreatetabledbo.Students--创建表(数据类型,是否NULL)(Stu
系统 2019-08-12 01:54:50 2472
--从一个表中随机取两条记录--1.dbms_random.valueselect*from(select*fromt_ums_configorderbydbms_random.value)whererownum<=2;--2.dbms_random.randomselect*from(select*fromt_ums_configorderbydbms_random.random)whererownum<=2;--3.sys_guid()select*f
系统 2019-08-12 01:54:04 2472
关于mongodb,有几个大的特点:1,用mongoshell的话,它的语法类似于Linux中的命令2,mongodb中的函数参数,返回结果基本上用JSON表示,所以要用JSON的思维来学习mongodb============关于引用Mongodb不支持Join操作,代替的方式是引用,===方式一,手工引用,如下:就是一个document中的字段值为另一个document的_id,例子:original_id=ObjectId()db.places.in
系统 2019-08-12 01:53:35 2472
#include#include#include#include#include#include#defineOTL_ODBC_MYSQL//CompileOTL4/MyODBC//#defineOTL_ODBC_UNIX//uncommentthislineifUnixODBCisused#defineOTL_STL//TurnonSTLfeatu
系统 2019-08-12 01:53:30 2472
selectNVL(sum(casewhencreate_date_time>=to_date('2014-11-2400:00:00','yyyy-mm-ddhh24:mi:ss')andcreate_date_time<=to_date('2014-11-2423:59:59','yyyy-mm-ddhh24:mi:ss')thenamountend),0)today,NVL(sum(casewhencreate_date_time>=to_date(
系统 2019-08-12 01:52:31 2472