当前位置:网站首页>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='字段名';
边栏推荐
- 【ARXIV2203】Efficient Long-Range Attention Network for Image Super-resolution
- 11. < tag dynamic programming and subsequence, subarray> lt.115. Different subsequences + Lt. 583. Deletion of two strings DBC
- 11.< tag-动态规划和子序列, 子数组>lt.115. 不同的子序列 + lt. 583. 两个字符串的删除操作 dbc
- Confused, I'm going to start running in the direction of [test]
- Online sql to XML tool
- I've been in an outsourcing company for two years, and I feel like I'm going to die
- 【内功心法】——函数栈帧的创建和销毁(C实现)
- Jsonp single sign on permission verification
- Microservice failure mode and building elastic system
- FreeRTOS个人笔记-任务通知
猜你喜欢

如何在 FastReport VCL 中通过 Outlook 发送和接收报告?

11.< tag-动态规划和子序列, 子数组>lt.115. 不同的子序列 + lt. 583. 两个字符串的删除操作 dbc

【ARXIV2204】Simple Baselines for Image Restoration

FreeRTOS personal notes - task notification

Bean的作用域、执行流程、生命周期

Reading notes of SMT practical guide 1

【SLAM】LVI-SAM解析——综述

Professor dongjunyu made a report on the academic activities of "Tongxin sticks to the study of war and epidemic"

Visual studio 2019 new OpenGL project does not need to reconfigure the environment

从微服务基本概念到核心组件-通过一个实例来讲解和分析
随机推荐
Antd setfieldsvalue warning problem cannot use 'setfieldsvalue' until you use 'getfielddecorator' or
在外包公司两年了,感觉快要废了
数据库日期类型全部为0
Test Development - UI testing in automated testing
Check box error
Driving the powerful functions of EVM and xcm, how subwallet enables Boca and moonbeam
Pipe /createpipe
How to successfully test php7.1 connecting to sqlserver2008r2
MySQL 默认隔离级别是RR,为什么阿里等大厂会改成RC?
Activation functions sigmoid, tanh, relu in convolutional neural networks
Internal implementation principle of yymodel
How about ink cloud?
Interpretation of afnetworking4.0 request principle
YUV to uiimage
MySQL date and time function, varchar and date are mutually converted
Scope, execution process and life cycle of bean
FreeRTOS个人笔记-任务通知
[computer level 3 information security] overview of information security assurance
How should programmers keep warm when winter is coming
Interpreting the source code of cfrunloopref