Congratulations to all the winners of April 2013, they have won INR 3400 cash and INR 20147 worth prizes !
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 18326 |  Welcome, Guest!   Register  Login
 Home > Code Snippets > Others > & Substitution variable in Oracle ...
Bubbly

& Substitution variable in Oracle

 Code Snippet posted by: Bubbly | Posted on: 2/28/2010 | Category: Others Codes | Views: 1721 | Status: [Member] | Alert Moderator   


Use ampersand (&) substitute variable to prompt user for a input value.

SELECT empid,firstname, lastname, jobcode, salary FROM Employee WHERE empid = &employeeid;


This will prompt user for input in iSQL * Plus for employeeid and then when you click on submit for execution it will display the result.

++
Thanks & Regards,
Deepika
Found interesting? Add this to:


>> Write Response - Respond to this post and get points

More codes snippets

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/18/2013 10:14:02 AM