`
文章列表
例子: ----日期中的查询 select * from PROCUREMENT_ITEM a ,PROCUREMENT_RESULT b         where a.procurement_item_id =b.procurement_item_id                and a.plan_code='0000002'               and '2010-10-25'<=CONVERT(CHAR(10),a.create_date, 23)               and CONVERT(CHAR(10),a.create_date, 23)<= ...
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> ...
--------------jsp-- <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>   <%   String path = request.getContextPath();   String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+ ...
Class.forName("com.mysql.jdbc.Driver"); String url = "jdbc:mysql://127.0.0.1/myDatabase"; String user = "user"; String password = "password"; Connection conn = DriverManager.getConnection(url, user, password); 连接 oracle 数据库,代码如下: Class.forName ...
Global site tag (gtag.js) - Google Analytics