1、主库准备工作 Host IP DB_NAME DB_UNIQUE_NAME Net Service Name(网络服务名) 主库192.168.137.128 ORCLDB WENDING db_wending 备库192.168.137.129 ORCLDB PHYSTDBY db_physt ...
分类:
数据库 时间:
2021-06-07 20:39:51
阅读次数:
0
set pages 50000 set lines 800 col grp format a5 ...
分类:
数据库 时间:
2021-06-07 20:22:56
阅读次数:
0
db = pymysql.connect(host="localhost", port=3306, user="root", passwd="xxx", db="stu_info")cursor = db.cursor(cursor=pymysql.cursors.DictCursor)cursor ...
分类:
数据库 时间:
2021-06-07 20:09:12
阅读次数:
0
###Oracle Instant Client下载 下载地址: https://www.oracle.com/cn/database/technology/instant-client.html 根据需要选择对应的版本,下载所需的软件包 以我为例,我选择的是适用于 Linux x86-64(64 ...
分类:
系统相关 时间:
2021-06-06 19:21:46
阅读次数:
0
一、连接条件 1、启动oracle数据库 2、启动监听程序 3、配置listener.ora与tnsnames.ora 4、配置sqlnet.ora设置低版本客户端与高版本数据库的兼容性(非必须) 5、创建新用户 二、连接过程 1、配件listener.ora与tnsnames.ora 2、配置sq ...
分类:
数据库 时间:
2021-06-05 18:18:35
阅读次数:
0
在 linux 下面,查找路径一般是 where ,但是同样的命令在PS下面是不行的。 在PS下有个查看别名的命令:Get-Alias ,看一下where是啥? Alias where -> Where-Object 原来 where 是 Where-Object 这个命令的别名,并不是查看路径用的 ...
分类:
系统相关 时间:
2021-06-05 18:16:02
阅读次数:
0
1,查询实时值,从live表中查询,tag名为Item_0 select * from live WHERE TagName = 'Item_0' 返回结果 2,查询历史值,从history表中查询,tag名为Item_0 select * from history WHERE TagName = ...
分类:
数据库 时间:
2021-06-04 19:44:02
阅读次数:
0
dedecms在首页调用栏目(公司介绍)内容,一般通过代码: {dede:sql sql='Select content,substring(content,1,300) as content from dede_arctype where id=1'}[field:content function ...
分类:
其他好文 时间:
2021-06-04 19:42:24
阅读次数:
0
select 流程代码 from 地上 where 结构形式='框架结构' and 悬挑看台桁架=悬挑看台桁架类型 and 预制构件=是否预制 and 屋顶结构=屋顶类型 and 楼层=类层类型; 这一个大任务终于处理完了 ###################################### ...
分类:
其他好文 时间:
2021-06-04 19:38:11
阅读次数:
0
笛卡尔集 笛卡尔集会在下面条件下产生: 省略连接条件 连接条件无效 所有表中的所有行互相连接 为了避免笛卡尔集, 可以在 WHERE 加入有效的连接条件。 Oracle 连接 使用连接在多个表中查询数据。 在 WHERE 子句中写入连接条件。 在表中有相同列时,在列名之前加上表名前缀 等值连接 SE ...
分类:
其他好文 时间:
2021-06-04 19:36:58
阅读次数:
0