Oracle user password restrictions

Source: Internet
Author: User

A friend asked me a few days ago about oracle user password restrictions whether the oracle user password can be signed @. I was asked down for a moment and immediately flipped through the document. However, neither the Administrator's Guide nor Security Guide clearly stated which characters can be used as the oracle user password. Later, I thought it would be a problem. For example, the user is ziye and the password is ziye @ body. 1 sqlplus ziye/ziye @ body2 -- it will be parsed into: the user is ziye, the password is ziye, and the body is the connection identifier. Since the document does not explicitly limit the characters used by the password, there should be no limit on characters. Yes, it does. You only need to use double quotation marks ("") to identify the password. 1 sqlplus 'ziye/"ziye @ body" '@ rstdby2 -- 1 double quotation mark password, 1 single quotation mark username + password, that is: 'User name/"password" '@ service name here, there is also a common mistake, that is, creating an oracle object is, accidentally adding double quotation marks to the object name, the created object is not the expected object. A quoted identifier begins and ends with double quotation marks ("). If you name a schema object using a quoted identifier, then you must use the double quotation marks whenever you refer to that object.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.