随笔分类 -  Database

Database
摘要:使用PL/SQL登录oracle报ORA-12154: TNS: 无法解析指定的连接标识符sqlplus /nologconnect /as sysdbastartup报如下错误:ORA-00119: invalid specification for system parameter LOCAL_ 阅读全文
posted @ 2017-11-13 17:49 Brin Page 阅读(388) 评论(0) 推荐(0)
摘要:SQLSERVER多表关联删除: DELETE TABLE_A FROM TABLE_A DD INNER JOIN TABLE_B D ON DD.DIFFER_LOG_ID = D.LOG_IDWHERE D.UP_DATE = 20170915; SQLSERVER多表关联修改: UPDATE 阅读全文
posted @ 2017-09-15 13:17 Brin Page 阅读(212) 评论(0) 推荐(0)
摘要:启动memcached:./memcached -d -m 10 -l 127.0.0.1 -p 11211 -u root连接memcached:telnet 127.0.0.1 11211查看memcached所有key:stats items结果: STAT items:16:number ... 阅读全文
posted @ 2014-07-29 20:34 Brin Page 阅读(223) 评论(0) 推荐(0)
摘要:mongodb是一个非关系性数据库,也被称之为文本数据库,数据库中存储的数据都是JSON格式1.在DOS系统中找到mongodb文件夹,并启动 指令:mongod.exe -dbpath "D:\mongodb\data"2.在bin目录下双击mongo.exe打开一个控制端 通用命令(可以通过help查看相关指令) 查看所有数据库:show dbs; 新建数据库(如果当前数据库存在则不会新建而是进入当前数据库,否则新建):use db_name; 查看所有的表(collections相当于table):show collections 查看表中的所有记录:db.colle 阅读全文
posted @ 2013-01-29 13:37 Brin Page 阅读(277) 评论(0) 推荐(0)
摘要:create table students( sid int not null primary key auto_increment, sname char(4) not null, ssex char(2) not null);create table course( cid int not null primary key auto_increment, cname varchar(64) not null,);create table student_course( sid int not null, cid int not null, constraint for_key_sid fo 阅读全文
posted @ 2012-06-27 22:29 Brin Page 阅读(207) 评论(0) 推荐(0)