莫愁前路无知己,天下谁人不识君。。。。

oracle/mysql数据库的小应用

上一篇 / 下一篇  2019-01-04 16:39:38 / 个人分类:测试技巧

快速找表:
select table_name,tablespace_name,temporary from user_tables 
where table_name like '%tb_name%';  
tb_name 用你得模糊表名代替
根据字段名查表
ORACLE:
select * from user_tab_columns where column_name='字段名;

旧版jmeter下载
https://archive.apache.org/dist/jmeter/binaries/

MYSQL:
SELECT table_name from information_schema.columns 
where TABLE_SCHEMA='DBName' and COLUMN_NAME='columnName'

解释一下:
            DBName: 要查询的数据库名称;
            columnName: 你所知道的列;



TAG:

 

评分:0

我来说两句

Open Toolbar