自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (1)
  • 问答 (1)
  • 收藏
  • 关注

转载 SQL Server 2000下日期操作的实例

这几天面试和笔试遇到很多数据库的问题,而其中频率很高的就是时间问题,现找了点东西跟大家分享一下! 1.显示本月第一天 SELECT DATEADD(mm,DATEDIFF(mm,0,getdate()),0) select convert(datetime,convert(varchar(8),getdate(),120)+'01',120) 2.显示本月最后一天 select d

2015-11-12 13:44:35 257

原创 随便看看

/*  * To change this template, choose Tools | Templates  * and open the template in the editor.  */ /*  * SelectiveMainFrame.java  *  * Created on 2014-7-8, 10:04:34  */ package com.gs.st

2015-11-04 23:04:01 248

原创 Login

String sql = "select * from t_student"+" where sid='"+sid+"'";    try{    Connection dbConn1=CONN(); Statement stmt = (Statement)dbConn1.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.

2015-10-24 21:11:07 312

原创 字符流复制

package TestFile; import java.io.*; public class TestFilezifuliufuzhi4 { public static void main(String[] args) throws IOException   { // TODO Auto-generated method stub FileReader f1=new

2015-10-16 20:03:22 283

原创 字节流复制

package TestFile; import java.io.*; public class TestFilezijieliufuzhi2 { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub FileInputStrea

2015-10-08 20:55:18 238

原创 StudentDao

package cn.test.dao.impl;      import java.util.ArrayList;   import java.util.Date;   import java.util.List;      import org.apache.ibatis.session.RowBounds;   import org.apache.ibatis.session.

2015-10-05 15:59:45 1337

原创 JDBC示例程序

package javajdbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.State

2015-10-05 15:58:55 318

原创 SysManagerService

package com.gs.stu.service.impl; import java.util.List; import com.gs.stu.bean.Manager; import com.gs.stu.dao.SysManagerDao; import com.gs.stu.dao.impl.SysManagerDaoImpl; import com.gs.st

2015-10-05 15:57:40 272

原创 SysManagerDao

package com.gs.stu.dao.impl; import java.sql.*; import java.util.ArrayList; import java.util.List; import com.gs.stu.bean.Manager; import com.gs.stu.dao.SysManagerDao; import com.gs.stu.

2015-10-05 15:56:22 344

原创 选课系统TeacherDao代码(1.0尚有改进)

package com.gs.stu.dao; import java.util.List; import com.gs.stu.bean.Course; import com.gs.stu.bean.SelectCourse; import com.gs.stu.bean.SelectCourseView; import com.gs.stu.bean.StudentV

2015-09-23 22:18:38 810

原创 I/O流与异常

I/O流与异常的小练习

2015-09-14 23:14:19 280

LRVS2008IDEAddInSetup.exe

LRVS2008IDEAddInSetup.exe

2016-03-14

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除