Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 27th, 2005, 10:36 PM
r2b2 r2b2 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 320 r2b2 User rank is Corporal (100 - 500 Reputation Level)r2b2 User rank is Corporal (100 - 500 Reputation Level)r2b2 User rank is Corporal (100 - 500 Reputation Level)r2b2 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 17 h 52 m 57 sec
Reputation Power: 7
PL/SQL start

im fairly new to Oracle and PL/SQL but not with SQL..my question
what application will i type my commands in PL/SQL? i tried to use sql plus but it doesnt work..

Reply With Quote
  #2  
Old July 28th, 2005, 05:43 PM
michaeljshannon michaeljshannon is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 26 michaeljshannon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 38 m 15 sec
Reputation Power: 0
I don't quite understand your question.

You can enter pl/sql commands using sql*plus.

select count(*) from user_tables;

You can save commands in a text file ( filename.sql ) and excute them:

@myprog.sql

I suggest you download the documentation for sql*plus from Oracle as well as buy a book or two.

Reply With Quote
  #3  
Old August 2nd, 2005, 07:16 PM
timlograsso timlograsso is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 26 timlograsso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 18 sec
Reputation Power: 0
PL/SQL question...

Quote:
Originally Posted by r2b2
im fairly new to Oracle and PL/SQL but not with SQL..my question
what application will i type my commands in PL/SQL? i tried to use sql plus but it doesnt work..


You load PL/SQL programs via the SQLPlus interface. You can run an anonymous pl/sql program by doing the following:

set serveroutput on;
Declare
--Variable Declarations
count NUMBER := 1;
BEGIN
dbms_output.put_line(count);
END;

You can create procedures/functions by:

set serveroutput on;
create or replace procedure Test(count in number)
as
begin
dbms_output.put_line(count);
end;

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > PL/SQL start


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway