Quick Search:
CODE
Oracle PL/SQL Code Library
JOBS
Find Or Post Oracle Jobs
FORUM
Oracle Discussion & Chat
 Oracle PL/SQL: SQL*Plus Describe Jump to:  
Category: >> Oracle PL/SQL >> SQL*Plus Describe Bookmark and Share

<< lastnext >>

Snippet Name: SQL*Plus Describe

Description: Describe can be used in SQL*Plus to view tables, procedures, functions, packages.

Also see:
» SQL*Plus Configuration
» SQL*Plus SQL Prompt
» SQL*Plus Spool Command
» SQL*Plus Display commands
» SQL*Plus connect
» SQL*Plus formatting

Comment: (none)

Language: PL/SQL
Highlight Mode: PLSQL
Last Modified: March 07th, 2009

CREATE OR REPLACE FUNCTION test1(stringin VARCHAR2) 
RETURN VARCHAR2 IS
BEGIN
  NULL; 
END test1;
/
describe test1
 
a shorter form IS TO USE 'desc'
 
 
CREATE OR REPLACE PROCEDURE test2(numbin NUMBER,
stringin IN OUT VARCHAR2, tfin OUT BOOLEAN)
BEGIN
  NULL; 
END test2;
/
 
DESC demoproc
 
 
Describe a TABLE -
 
DESC USER_TABLES
 
 
CREATE SYNONYM test3\/
 
DESC test3


Free
Oracle Magazine
Subscriptions
and Oracle White Papers


SQL University.net courses meet the most demanding needs of the business world for advanced education in a cost-effective manner. SQL University.net courses are available immediately for IT professionals and can be taken without disruption of your workplace schedule or processes.

Compared to traditional travel-based training, SQL University.net saves time and valuable corporate resources, allowing companies to do more with less. That's our mission, and that's what we deliver.

Click here to find out more
 
Home      :      Code Library      :      Sponsors      :      Privacy      :      Terms of Use      :      Contact Us 286 users online    © 2009 psoug.org

PSOUG LOGIN
Username: 
Password: 
Forgot your password?