🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.database
Article #601

Re: ���PL/Sql developerƽ̨��oracle����

#601
From: ��ϵ����*Shiyanʲôʱ�����*5������
Date: Mon, 23 Feb 2009 03:37
58 lines
3591 bytes
����Ҳ�Dz����������Żش�һ��

�����Ҳ鵽һ�����������ģ�

select * from information_schema.columns

ִ�и�������ʾ���˵�ǰ������ݿ��е������е���Ϣ��������ͬ��ĸ�����

��ѯ����У�����Կ����ܶ�ϵͳ�IJ�����Ϣ

���ǣ��Ҹ�ݲ�ѯ���������еĸ��������Լ����������Ϣ

�޸IJ�ѯ���Ϊ��

select distinct table_name from information_schema.columns

���õ���������

ͬ�?�����޸�

select distinct column_name from information_schema.columns where 
table_name='test1'
('test1'Ϊ�Ҳ����ý�������)

���õ�test1���еĸ����е�����

��Ȼ�����ڸ��е�������Ϣ����������ͣ�����λ�õȵȿɲο������ѯ����еĸ���
����



���ڵ�������⣬����ͬһ����ݿ��еĸ����?ʹ����ϵ��һ��Ҳ���Խ��п��
��ѯ�ɣ������֮����Խ�������Լ�����黹�Ǵ�ţ������

���ĸ����⣬���Լ�Ҳϡ���Ϳ��ֻ֪��SQL server֧�����ֵ�¼��ʽ��һ�����û���
���룬��һ����windows�����֤���Ҹ��˸о��������õ���windows�����֤������˵
��Ӧ�����������ݿ����趨�û������벢����һ������Ȩ�޵����⡣

 �� �� skylei (sky) �Ĵ������ᵽ: ��
: ���˸ոսӴ�oracle���ϰ��Ҫ���ҽ���������⣬�����ţ�˿϶���Ϊ���ⲻ�����
: �ҽ����ͷʹ��
: 1.��������ݿ��ж�����Щtables��
: 2.������tables��column����ʲô��
: 3.��Щtables������ϵ��һ��ģ�
: 4.������һֱ��ͨ���û�������룬�Լ���ݿ����ڵص�IP��ַ��ƽʱ����ֱ�ӵ�½��  
: ȥ����û�в�ͨ���û��������ķ������뵽Զ����ݿ��أ�
:   ����һ��㽨����Ҳ��ָм���������


--
Hebei
��������Զ��ů�ļ�

qq����ϵ����

��Ʒ����ӭ���� Tea ��

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 59.78.26.99]
Technical Details
Message-ID: <4eYKFZ$bah@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.neu.edu.cn!news.shec6.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Thread: 101948,5663858f7c35f8d2,start
X-Google-Attributes: gid101948,domainid0,public,usenet
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.neu.edu.cn!news.shec6.edu.cn!SJTU
From: qqlover.bbs@bbs.sjtu.edu.cn (��ϵ����*Shiyanʲôʱ�����*5������)
Newsgroups: cn.bbs.comp.database
Subject: Re: ���PL/Sql developerƽ̨��oracle����
Date: 23 Feb 2009 03:37:46 GMT
Organization: ��ˮ˼Դ
Message-ID: <4eYKFZ$bah@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1235359475.A
Lines: 57