上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 28 下一页
摘要: DROP PROCEDURE IF EXISTS teach.sp_Score_Level; CREATE PROCEDURE `sp`() BEGIN declare cur_stu_id int; declare cur_course_id int; declare cur_grade varchar(10); DECLARE done INT DEFAULT 0; d... 阅读全文
posted @ 2016-04-18 09:48 尘梦 阅读(177) 评论(0) 推荐(0) 编辑
摘要: create PROCEDURE b2(in c_year int,in co int)begin declare num int; if exists(select * from class where class="c_year") then update class set code=code 阅读全文
posted @ 2016-04-17 11:26 尘梦 阅读(293) 评论(0) 推荐(0) 编辑
摘要: private string Gen_code() { string rds = ""; using (MySqlConnection conn = new MySqlConnection("server = localhost;User Id=root;password=;database=tea 阅读全文
posted @ 2016-04-15 11:29 尘梦 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 自本人拥有手机以来,由于有存短信的特殊嗜好,得出以下不完全统计: 累计中奖93次,资金共计2260万元(人民币),另有各种iphone68部, 电脑36台,轿车27辆,收到法院传票93张,被大学录取57次,儿子被拐卖13次。 请告诉我,我这一生是否是传奇!s 阅读全文
posted @ 2016-04-15 09:47 尘梦 阅读(253) 评论(1) 推荐(0) 编辑
摘要: create PROCEDURE v4(in c_year int) BEGIN declare num int(10) default 0; declare num1 int(10); select code into num from class where class=c_year order by code desc limit 1; IF exists(sele... 阅读全文
posted @ 2016-04-14 21:36 尘梦 阅读(331) 评论(0) 推荐(0) 编辑
摘要: create procedure agex(in addage1 int,in addage2 int)begindeclare curl_stu_id int; declare curl_stu_sex varchar(5);declare done int default 0;declare c 阅读全文
posted @ 2016-04-12 10:49 尘梦 阅读(137) 评论(0) 推荐(0) 编辑
摘要: FORM1 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using M... 阅读全文
posted @ 2016-03-31 11:14 尘梦 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 引用mysql数据库 using MySql.Data.MySqlClient; 有一个mysql.dll文件 下面是实例化连接数据库 MySqlConnection Conn = new MySqlConnection("Database=数据库;server= 数据库地址;User Id=数据库用户名;Password=密码"); string sql = "select * f... 阅读全文
posted @ 2016-03-29 11:16 尘梦 阅读(284) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using MySql.Dat... 阅读全文
posted @ 2016-03-29 11:09 尘梦 阅读(382) 评论(0) 推荐(0) 编辑
摘要: ubuntu 下配置nginx的pHP #安装软件包apt-get install sudo #更新服务器sudo apt-get update#安装常用sudo apt-get install curl wget vim git #安装lnmp软件包 #安装nginx sudo apt-get i 阅读全文
posted @ 2016-03-28 20:59 尘梦 阅读(128) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 28 下一页