摘要:
一、JDK1.51.scanner的用法:public class ScannerTest {public static void main(String[] args) {Scanner sc = new Scanner(System.in);// boolean i=sc.nextBoolean();// byte i=sc.nextByte();// short i=sc.nextShort();// int i = sc.nextInt();// long i=sc.nextLong();// float i=sc.nextFloat();// double i=sc.nextDoub 阅读全文
posted @ 2011-12-10 16:03
残星
阅读(203)
评论(0)
推荐(0)
摘要:
1.进入表:use jdbc;2.查询表结构:show create table jdbc.user;3.存放长文本用TEXT类型。4.存放二进制数据用BLOB。5.分页select id,name,money,birthday from user limit 150,10 --从150开始取10条记录6.修改表的引擎使之支持事务处理。前入MySQL前端工具-->Tools-->MySQL Administrator-->StartupVariables-->General Parameters-->Default storage:InnoDB; 阅读全文
posted @ 2011-12-10 09:43
残星
阅读(262)
评论(0)
推荐(0)

浙公网安备 33010602011771号