Results 1 to 4 of 4

Thread: In SQL Statement What is the use of "?"

  1. #1
    Guest
    Guest

    In SQL Statement What is the use of "?"

    Hi Guys,

    In this SQL Statement :

    Select column1, column2, column3, from table1 where column1 = ? and column2 = ? and column3 = ?

    What is the use of ? here, what is the value of ? here too.

    appreciate your answers.


  2. #2
    Expert Member
    Join Date
    Jun 2006
    Answers
    410

    Re: In SQL Statement What is the use of "?"

    I don't think "?" has any meaning in oracle SQL.
    I think you are using sql tools like TOAD or SQL Navigator.


  3. #3
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: In SQL Statement What is the use of "?"

    "?" has no use in SQL .
    I think you might have come across this statment which is called from any front end like Java.


  4. #4
    Contributing Member
    Join Date
    Feb 2007
    Answers
    34

    Re: In SQL Statement What is the use of "?"

    Hi! Neol,
    I guess you are using sql statement in java, there it represents value which is going to be retrieve from the table or from the user. And in general it is used as a wild card which hold a value of single digit or character.

    Thanks & Regards.


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