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

Googler

Explorer
Ask Googler
48 Visits
1 Follower
0 Questions
Home/ Googler/Answers
  • About
  • Questions
  • Answers
  • Best Answers
  • Posts
  • Polls
  • Asked Questions
  • Comments
  1. Asked: March 4, 2019In: Oracle SQL

    ORA-12705 invalid or unknown NLS parameter value specified error when connect to oracle 11g from a php application

    Googler
    Googler Explorer
    Added an answer on March 4, 2019 at 10:40 pm

    Hello Waqas, ORA-12705 invalid or unknown NLS parameter value specified Cause: There are two possible causes: Either an attempt was made to issue an ALTER SESSION statement with an invalid NLS parameter or value; or the NLS_LANG environment variable contains an invalid language, territory, or characRead more

    Hello Waqas,

    ORA-12705 invalid or unknown NLS parameter value specified

    Cause: There are two possible causes: Either an attempt was made to issue an ALTER SESSION statement with an invalid NLS parameter or value; or the NLS_LANG environment variable contains an invalid language, territory, or character set.

    Action: Check the syntax of the ALTER SESSION command and the NLS parameter, correct the syntax and retry the statement, or specify correct values in the NLS_LANG environment variable. For more information about the syntax of the ALTER SESSION command, see Oracle8i SQL Reference.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  2. Asked: April 30, 2017In: PL/SQL

    What is the difference between binary_integer and pls_integer in pl/sql?

    Googler
    Googler Explorer
    Added an answer on September 19, 2018 at 8:10 am

    Hi, binary_integer and pls_integer both are same. Both are PL/SQL datatypes with range -2,147,648,467 to 2,147,648,467. Compared to integer and binary_integer pls_integer very fast in excution. Because pls_intger operates on machine arithmetic and binary_integer operes on library arithmetic. pls_intRead more

    Hi,

    binary_integer and pls_integer both are same. Both are PL/SQL datatypes with range -2,147,648,467 to 2,147,648,467.

    Compared to integer and binary_integer pls_integer very fast in excution. Because pls_intger operates on machine arithmetic and binary_integer operes on library arithmetic.

    pls_integer comes from oracle10g.

    binary_integer allows indexing integer for assocative arrays prior to oracle9i.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  3. Asked: May 11, 2018In: Oracle Reports

    rep-14015 : beforereport unkhown user exit fnd ?

    Googler
    Best Answer
    Googler Explorer
    Added an answer on May 12, 2018 at 8:24 pm

    The USER EXITS are specific to Applications. Try to check the report in builder by commenting those srw exits

    The USER EXITS are specific to Applications. Try to check the report in builder by commenting those srw exits

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  4. Asked: May 1, 2017In: Java

    Fatal Error EXCEPTION ACCESS VIOLATION (0xc0000005) when trying to run WEB (PIA) Server

    Googler
    Googler Explorer
    Added an answer on April 13, 2018 at 9:52 pm

    this may be because of java compatibility, so try to delete all the Java files and cleaned the %PATH% and installed it again.

    this may be because of java compatibility, so try to delete all the Java files and cleaned the %PATH% and installed it again.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  5. Asked: July 14, 2017In: Oracle Applications DBA

    Would you use flashback query to synchronize two schemas as of a certain point in time?

    Googler
    Googler Explorer
    Added an answer on April 13, 2018 at 9:49 pm

    there is two options here : a) use serializable or read only isolation - the database would be consistent. b) use flashback query themselves - mandate that you set undo_retention to "X" and then they can just flashback and get a read consistent version of the database back "X" units in time. anythinRead more

    there is two options here :

    a) use serializable or read only isolation – the database would be consistent.

    b) use flashback query themselves – mandate that you set undo_retention to “X” and then they can just flashback and get a read consistent version of the database back “X” units in time.

    anything else does not really make sense. To synchronize the two scheme’s (using flashback) would mean a big bump and grind – AND – would prove that the data they need is flashback queryable – meaning, they didn’t need to copy it, it already exist.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  6. Asked: January 6, 2018In: JavaScript

    How do I append an object to an array in JavaScript?

    Googler
    Googler Explorer
    Added an answer on April 13, 2018 at 9:40 pm

    Use the push() function to append to an array:[code]// initialize array var arr = [ "Adam", "panju", "keri" ];// append new value to the array arr.push("oraask");console.log(arr);[/code]Will print["Adam", "panju", "keri", "oraask"]

    Use the push() function to append to an array:

    [code]// initialize array
    var arr = [
    “Adam”,
    “panju”,
    “keri”
    ];

    // append new value to the array
    arr.push(“oraask”);

    console.log(arr);[/code]

    Will print

    [“Adam”, “panju”, “keri”, “oraask”]

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  7. Asked: March 19, 2017In: Java

    How to create ArrayList from array in Java ?

    Googler
    Googler Explorer
    Added an answer on April 4, 2018 at 9:06 pm

    you can use :[code]List<Integer> intList = new ArrayList<Integer>(Arrays.asList(a));[/code]

    you can use :

    [code]
    List<Integer> intList = new ArrayList<Integer>(Arrays.asList(a));
    [/code]

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  8. Asked: March 27, 2017In: JavaScript

    How to set a checkbox to be “checked” and “uncheck” with JQuery 1.5 & 1.6 ?

    Googler
    Googler Explorer
    Added an answer on April 1, 2018 at 9:23 pm

    jQuery 1.6+ Use the new .prop() method: [code]$('.myCheckbox').prop('checked', true); $('.myCheckbox').prop('checked', false);[/code] jQuery 1.5.x and below The .prop() method is not available, so you need to use .attr(). [code]$('.myCheckbox').attr('checked', true); $('.myCheckbox').attr('checked',Read more

    jQuery 1.6+

    Use the new .prop() method:

    [code]$(‘.myCheckbox’).prop(‘checked’, true);
    $(‘.myCheckbox’).prop(‘checked’, false);[/code]

    jQuery 1.5.x and below

    The .prop() method is not available, so you need to use .attr().

    [code]$(‘.myCheckbox’).attr(‘checked’, true);
    $(‘.myCheckbox’).attr(‘checked’, false);[/code]

    Note that this is the approach used by jQuery’s unit tests prior to version 1.6 and is preferable to using

    [code]$(‘.myCheckbox’).removeAttr(‘checked’);[/code]

    since the latter will, if the box was initially checked, change the behaviour of a call to .reset() on any form that contains it – a subtle but probably unwelcome behaviour change.

    For more context, some incomplete discussion of the changes to the handling of the checked attribute/property in the transition from 1.5.x to 1.6 can be found in the version 1.6 release notes and the Attributes vs. Properties section of the .prop() documentation.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  9. Asked: April 30, 2017In: JavaScript

    How to validate email address in JavaScript?

    Googler
    Googler Explorer
    Added an answer on April 1, 2018 at 9:02 pm

    Using regular expressions is probably the best way. You can see a bunch of tests here (taken from chromium) [code]function validateEmail(email) { var re = /^(([^<>()[]\.,;:s@"]+(.[^<>()[]\.,;:s@"]+)*)|(".+"))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}Read more

    Using regular expressions is probably the best way. You can see a bunch of tests here (taken from chromium)

    [code]function validateEmail(email) {
    var re = /^(([^<>()[]\.,;:s@”]+(.[^<>()[]\.,;:s@”]+)*)|(“.+”))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/;
    return re.test(String(email).toLowerCase());[/code]
    }

    Here’s the example of regular expresion that accepts unicode:

    [code]var re = /^(([^<>()[].,;:s@”]+(.[^<>()[].,;:s@”]+)*)|(“.+”))@(([^<>()[].,;:s@”]+.)+[^<>()[].,;:s@”]{2,})$/i;[/code]

    But keep in mind that one should not rely only upon JavaScript validation. JavaScript can easily be disabled. This should be validated on the server side as well.

    [code]function validateEmail(email) {
    var re = /^(([^<>()[]\.,;:s@”]+(.[^<>()[]\.,;:s@”]+)*)|(“.+”))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/;
    return re.test(email);
    }[/code]

    [code]
    function validate() {
    var $result = $(“#result”);
    var email = $(“#email”).val();
    $result.text(“”);

    if (validateEmail(email)) {
    $result.text(email + ” is valid :)”);
    $result.css(“color”, “green”);
    } else {
    $result.text(email + ” is not valid :(“);
    $result.css(“color”, “red”);
    }
    return false;
    }

    $(“#validate”).bind(“click”, validate);[/code]

    [code]<script src=”https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js”></script>

    <form>
    <p>Enter an email address:</p>
    <input id=’email’>
    <button type=’submit’ id=’validate’>Validate!</button>
    </form>

    <h2 id=’result’></h2>[/code]

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  10. Asked: March 27, 2018In: Java

    How to convert milliseconds to mins, seconds in java ?

    Googler
    Googler Explorer
    Added an answer on March 27, 2018 at 10:02 pm

    you can use java.util.concurrent.TimeUnit class Read more [code] String.format("%d mins, %d secs", TimeUnit.MILLISECONDS.toMinutes(milli), TimeUnit.MILLISECONDS.toSeconds(milli) - TimeUnit.MINUTES.toSeconds(TimeUnit.MILLISECONDS.toMinutes(milli)) ); [/code] If TimeUnit or toMinutes are unsupported (Read more

    you can use java.util.concurrent.TimeUnit class Read more

    [code]
    String.format(“%d mins, %d secs”,
    TimeUnit.MILLISECONDS.toMinutes(milli),
    TimeUnit.MILLISECONDS.toSeconds(milli) –
    TimeUnit.MINUTES.toSeconds(TimeUnit.MILLISECONDS.toMinutes(milli))
    );
    [/code]

    If TimeUnit or toMinutes are unsupported (such as on Android before API version 9), use the following equations:

    [code]
    int seconds = (int) (milliseconds / 1000) % 60 ;
    int minutes = (int) ((milliseconds / (1000*60)) % 60);
    int hours = (int) ((milliseconds / (1000*60*60)) % 24);
    [/code]

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

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.