随笔分类 - database
摘要:解决办法:设置SocketTimeoutspring配置如下:
阅读全文
摘要:先说说MongoDB是什么。MongoDB是一个介于关系数据库和非关系数据库之间的产品,是非关系数据库当中功能最丰富,最像关系数据库的。他支持的数据结构非常松散,是类似json的bjson格式,因此可以存储比较复杂的数据类型。Mongo最大的特点是他支持的查询语言非常强大,其语法有点类似于面向对象的...
阅读全文
摘要:INSERT INTO as_areas (id, parent_id, area_name, zipcode) select'952','88', '公主岭市', '136100' from dual union select'953','88', '双辽市', '136400' from dua...
阅读全文
摘要:1.复制表数据insert into DIC_TYPE_ITEM (ID,NAME,TYPE_CODE,DEL_FLAG) select UUID(),保养项目,'D23','0' from 保养库 where 零件 = 'I';
阅读全文
摘要:安装好一个mysql到D盘。然后把D盘的mysql文件夹复制到另外一个盘。我这里选择E盘之后修改 根目录下的 my.ini 端口号[mysqld]port = 3307ps:一定要和另外一个区分开。安装服务mysqld install mysql启动mysql服务net start mysql删除...
阅读全文
摘要:1.oracle 在 进行一对多关联查询时,只显示其中一的列表 (下面是代码部分);-----------------------------------order(1):id order_no price ...------------------------------------orderIt...
阅读全文
摘要:. net start mysql --启动mysql. mysql -u 用户名 -p 密码 --登陆. show databases --显示数据库.use databaseName --使用当前数据库.alter tableName add colName colType,addcolName...
阅读全文
摘要:1.查询用户拥有的表的表名 select a.table_name from information_schema.tables a;2.查询用户拥有的某个数据库的表 select a.table_name from information_schema.tables a where a.tab...
阅读全文
摘要:LOADDATALOW_PRIORITYLOCALINFILE'C:\\Users\\Administrator\\Desktop\\ligaowei.csv'INTOTABLEAUTO_BRANDFIELDSTERMINATEDBY','OPTIONALLYENCLOSEDBY'"'lineste...
阅读全文