UrbanPro
true

Take Tuition from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

2. PL SQL Variables Explained

S
Saurabh Sinha
24/06/2020 0 0

PL/SQL variables must be declared in the declaration section or in a package as a global variable.

Example 1:

DECLARE
  v_ysc varchar2(100) := ‘YourSmartCode’;    ----- variable declaring and assigning value into it
BEGIN
  DBMS_OUTPUT.PUT_LINE (v_ysc);           ----- getting output
END;

Example 2:

DECLARE
  v_ysc varchar2(100);            ----- variable declaring
BEGIN
  v_ysc := ‘YourSmartCode’;        ----- assigning value into variable
  DBMS_OUTPUT.PUT_LINE (v_ysc);    ----- getting output
END;

0 Dislike
Follow 1

Please Enter a comment

Submit

Other Lessons for You


Golden Rules, the Crux of Accounts (contd. from Part 2)
Part 3: In Part 2, the mechanism of the 1st golden rule being, "Debit what comes in, credit what goes out", was discussed. It was also mentioned that a single transaction might require the application...

Metals and non metals
116 elements present in nature. Out of which most of the metals. Very less non metals as 22.metalloids are also present which has both the properties of metal and non metals. We have to study physical...


CLASS 6_ HABITATS & ADAPTATIONS
Habitat & Adaptations of Animals What is a habitat ? What does adaptation mean? Habitat - The living place of an animal where it spends most of its time. Adaptation - The features of an animal which...

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more