当前位置:网站首页>Oracle用sql查询某张表的字段信息(字段类型、长度等)
Oracle用sql查询某张表的字段信息(字段类型、长度等)
2022-07-28 05:16:00 【Ctrl练习生-谢哥哥blog】
查看某张表所有的字段信息
-- 查看某张表所有的字段信息
select
t.table_name, -- 表名
t.column_name, -- 字段名
t.data_type, -- 字段类型
t.data_length -- 字段长度
from
user_tab_columns t
where
t.table_name='表名';
查看某张表的某个字段信息
-- 查看某张表的某个字段信息
select
t.table_name, -- 表名
t.column_name, -- 字段名
t.data_type, -- 字段类型
t.data_length -- 字段长度
from
user_tab_columns t
where
t.table_name='表名' and t.column_name='字段名';
边栏推荐
- mysql的日期与时间函数,varchar与date相互转换
- CPU and memory usage are too high. How to modify RTSP round robin detection parameters to reduce server consumption?
- Online sql to XML tool
- 面试了一位38岁程序员,听说要加班就拒绝了
- block yandex bot
- HDU 2874 connections between cities
- Paper reading notes -- crop yield prediction using deep neural networks
- 从微服务基本概念到核心组件-通过一个实例来讲解和分析
- Clickhouse pit filling note 2: the join condition does not support non equal judgments such as greater than and less than
- Scope, execution process and life cycle of bean
猜你喜欢

Database date types are all 0

【内功心法】——函数栈帧的创建和销毁(C实现)

【ARXIV2205】EdgeViTs: Competing Light-weight CNNs on Mobile Devices with Vision Transformers

The research group passed the thesis defense successfully

First acquaintance with C language (2)

MySQL basic query

阿里怎么用DDD来拆分微服务?

2022 summer practice (PowerDesigner tutorial learning record) (first week)

FreeRTOS learning (I)

Win10 machine learning environment construction pycharm, anaconda, pytorch
随机推荐
多御安全浏览器将改进安全模式,让用户浏览更安全
Have you ever seen this kind of dynamic programming -- the stock problem of state machine dynamic programming (Part 2)
What are the methods of array objects in Es5 and what are the new methods in ES6
阿里怎么用DDD来拆分微服务?
[high CPU consumption] software_ reporter_ tool.exe
C language: some self realization of string functions
【CVPR2022】On the Integration of Self-Attention and Convolution
DELL远程控制卡 使用ipmitools设置ipmi
Mysql基本查询
Share several methods of managing flag bits in C program
How to analyze fans' interests?
How does Alibaba use DDD to split microservices?
Table image extraction based on traditional intersection method and Tesseract OCR
MySQL basic query
HashSet add
从微服务基本概念到核心组件-通过一个实例来讲解和分析
Internal implementation principle of yymodel
FreeRTOS startup process, coding style and debugging method
在外包公司两年了,感觉快要废了
MySQL 默认隔离级别是RR,为什么阿里等大厂会改成RC?