Results 1 to 6 of 6

Thread: SQL Query help

  1. #1
    Join Date
    Jul 2004
    Posts
    13

    SQL Query help

    Hi everyone,

    Can someone please help me. I want to know what will be the output of the following statement -

    SELECT REPLACE(TRANSLATE(LTRIM(RTRIM('!! ATHEN !!','!'), '!'), 'AN', '**'),'*','TROUBLE') FROM DUAL


    Thanks
    gsrai31

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    Why don't you run it and check it.

  3. #3
    Join Date
    Jul 2004
    Posts
    13

    SQL Query help

    Thanks for your suggestion. I dont have access to Oracle at the moment. I have tried testing it with MS Access but it did not work as Access does not support some the SQL function used in this statement. I have only started learning Oracle for last few weeks with training DVDs.

  4. #4
    Join Date
    Sep 2007
    Posts
    1
    Troublethetrouble

  5. #5
    Join Date
    Jul 2004
    Posts
    13

    SQL Query help

    Thank You.

  6. #6
    Join Date
    Oct 2005
    Posts
    2,557
    Quote Originally Posted by ingalesd
    Troublethetrouble
    No, it is TROUBLETHETROUBLE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •