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


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

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.

Forgot Password?

Need An Account, Sign Up Here

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Sorry, you do not have permission to add post.

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
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Dev Tools
    • Online Compiler
    • Base64 Converter
  • Wiki
    • SQL Tutorials
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials

Gomaa Elmokhtar

Explorer
Ask Gomaa Elmokhtar
55 Visits
0 Followers
0 Questions
Home/ Gomaa Elmokhtar/Answers
  • About
  • Questions
  • Answers
  • Best Answers
  • Posts
  • Polls
  • Asked Questions
  • Followed
  • Favorites
  • Comments
  • Followers Questions
  • Followers Answers
  • Followers Posts
  • Followers Comments
  1. Asked: October 21, 2018In: Oracle SQL

    How to create synonym in oracle ?

    Gomaa Elmokhtar
    Gomaa Elmokhtar Explorer
    Added an answer on January 26, 2020 at 12:48 am

    use this query CREATE PUBLIC SYNONYM employees FOR hr.employees;

    use this query

    CREATE PUBLIC SYNONYM employees
    FOR hr.employees;
    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  2. Asked: June 14, 2016In: Oracle SQL

    get number of days between two dates column in oracle sql?

    Gomaa Elmokhtar
    Best Answer
    Gomaa Elmokhtar Explorer
    Added an answer on January 26, 2020 at 12:43 am
    This answer was edited.

    we assume that first date is sysdate and second date  is  a column with name 'hire_date ' then use this query select trunc(sysdate) -to_date(hire_date,'yyyy-mm-dd') from dual  .  

    we assume that first date is sysdate and second date  is  a column with name ‘hire_date ‘ then use this query

    select trunc(sysdate) -to_date(hire_date,'yyyy-mm-dd') from dual  .

     

    See less
      • 1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  3. Asked: November 2, 2019In: Java

    What is the difference between i++ and ++i in Java?

    Gomaa Elmokhtar
    Best Answer
    Gomaa Elmokhtar Explorer
    Added an answer on January 25, 2020 at 7:56 pm

    They both increment  the number with value 1 but but ++i increment the number before the current expression is evaluted, whereas i++ increment the number after the expression is evaluated  for example int i=5; int z=i++; //z equals 5 here int x=++i;  //x equals 6 here  

    They both increment  the number with value 1

    but but ++i increment the number before the current expression is evaluted, whereas i++ increment the number after the expression is evaluated 

    for example

    int i=5;

    int z=i++; //z equals 5 here

    int x=++i;  //x equals 6 here

     

    See less
      • 1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp

Sidebar

Adv 250x250

Explore

  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Dev Tools
    • Online Compiler
    • Base64 Converter
  • 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.