当前位置:网站首页>Processon producer process (customized)
Processon producer process (customized)
2022-06-25 02:16:00 【Eistert】
1 Find out the column names of related tables 、 notes 、 data type
1.1 SQL1
SELECT
a.OWNER Pattern ,
a.TABLE_NAME Table name ,
a.COLUMN_NAME Name ,
a.DATA_TYPE data type ,
a.DATA_LENGTH length ,
a.NULLABLE Non empty ,
--(CASE WHEN a.NULLABLE = 'N' THEN 'Y' ELSE 'N' END) Non empty ,
b.COMMENTS notes
FROM
ALL_TAB_COLUMNS a
LEFT JOIN ALL_COL_COMMENTS b ON
a.OWNER = b.OWNER
AND a.TABLE_NAME = b.TABLE_NAME
AND a.COLUMN_NAME = b.COLUMN_NAME
WHERE
a.OWNER = ' Database name /schema name '
AND
a.TABLE_NAME = ' Table name '
1.2 SQL2
SELECT
-- a.TABLE_NAME Table name ,
a.COLUMN_NAME Name ,
b.COMMENTS notes ,
a.DATA_TYPE data type
-- a.DATA_LENGTH length ,
-- a.NULLABLE Non empty ,
--(CASE WHEN a.NULLABLE = 'N' THEN 'Y' ELSE 'N' END) Non empty ,
FROM
user_tab_columns a
LEFT JOIN USER_COL_COMMENTS b ON a.TABLE_NAME = b.TABLE_NAME
AND a.COLUMN_NAME = b.COLUMN_NAME
WHERE
a.TABLE_NAME = ' Table name '
ORDER BY a.COLUMN_ID



2 Will this TXT Copy the document to processon in , Copy as many tables as you have .
The effect is as follows 
边栏推荐
- Test / development programmers, 30, do you feel confused? And where to go
- Investigation on key threats of cloud computing applications in 2022
- [day 26] given the ascending array nums of n elements, find a function to find the subscript of target in nums | learn binary search
- How can Huatai Securities open an account to achieve one in ten thousand? Are securities accounts safe and reliable
- 泰山OFFICE技术讲座:竖排时中文标点的简单研究
- 记一次beego通过go get命令后找不到bee.exe的坑
- 股票开账户如何优惠开户?手机开户是安全么?
- 云原生数据库VS传统数据库
- Jetson Nano 从入门到实战(案例:Opencv配置、人脸检测、二维码检测)
- LINQ 查询(3)
猜你喜欢
随机推荐
How can Huatai Securities open an account to achieve one in ten thousand? Are securities accounts safe and reliable
3 years of testing experience. I don't even understand what I really need on my resume. I need 20K to open my mouth?
How to open a stock account? Is it safe to open a mobile account?
Convert string array to list collection
When an interface has an exception, how do you analyze the exception?
Computing service network: a systematic revolution of multi integration
Pit entry machine learning: I. Introduction
Smartctl opens the device and encounters permission denied problem troubleshooting process record
字符串数组转换为list集合
如何通过EasyCVR接口监测日志观察平台拉流情况?
Taishan Office Technology Lecture: a simple study of Chinese punctuation in vertical arrangement
Use of hashcat
MOS管相关知识
[I.MX6UL] U-Boot移植(六) 网络驱动修改 LAN8720A
Resolution of cross reference in IDA
How to monitor the log through the easycvr interface to observe the platform streaming?
DataEase模板市场正式发布
入职一家新公司,如何快速熟悉代码?
It's 2022, and you still don't know what performance testing is?
How to choose a regular and safe foreign exchange trading platform?









