摘要: 1:显示所有数据库mysql>show Databases;2:创建数据库mysql> Create Database DB;3:选择 数据库mysql> USE DB; 4: 显示表mysql> SHOW TABLES;5:创建表mysql> create table tb (Name varchar(10),ID int(4));6:显示表的结构:mysql> DESCRIBE MYTABLE; 7:导入.sql文件命令 mysql>use database;mysql>source c:/mysql.sql;或\. c:/mysql.sql 阅读全文
posted @ 2012-05-16 10:48 絕對零℃ 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1 public int[] Ripple(int[] sortData) 2 { 3 int StartIndex = 1; 4 int top = sortData.Length - 1; 5 int Bottom = 0; 6 int step = 1; 7 int swap; 8 while (Bottom < top) 9 {10 for (int i = Start... 阅读全文
posted @ 2012-05-16 10:14 絕對零℃ 阅读(294) 评论(0) 推荐(0) 编辑