1、错误描写叙述1 queries executed, 0 success, 1 errors, 0 warnings 查询:SELECT FOUND_ROWS() INTO p_film_count 错误代码: 1327 Undeclared variable: p_film_count 运行耗时 ...
分类:
其他好文 时间:
2017-05-06 22:53:05
阅读次数:
155
镇场诗: 清心感悟智慧语,不着世间名与利。学水处下纳百川,舍尽贡高我慢意。 学有小成返哺根,愿铸一良心博客。诚心于此写经验,愿见文者得启发。——————————————————————————————————————————code: result: 初始状态, 点击按钮后, ——————————— ...
分类:
编程语言 时间:
2017-05-06 17:35:51
阅读次数:
155
OleDbDataAdapter 怎么更新不了数据库? String tbName = ds.Tables[0].TableName; String tem = ds.Tables[0].Rows[0]["BOMID"].ToString(); DataRow dr = ds.Tables[0].N ...
分类:
其他好文 时间:
2017-05-06 00:59:28
阅读次数:
212
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO) ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (usin ...
分类:
数据库 时间:
2017-05-06 00:56:12
阅读次数:
171
一、批量插入数据: int times = 0; for (int count = 0; count < dt.Rows.Count; times++) { for (int i = 0; i < 400 && 400 * times + i < dt.Rows.Count; i++, count+ ...
分类:
其他好文 时间:
2017-05-04 18:39:36
阅读次数:
261
一个简单的对比测试 前面的案例中,c2c_zwdb.t_file_count表只有一个自增id,FFileName字段未加索引的sql执行情况如下: 在上图中,type=all,key=null,rows=33777。该sql未使用索引,是一个效率非常低的全表扫描。如果加上联合查询和其他一些约束条件 ...
分类:
数据库 时间:
2017-05-04 12:03:55
阅读次数:
211
Description You are given matrix with n rows and n columns filled with zeroes. You should put k ones in it in such a way that the resulting matrix is ...
分类:
其他好文 时间:
2017-05-01 20:58:37
阅读次数:
209
建表及插入数据语句: mysql> create table salary(userid int,salary decimal(9,2)); Query OK, 0 rows affected (0.11 sec) mysql> insert into salary values(1,1000),( ...
分类:
数据库 时间:
2017-04-29 18:52:59
阅读次数:
236
//需要注意添加引用Microsoft.Office.Interop.Excel.dll string fileName =DateTime.Now.Year+ DateTime.Now.Month+ DateTime.Now.Day + ".xls"; if (showView.Rows.Coun... ...
binlog的三种模式statement模式特点:(1)此模式不支持RU,RC隔离级别;(2)binglog日志文件中上一个事物的结束点是下一个事物的开始点;(3)DML,DDL语句都会明文显示;(4)对一些系统函数不能准确复制或者不能复制,如load_file()、uuid()、user()、found_rows()、sysdate..
分类:
其他好文 时间:
2017-04-27 19:46:36
阅读次数:
204