Results 1 to 3 of 3

Thread: Call function in a query

  1. #1
    Geek_Guest
    Guest

    Call function in a query

    I am in need to call a function in a query. I want the syntax for that. Along with that i have to get some variables values also. So send me one example and the exact syntax to be placed and I dont know where that function should be copied or placed and how to call that function in the query.

    Question asked by visitor Nataraj


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

    Re: Call function in a query

    You can call the functions as you call predefined functions like TRIM,REPLACE etc. To call a function directly from SQL it should not have any OUT parameter.


  3. #3
    Expert Member
    Join Date
    Apr 2007
    Answers
    500

    Re: Call function in a query

    Suppose numtowords is a function,
    To call a function in query we can write
    select sal,numtowords(sal) from emp
    select numtowords(1000) from dual.i think i will help u.


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