当前位置:网站首页>达梦数据库_DISQL下各种连接数据库的方法和执行SQL、脚本的方法
达梦数据库_DISQL下各种连接数据库的方法和执行SQL、脚本的方法
2022-07-24 05:19:00 【ls2best】
DISQL是DM数据库的一个命令行客户端工具,用来与DM数据库服务器进行交互。
DISQL是DM数据库自带的工具,只要安装了DM数据库,就可以在应用菜单和安装目录中找到。
1.DISQL连接数据库的方法
A、本地通过在安装目录bin下disql命令连接本地数据库,如有不是默认端口的要加上端口号:

B、远程登录远程数据库
LOGIN/LOGOUT 命令登录/退出远程数据库,如图:

C、CONN连接方式


2、执行 SQL、脚本的方法
A、通过disql登录后再字符界面支持sql、脚本

B、启动 DISQL 时,运行脚本。DISQL SYSDBA/SYSDBA `C:\test.sql

C、进入 DISQL 之后,通过start命令运行脚本。
SQL>start C:\test.sql 或 SQL>`C:\test.sql

D、使用 EDIT 命令编辑脚本
SQL>EDIT C:\test.sql 或 SQL>edit


达梦社区地址:https://eco.dameng.com
边栏推荐
- How to export Excel files with php+mysql
- 整站下载器推荐
- haclabs: no_ Name (hl.ova) target penetration vulnhub
- Flink函数(1):rich function
- 树状结构+节点
- Collection = = academic waste
- 量化合约夹子套利机器人系统逻辑开发原理分析
- How to forcibly uninstall Google browser? Don't worry about Google opening as a whiteboard. It's effective for personal testing.
- 波卡创始人 Gavin Wood:波卡治理 v2 会有哪些变化?
- 自定义MVC 3.0
猜你喜欢
随机推荐
vscode配置autoprefixer
自定义MVC 3.0
波卡生态发展不设限的奥义——多维解读平行链
Web3基金会「Grant计划」赋能开发者,盘点四大成功项目
jsp标签02
助力传统游戏转型GameFi,Web3Games推动游戏发展新航向
MySQL之函数运用
MySQL queries the last four digits of the mobile phone number. How to write the first few digits?
在 Polkadot 中进行创建的三种方式 —— 平行链、平行线程、智能合约
Interpretation of the randomness of POS mechanism, how does poca's randomness principle work?
Inventory Poka ecological potential project | cross chain characteristics to promote the prosperity of multi track
php的多选、单选结果怎么在前台显示?
在本地怎么使用phpstudy搭建WordPress网站
Flink state使用
Pycharm configures LAN access, and the LAN cannot access the solution
The profound meaning of unlimited ecological development in Poka -- Multidimensional Interpretation of parallel chain
mysqldump 导出中文乱码
Review the whole process of the 5th Polkadot Hackathon entrepreneurship competition, and uncover the secrets of the winning projects!
微信小程序map的使用
XML解析









