GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  PL/SQL
Go To First  |  Previous Question  |  Next Question 
 PL/SQL  |  Question 94 of 155    Print  
What are the Blocks in PL/SQL?

  
Total Answers and Comments: 2 Last Update: September 05, 2007     Asked by: brahmaiah 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 13, 2007 05:30:33   #1  
Sanjay Bharti        

RE: What are the Blocks in PL/SQL?

Hi All,

I am new to this community. It seems the question is related to Begin End block of PL/SQL. See if you do not want to write any procedure and you want to do some sequence of operation that includes some calculation logic,queries etc, then you can use Begin End block....


Syntax is

Declare (optional if there is no variable)
<-- Declare the variables if any-->
Begin
<!-- Set of operations to be performed-->
End

You can also have Begin- End block inside the Procedure or function this is basically a block................

enjoy,
Sanjay Bharti


 
Is this answer useful? Yes | No
September 05, 2007 03:28:26   #2  
Ravindra Reddy        

RE: What are the Blocks in PL/SQL?

The PL/SQL Blocks are 2 types

1. Ananymous Block
2. Named Block

1. Ananymous Block means with out any name.
Ex:-
Declare
<variables>

Begin

<Exec Statmts>

Exception

End.


2. Names Block are Procedures/Functions/Triggers


Ok.....
        
Cheers

Rav'i'ndra Reddy


 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : The PL/SQL Blocks are 2 types1. Ananymous Block2. Named Block1. Ananymous Block means with out any name.Ex:- DeclareBeginExceptionEnd.2. Names Block are Procedures/Functions/TriggersOk.....        CheersRav'i'ndra ...
Read Answers (2) | Asked by : brahmaiah

What steps should a programmer should follow for better tunning of the PL/SQL blocks? 
View Question | Asked by : jkverma29


 Sponsored Links

 
Related Articles

The Building Blocks of ERP

The Building Blocks of ERP Enterprise Resource Planning is commonly used to improve the integration within companies and organizations and instead of focusing on individual parts the operations of the company are viewed as a whole Software infrastructure plays an important role in this process In ad
 

Tutorial 8: Building PL/SQL Blocks

This Week we will be learning about Creating PL SQL Blocks which includes Declaration Section Variables Scope of Variables Constants Records Manipulating Data in PL SQL and Using DML in PL SQL mosgoogle PL SQL is a procedural extension for Oracle&rsquo; s Structured Query Language PL SQL is not
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape