Sign Up

Sign Up to our social questions and Answers to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In
Continue with Google
or use


Have an account? Sign In Now

Sign In

Login to our social questions & Answers to ask questions, answer people’s questions & connect with other people.

Sign Up Here
Continue with Google
or use

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Continue with Google
or use

Forgot Password?

Need An Account, Sign Up Here

You must login to ask a question.

Continue with Google
or use

Forgot Password?

Need An Account, Sign Up Here

Sorry, you do not have permission to add post.

Continue with Google
or use

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Oraask Logo Oraask Logo
Sign InSign Up

Oraask

  • Write
    • Add A New Post
    • Ask A Question

Oraask Navigation

Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Dev Tools
    • Online Compiler
    • Base64 Converter
    • Oraask XML Formatter
    • Oraask JSON Formatter
  • Wiki
    • SQL Tutorials
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials

isouravghosh

Juniorisouravghosh
Ask isouravghosh
118 Visits
3 Followers
0 Questions
Home/ isouravghosh/Followers Answers
  • About
  • Questions
  • Answers
  • Best Answers
  • Posts
  • Polls
  • Asked Questions
  • Followed
  • Favorites
  • Comments
  • Followers Questions
  • Followers Answers
  • Followers Posts
  • Followers Comments
  1. Asked: October 14, 2018In: Oracle SQL

    Is there SQL Function to add space inside string value?

    Hassan AbdElrahman
    Best Answer
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on October 14, 2018 at 11:56 pm
    This answer was edited.

    You can use RPAD or LPAD functions with spaces select 'Ora' || rpad(' ',5,' ') || 'Ask' from dual;  

    You can use RPAD or LPAD functions with spaces

    select 'Ora' || rpad(' ',5,' ') || 'Ask'
    from dual;

     

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  2. Asked: July 20, 2017In: Oracle E-Business Suite

    error when using FND_STANDARD_DATE valueset

    Hassan AbdElrahman
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on October 11, 2018 at 5:25 pm

    Hi Maran The format mask for the FND_STANDARD_DATE data type is “YYYY/MM/DD HH24:MI:SS”. As a result, PLSQL procedure will receive a value like ‘2017/07/14 00:00:00’ as the date. so if you want to query from database you need to use this format : (2017/07/14 00:00:00) not '14-JUL-2017'

    Hi Maran

    The format mask for the FND_STANDARD_DATE data type is “YYYY/MM/DD HH24:MI:SS”. As a result, PLSQL procedure will receive a value like ‘2017/07/14 00:00:00’ as the date.

    so if you want to query from database you need to use this format : (2017/07/14 00:00:00) not ’14-JUL-2017′

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  3. Asked: June 10, 2017In: PL/SQL

    How to check and test read/write permissions of Oracle directory?

    Hassan AbdElrahman
    Best Answer
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on September 19, 2018 at 8:33 am
    This answer was edited.

    You can use the UTL_FILE package. For example, this will verify that you can create a new file named your_test_file_name.txt in the directory and write data to it [code]DECLAREl_file utl_file.file_type;BEGINl_file := utl_file.fopen (‘UR_DIR’, ‘some_new_file_name.txt’, ‘W’);utl_file.put_line (l_file,Read more

    You can use the UTL_FILE package. For example, this will verify that you can create a new file named your_test_file_name.txt in the directory and write data to it

    [code]
    DECLARE
    l_file utl_file.file_type;
    BEGIN
    l_file := utl_file.fopen (‘UR_DIR’, ‘some_new_file_name.txt’, ‘W’);
    utl_file.put_line (l_file, ‘Content of the file’);
    utl_file.fclose (l_file);
    EXCEPTION
    WHEN utl_file.invalid_path THEN
    dbms_output.put_line (‘File location is invalid’);
    END;
    [/code]

    Also you can use UTL_FILE.FGETATTR to check if your file is exist and readable or not for more info about UTL_FILE click here.

    If you are looking for How to grant read and write on directory in oracle you can check my answer here

    Regards.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  4. Asked: May 2, 2017In: Oracle SQL

    ORA-12015: cannot create a fast refresh materialized view from a complex query

    Hassan AbdElrahman
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on September 8, 2018 at 8:49 pm

    Hello Albert, generally this the explanation for that error : ORA-12015: cannot create a fast refresh materialized view from a complex query Cause: Neither ROWIDs and nor primary key constraints are supported for complex queries. Action: Reissue the command with the REFRESH FORCE or REFRESH COMPLETERead more

    Hello Albert,

    generally this the explanation for that error :

    ORA-12015: cannot create a fast refresh materialized view from a complex query
    Cause: Neither ROWIDs and nor primary key constraints are supported for complex queries.
    Action: Reissue the command with the REFRESH FORCE or REFRESH COMPLETE option or create a simple
    materialized view.

    also to Diagnosing ORA-12015 fast refresh materialized view / complex queries that’s depend on the database version there is some restrictions ex:

      Oracle10g – 10.2
    ——————–

    Fast refreshable materialized views must be based on master tables, master materialized views, or synonyms of master tables
    or master materialized views. Complete refresh must be used for a materialized view based on a view.

     

    for further details about diagnosing refer to : Note.179466.1

    hope this helpful.

    See less
      • -1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  5. Asked: January 10, 2018In: Oracle E-Business Suite

    What is FNDLOAD command to migrate Messages from one instance to another ?

    Hassan AbdElrahman
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on September 2, 2018 at 6:41 am
    This answer was edited.

    Hi, here is download and upload messages by FNDLOAD DOWNLOAD Command: FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afmdmsg.lct XX_MESSAGE_NAME.ldt FND_NEW_MESSAGES APPLICATION_SHORT_NAME='SQLGL' MESSAGE_NAME=XX_MESSAGE_NAME UPLOAD Command: FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/Read more

    Hi,

    here is download and upload messages by FNDLOAD

    DOWNLOAD Command:

    FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afmdmsg.lct XX_MESSAGE_NAME.ldt FND_NEW_MESSAGES APPLICATION_SHORT_NAME='SQLGL' MESSAGE_NAME=XX_MESSAGE_NAME

    UPLOAD Command:

    FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/afmdmsg.lct XX_MESSAGE_NAME.ldt UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE

    Don’t forget to change message name and application short name.

    Regards.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  6. Asked: September 1, 2018In: Oracle EBS SCM

    Unable To Finally Close Purchase Ordes or Blanket Releases Because of Error: APP-PO-14160

    Hassan AbdElrahman
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on September 1, 2018 at 10:23 am

    While reversal amounts are calculated, the Final_amt field is updated. This can be null when final_amt is already null. you can refer to Document : Doc ID 1990193.1 to find the solution.

    While reversal amounts are calculated, the Final_amt field is updated. This can be null when final_amt is already null.

    you can refer to Document : Doc ID 1990193.1 to find the solution.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  7. Asked: June 12, 2018In: Oracle EBS SCM

    Is it Possible to Migrate Blanket PO’S in Closed Status Like Standard PO’S?

    Hassan AbdElrahman
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on September 1, 2018 at 7:06 am

    Hi, Where you need to migrate exactly ? and if their status's is closed why you need them ? Regards.

    Hi,

    Where you need to migrate exactly ? and if their status’s is closed why you need them ?

    Regards.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  8. Asked: April 30, 2017In: Oracle SQL

    How to remove duplicate rows by where condition ?

    Hassan AbdElrahman
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on April 13, 2018 at 10:18 pm

    you can use : [code] SELECT * FROM test_table WHERE number_col NOT IN (SELECT number_col FROM test_table GROUP BY number_col HAVING count (*) > 1) [/code]

    you can use :

    [code]
    SELECT *
    FROM test_table
    WHERE number_col NOT IN (SELECT number_col
    FROM test_table
    GROUP BY number_col
    HAVING count (*) > 1)
    [/code]

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  9. Asked: April 1, 2017In: Oracle Forms

    How to to check old and new values for item in Oracle Form ?

    Hassan AbdElrahman
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on April 4, 2018 at 9:28 pm

    to get the database value there is one property (database_value) and here is the example to achieve this: [code] BEGIN IF :BLOCK.ITEM = GET_ITEM_PROPERTY('BLOCK.ITEM', database_value) THEN RETURN; END IF; END; [/code] sometimes this property return value (0) if so you can use another way : -take theRead more

    to get the database value there is one property (database_value) and here is the example to achieve this:

    [code]
    BEGIN
    IF :BLOCK.ITEM = GET_ITEM_PROPERTY(‘BLOCK.ITEM’, database_value) THEN
    RETURN;
    END IF;
    END;
    [/code]

    sometimes this property return value (0) if so you can use another way :

    -take the value in the pre text item trigger and keep it in global

    – as about this value in when validate item trigger and so on

    hope this may help you 🙂

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  10. Asked: March 10, 2017In: Oracle SQL

    How to return N of rows after ordering in oracle sql ?

    Hassan AbdElrahman
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on April 4, 2018 at 9:22 pm

    You can use a subquery for this like [code] select * from ( select * from emp order by sal desc ) where ROWNUM <= 5; [/code] Starting from Oracle 12c R1 (12.1). there is a syntax available to limit rows or start at offsets (full syntax here) example : [code] SELECT * FROM employees ORDER BY salarRead more

    You can use a subquery for this like

    [code]
    select *
    from
    ( select *
    from emp
    order by sal desc )
    where ROWNUM <= 5;
    [/code]

    Starting from Oracle 12c R1 (12.1). there is a syntax available to limit rows or start at offsets (full syntax here)

    example :

    [code]
    SELECT *
    FROM employees
    ORDER BY salary
    OFFSET 20 ROWS FETCH NEXT 10 ROWS ONLY;
    [/code]

    hope this helpful 🙂

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
1 … 9 10 11 12 13 … 19

Sidebar

Adv 250x250

Explore

  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Dev Tools
    • Online Compiler
    • Base64 Converter
    • Oraask XML Formatter
    • Oraask JSON Formatter
  • Wiki
    • SQL Tutorials
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials

Footer

Oraask

About

Oraask is a website for developers and software engineers who want to learn new skills, share their knowledge, and solve their coding problems. Oraask provides free content on various programming languages and topics, such as Oracle, Python, Java, etc. Oraask also allows users to ask questions and get answers from other members of the community.

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy
  • Terms & Conditions

Follow

Oraask is licensed under CC BY-NC-SA 4.0Oraask CopyrightOraask CopyrightOraask CopyrightOraask Copyright

© 2019 Oraask. All Rights Reserved
With Love by Oraask.