- 博客(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
LR12打不开VS上用C#写的脚本
2016-03-08
TA创建的收藏夹 TA关注的收藏夹
TA关注的人