Part 34 Temporary tables in SQL Server
分类:
其他好文 时间:
2015-09-15 23:11:59
阅读次数:
147
搭建(192.168.1.10 -> 192.168.1.20)1 master 上执行阻塞 DMLflush tables with read lock;记录 File 和 Positionshow master status;mysqldump -u root -p --all-database...
分类:
数据库 时间:
2015-09-15 18:15:39
阅读次数:
318
DataSet ds=new DataSet ;//获取dataset的第一张table,取其他table只须改下标DataTable dt=ds.tables[0];//遍历行foreach(datarow dr in dt.rows){//遍历列for(int i=0;i");}
分类:
其他好文 时间:
2015-09-14 22:26:47
阅读次数:
207
MySQL启动参数中有个是--skip-grant-tables,叫做跳过授权表1、停止mysqld服务2、vim/etc/my.cnf[mysqld]skip-grant-tables3、重启mysql4、进入mysql命令行mysql>usemysqlmysql>updateusersetpassword=password(‘newpassword‘)whereuser=‘root‘;mysql>flushprivileges;..
分类:
数据库 时间:
2015-09-14 12:28:00
阅读次数:
167
1、# service mysqld stop #停止mysql数据库服务Shutting down MySQL.. SUCCESS!2、# service mysqld start --skip-grant-tables #跳过授权表启动mysql数据库服务(注:参数-...
分类:
数据库 时间:
2015-09-12 14:49:16
阅读次数:
238
1、#servicemysqldstop#停止mysql数据库服务ShuttingdownMySQL..SUCCESS!2、#servicemysqldstart--skip-grant-tables#跳过授权表启动mysql数据库服务(注:参数--skip-grant-tables为跳过授权表)StartingMySQL....SUCCESS!3、#mysql-p#进入mysql数据库添加root用户并授权Enter..
分类:
数据库 时间:
2015-09-12 08:30:34
阅读次数:
325
.tables 查看表.databases 创建数据库alter table 表名 RENAME TO 新表名ALTER TABLE 表名 add column 列名 datatype [DEFAULT expr].schema user 查看user表的列项drop table 表名 删除表CR....
分类:
数据库 时间:
2015-09-11 23:34:26
阅读次数:
398
第一节Relational DB -> Databases -> Tables -> Rows -> ColumnsElasticsearch -> Indices -> Types -> Documents -> Fields1.6小节"match" : { "abou...
分类:
其他好文 时间:
2015-09-11 12:05:53
阅读次数:
190
use information_schema;show tables;select * from KEY_COLUMN_USAGEwhere COLUMN_NAME='areaid';
分类:
数据库 时间:
2015-09-11 01:31:01
阅读次数:
192
select * from dba_tables where owner = 'DINGYINGSI';select * from user_col_comments where table_name = 'STUDENT';comment on table "STUDENT" is '这是学生信息...
分类:
数据库 时间:
2015-09-10 22:42:53
阅读次数:
243