/** * Created with IntelliJ IDEA. * User:
li_zhe * Date: 14/05/06 * Time: 12:34 * To change this template use File |
Settings | File Templates. */pack...
分类:
其他好文 时间:
2014-05-16 22:09:34
阅读次数:
431
存储过程如下:create or replace procedure
p_createseq(tablename in varchar2,key in varchar2)Authid Current_User
--使用角色权限,否则无法创建序列或表isstrsql varchar2(500);t_k...
分类:
其他好文 时间:
2014-05-16 21:32:08
阅读次数:
211
cur =
self.conn.cursor(MySQLdb.cursors.DictCursor)加上MySQLdb.cursors.DictCursor可以返回字典结构{列名:值}class
MYSQL(): def __init__(self,host,user,pwd,db): ...
分类:
数据库 时间:
2014-05-16 19:18:34
阅读次数:
419
username:24718-12042010key:00001h6wzKLpfo3gmjJ8xoTPw5mQvY
YA8vwka9tH!vibaUKS4FIDIkUfy!!f 3C"rQCIRbShpSlDcFT1xmJi5h0yQS6试过,可用。
分类:
Web程序 时间:
2014-05-16 07:39:35
阅读次数:
277
#!/bin/bashPATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/binexport
PATH# Check if user is rootif [ $(id -u) != "0" ]; then pr...
分类:
其他好文 时间:
2014-05-16 07:15:11
阅读次数:
310
SELECT
s.username,l.OBJECT_ID,l.SESSION_ID,s.SERIAL#,
l.ORACLE_USERNAME,l.OS_USER_NAME,l.PROCESS,b.OBJECT_NAME,p.spid FROM
V$LOCKED_OBJECT l,V$SESSIO....
分类:
数据库 时间:
2014-05-16 06:31:59
阅读次数:
301
目录结构如下:行转列列转行[一]、行转列1.1、初始测试数据表结构:TEST_TB_GRADEcreatetableTEST_TB_GRADE (
IDNUMBER(10)notnull, USER_NAMEVARCHAR2(20CHAR), COURSEVARCHAR2(20CHAR), SCOR...
分类:
数据库 时间:
2014-05-16 04:48:21
阅读次数:
485
Given an array of integers, every element appears twice except for one. Find that single one....
分类:
其他好文 时间:
2014-05-15 07:20:39
阅读次数:
264
【题目】
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.
Input: (2 -> 4 -> 3) + (5 -> 6 -> 4)
Out...
分类:
其他好文 时间:
2014-05-15 05:13:49
阅读次数:
306
所需jar包:bean: 1 package com.myspring.bean; 2 3
public class User { 4 private String id; 5 private String name; 6 7 public
String getId() ...
分类:
编程语言 时间:
2014-05-14 08:55:20
阅读次数:
364