Results 1 to 2 of 2

Thread: Code to search Customer name from Customer ID

  1. #1
    Geek_Guest
    Guest

    Code to search Customer name from Customer ID

    I have one textbox like ID (Cust_ID), Search Button and a Label , When I click on the Button, then search ID in the Database (oracle) then Name(Cust_Name) will be displayed in the label, For this what will I do..?

    Plz.. give the Oracle code and help me...

    Question asked by visitor Purna


  2. #2
    Expert Member
    Join Date
    Sep 2006
    Answers
    130

    Re: Code to search Customer name from Customer ID

    Hi Purna,

    Use this query,
    SELECT cust_name FROM CUSTOMER
    WHERE cust_id = ID;

    ID is the passed textbox value.

    *** Innila ***

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact