Password Oracle 11r2 with non-alphanumeric characters

Spec: Windows 2008, Oracle 11 g 2

Problem: create userme identified by myp * ssword!
I'm trying to create a user name with a password with some of the non-alphanumeric characters, but get the error:
ERROR at line 1:
ORA-00922: missing or not valid option
the error is non-alphanumeric characters (* AND!)

Any idea and soluton would be appreciated.

The * character is not allowed, check http://docs.oracle.com/cd/B28359_01/server.111/b28337/tdpsg_user_accounts.htm#BEICECGF "Requirements to create passwords" for more details.

Published by: 197652048902 on June 7, 2012 20:44

Published by: 197652048902 on June 7, 2012 20:46

Tags: Database

Similar Questions

  • Extracting columns with non-English characters?

    Hello

    I have a query using SQL Developer on a table that contains several names of companies from different countries, and is one of the controls I should do to ensure consistency of data to find all the rows that the company name contains special or non-English characters (such as c, a, as example).

    I don't know what can I use to do this. I tried to gather using NLS_SORT, but it did not work.

    Is there a way to select only the lines that contain these special characters or non-English, excluding the results the lines containing only English characters? Please have in mind that we have a lot of languages in this table.

    The area that I would like to make the conditions is VARCHAR2.

    Please let me know if there is any additional information I should give you so that you can help me.

    Thanks in advance for the help.

    Kind regards
    Luis

    Just list all characters that or not special for you, use something like

    with test as
    (
    select 'Behringer Harvard Eldridge Venture, LLC' txt from dual
    union select 'Behringer Harvard Redwood, LLC' from dual
    union select 'Behringer Harvard Lovers Lane Venture I, LLC' from dual
    union select 'Atlas Pipeline Mid-Continent KansOK, LLC' from dual
    union select 'AB JÄRNBJÖRNEN' from dual
    union select 'FRONTBILAR I GÖTEBORG AB' from dual
    union select 'ARANDA HERMANOS MUEBLERÍA, S.A. DE C.V.' from dual
    )
    select *
    from test
    where translate( txt, chr(0) || 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,- ', chr(0) ) is not null
    
  • Failed to get file name of attachment on a part (with non ascii characters)

    Hello, all, and good year :)

    My problem is with non-ascii file name in attachments... Yes, I read the FAQ: http://www.oracle.com/technetwork/java/faq-135477.html#encodefilename

    I can't get the file name of the part of the body for this kind of attachments

    Here is my unit test:

    /**
    * contains different parts of various mailer coded in different ways...
    *
    */
    Private enum EncodedFileNamePart {}
    OUTLOOK ("Content-Type: text/plain;") \n name =------"=?" ISO-8859-1? ' Q? this estd = E9j = E0no = E7ac = EBl'estcool.txt? =-"\nContent-Transfer-Encoding: 7bit\nContent-Disposition: attachment; \n filename =------"=? ISO-8859-1? Q? it estd = E9j = E0no = E7ac = EBl'estcool.txt? =-"\n\nnoel 2010\n", "it estdejanoelcac'estcool.txt" ').

    GMAIL ("Content-Type: text/plain;") charset = US-ASCII; name =------=? " ISO-8859-1? B? ZOlq4G5v62znYWNlc3Rjb29sLnR4dA is? =-"\nContent-Disposition: attachment;" filename =------=? " ISO-8859-1? B? ZOlq4G5v62znYWNlc3Rjb29sLnR4dA is? =-"' \nContent-Transfer-Encoding: base64\nX-attachment-Id: f_giityr5r0\n\namluz2xligjlbgxziqo=\n","dejanoelcacestcool.txt"), "

    THUNDERBIRD ("Content-Type: text/plain;") \n name =------"=?" ISO-8859-1? Q? d = E9j = E0no = E7acestcool = 2Etxt = EBl? =-"\nContent-Transfer-Encoding: 7bit\nContent-Disposition: attachment;" "\n filename*0*=ISO-8859-1''%64%E9%6A%E0%6E%6F%EB%6C%E7%61%63%65%73%74%63%6F;\n filename*1*=%6F%6C%2E%74%78%74\n\njingle bells! \n","dejanoelcacestcool.txt"), "

    EVOLUTION ("Content-Disposition: attachment;") the file name * = ISO-8859-1 "d%E9j%E0no%EBl.txt\nContent-Type: text/plain; name * = ISO-8859-1 "d%E9j%E0no%EBl.txt; "charset =------'UTF - 8\' \nContent-Transfer-Encoding: 7bit\n\njingle bells\n","dejanoel.txt"), "

    ;

    String content = null;
    The string target = null;
    Private EncodedFileNamePart (string target, string content) {}
    This.Content = content;
    This.Target = target;
    }

    part public get() {}
    try {}
    ByteArrayInputStream bis = new ByteArrayInputStream (this.content.getBytes ());
    Part part = new MimeBodyPart (bis);
    bis. Close();
    return the part;
    }
    {} catch (Throwable e)
    Returns a null value.
    }
    }

    public String getTarget() {}
    Return this.target;
    }
    }

    @Test
    Public Sub testJavamailDecode() throws MessagingException, UnsupportedEncodingException {}

    System.setProperty ("mail.mime.encodefilename", "true");
    System.setProperty ("mail.mime.decodefilename", "true");

    for (EncodedFileNamePart party: EncodedFileNamePart.values ())
    assertEquals (part.name (), MimeUtility.decodeText (part.get () .getFileName (), part.getTarget ());

    }


    I take a NullPointerExcepion in the decodeText because getFileName() returns a null value in the case of EVOLUTION and works well with OUTLOOK, THUNDERBIRD and GMAIL.

    Content type of evolution is ' Content-Disposition: attachment; " the file name * = ISO-8859-1 'd%E9j%E0no%EBl.txt' which does not resemble the other (it looks like the RFC 2616 or RFC5987 to do this.)

    How can I handle this situation except by writing my own decoder?

    Thanks for your replies!

    Published by: user13619058 on 4 Jan. 2011 07:44

    Set the system property "mail.mime.decodeparameters" "true" to enable support of RFC 2231.
    See the javadocs of the package javax.mail.internet for the list of properties.

    Yes, the FAQ entry should contain details as well.

  • How to read/select only the records from a table with non-English characters

    Hello
    I need to find all records in a table with non-English (mainly Chinese) characters in at least one of the varchar2 columns. Let me kow if someone knows a way by which it can be done using SQL/PLSQL.

    Best regards
    Imran
    select * from your table
    where your_column != convert(your_column, 'UTF8', 'US7ASCII)
    

    Replace UTF8 with your database character set

    Published by: thtsang on October 15, 2009 03:53 - unequal sign change of! =

  • Why does not the meter of the quality of one of my choices of master password, regardless how I mix letters, numbers and non-alphanumeriques characters?

    I tried to create a master password, but it couldn't be done because the quality meter never accepted none of my passwords, even if I used a mixture of very complicated letters, numbers and special characters as well.

    There is no requirement when setting master password in Firefox. The password quality indicator is purely informative.

    If you try to fill the bar all the way, that's unlikely, unless you create a long password, or a mixture very complex of special characters, upper and lower case letters and numbers. Don't forget the password should be easy to remember and typed in, time after time. A highly secure password that is easily misspelled or forgotten is of no use.

  • Validation for Non-alphanumeric characters

    Hi all

    I want to do the Validation for Non Alpha-numeric characters.
    When saving record, name must allow the alphanumeric (letters and numbers only) characters, no special characters.

    How to do this?

    Help, please

    Thank you
    SK

    SK

    In the EOImpl file in the name setter method, you can write below logic

    import java.util.regex.*;
      public void setLastName(String value)
      {
    
        Pattern p = Pattern.compile("[^a-zA-Z0-9]");
        Matcher m  = p.matcher(value);
            if (m.find()){
                System.out.println("last Name"+value);
                throw new OAException("Special Characters Not allowed in Name", OAException.ERROR);
            }
           setAttributeInternal(LASTNAME, value);
    
      } 
    

    I hope that helps!

    Thank you
    AJ

  • Download text files with non-English characters

    I use an Apex page to download text files. Can I retrieve the contents of the wwv_flow_files.blob_content files and convert them into varchar2 with utl_raw.cast_to_varchar2, but the characters like o, to, u become garbage.

    What could be the problem? Characters lost when files are stored in wwv_flow_files or when I do the conversion?

    Some other info:
    * I don't see wwv_flow_files. DAD_CHARSET has the value 'ascii', wwv_flow_files. FILE_CHARSET is null.
    * Try utl_raw.cast_to_varchar2 (utl_raw.cast_to_raw ('aoeu')) returns "aoeu" correctly;
    * NLS_CHARACTERSET setting is AL32UTF8 (not only English ASCII)

    Hello

    Take a look at the csv upload - suggestion required with characters non-English in the csv file , it might help you.

    Thank you
    Manish

  • Delete non-alphanumberic characters?

    I have a description with non alphanumeric such as column
    '®' , '°' . I want to check for these types of characters in my query and remove them.

    Thank you

    Suppose you havie 10g

    with data AS (SELECT 'Gaga97#guru' x
                    FROM dual)
    SELECT regexp_replace(x,'([^[:alnum:]])')
    FROM data
    /
    
  • dblink oracle to postgres with dg4odbc. ORA-28500: connection between ORACLE and a non-Oracle system returned this message: ORA-02063: preceding line

    Hi, I am creating the database link from a database of Oracle 11 g PostgreSQL with DG4ODBC and unixODBC

    My configured for /etc/odbc.ini

    [PostgreSQL]

    Description = Test to Postgres

    Driver = psqlodbc

    Trace = Yes

    Trace file = /tmp/sql.log

    Database = danieldb

    ServerName =

    UserName = SA

    Password = password

    Port = 5432

    Protocol = 6.4

    ReadOnly = No

    RowVersioning = No

    ShowSystemTables = No

    ShowOidColumn = No

    FakeOidIndex = No

    My configured for /etc/odbcinst.ini

    [ODBC]

    CommLog = 1

    Debug = 1

    FileUsage = 1

    Layout common = No

    Trace = 1

    [psqlodbc]

    Description = PostgreSQL ODBC driver

    Driver=/usr/lib64/psqlodbcw.so

    CommLog = 1

    Debug = 0

    FileUsage = 1

    My configured for /u01/app/oracle/product/11.2.0/xe/hs/admin/initPostgreSQL.ora

    HS_FDS_CONNECT_INFO = PostgreSQL

    HS_FDS_TRACE_LEVEL = 0

    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbcpsql.so

    Set ODBCINI=/etc/odbc.ini

    My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora

    Listener =

    (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PostgreSQL)

    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe)

    (PROGRAM = dg4odbc)

    (ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/xe/lib')

    )

    )

    My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/tnsname.ora

    PostgreSQL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))

    (CONNECT_DATA =

    (SID = PostgreSQL)

    )

    (HS = OK)

    )

    I'm trying to created public database link:

    CREATE DATABASE LINK PUBLIC 'orapos' CONNECT to 'HIS' IDENTIFIED BY 'password' USING 'PostgreSQL ';

    When I used tnsping

    [root@oracle-poc admin] # tnsping PostgreSQL

    AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on May 16, 2013 20:34:19

    Copyright (c) 1997, 2011, Oracle.  All rights reserved.

    Use settings files:

    /U01/app/Oracle/product/11.2.0/XE/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521)) (CONNECT_DATA = (SID = PostgreSQL)) (HS = OK))

    OK (0 msec)

    and finally, I try to use the database link:

    "SQL > select * from tabel2"@orapos ".

    2;

    Select * from 'tabel2"@orapos '.

    *

    ERROR on line 1:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    ORA-02063: preceding the line of ORAPOS

    What wrong with my setup?

    Thank you and best regards,

    Daniel

    Daniel,

    The problem is that you are using the ODBC Postgres driver for the HS_FDS_SHAREABLE_NAME parameter, but this must be an ODBC driver manager and not the driver ODBC Psotgres.
    Go to the.

    http://www.unixODBC.org/

    Click the 'Download' and follow the instructions to download the 2.3.1 pilot and make libraries and programs.

    Once this is done, then use the driver as parameter HS_FDS_SHAREABLE_NAME Manager, for example-

    HS_FDS_SHAREABLE_NAME =/home/odbc64/unixODBC/2.3.1/lib/libodbc.so

    Depending on where you install it.

    Kind regards

    Mike

  • Integration with non-Oracle EBS products

    I'm new to EBS (I try to install EBS for myself and also - I'm going through the documentation), and I'm trying to figure out is - it possible to Exchange data between modules of the EBS and non-Oracle applications. I found nice about Oracle API links, Biz adapters and so on and I'm going to study them, but when I'm looking on some specifice modules, then their sheets contatin very limited integration with non-Oracle, actually - I assume that they are carefully selected partners. Then - I wounder, I feel of the documentation that the EBS is fairly open and we can build anything on them or in their breast, but - now I have doubts about this.

    Well - from my experience as a developer Oracle-no, I know that data exchange is a fairly common task and it can be a big pluss for system, if its data and services are, for example exposed as web services for inclusion in the larger process and so on. EBS aims in different ways (for example to restrict the user from the bowels of EBS EBS-sphere modules)? Right now I'm doing some specifications and requirements for a research project and I'm confused if I include my software with EBS integration or not, perhaps such integration is impossible?

    Published by: user454720 on 2008.17.12 14:58

    Hello

    Open interfaces were for the main entities for a long time, for example for financial services - AP invoices, bank statements, receipts (Lockbox) etc.
    With release 12, there are several APIs / open Interfaces with the general move towards Web Services (although not yet here!)
    You can find "end points", etc. of the API/Open Interfaces to http://irep.oracle.com
    All them above are supported with your standard EBS Support license.

    When you hit something where it is not an open Interface or API, then you move into solutions not supported. All database entities are visible (IE. Open) and the majority of the code is open or extensible. Of course if write you / change any support then moves to your responsibility. Use as much as possible private API (for example the API of PL/SQL using forms).

    So, in addition to the customization and expansion using the standard tools of the EBS UI/backend (OFA, forms, reports, PL/SQL, discoverer, Workflow, etc.), I know of people who have a front-end for data EBS using Oracle APEX (HTMLDB), PHP, c# .net, etc. of the ADF.

    In short, you can do whatever you like exchanging data, but there are moments where you go not supported...

    Kind regards
    Gareth

  • SHIFT key gives bad non-alphanumerique character keys

    I'm having a problem with the shift on Windows 7:

    After using a program for some time, the SHIFT key suddenly begins to produce the bad characters non-alphanumeriques key.

    It is the specific program - if I switch to another application, the shift key works fine. In addition, it disappears if I stop and restart the program.  But I've had this problem now in three unrelated applications, so that it looks like Windows 7, not the application.  In addition, it is a new feature of Windows 7, I never had XP or products previous (I skipped Vista!).

    It is not specific to one machine - I had it located on my desktop and my laptop (both machines to Windows 7 that I use regularly).

    It is quite possible that it is caused by pressing a combination of keys accidentally while I type, but I have no idea what could be the combination or how to restore normal operation.

    It is not a big problem because there are solutions, but it's getting boring!

    Any help appreciated.

     

    Canada, eh?

    Your keyboard has one or two other input languages available, probably the Canadian French and Canadian multilingual Standard which change the keyboard layout. Additional keyboard layouts will probably be triggered from assigned access keys. You need get the Advanced key settings within the input languages and text Services.

    Certainly, it is hard to find dialogue. I had the same problem between US (in English), Canadian French and Canadian multilingual (standard). I left intact language, but removed the quick access keys.

    If you spot a small icon keyboard in the Bar of Notification (right part of the taskbar, just to the left of the clock and a few other icons), then right-click and select settings.

    If this isn't the case, you will need applet of the region and language Control Panel, dialog language and region , the button Change keyboards... the keyboards and languages tab.

    Whatever it is, you should be at the service of text and input languages dialog box. Two options here:

    1. Remove all the languages that you do not want to stay on the system of the general tab.
    2. Click on the tab Advanced settings key . In the section of hot keys for input languages , use the Change Key Sequence button to remove any key Sequence that can interfere with your work. This includes the setting between the input languages (usually at the top of the list and probably the one causing your trouble).

    Click OK when you get out of each progressive dialogue in order to save the changes you have made.

    • "Have you tried it turned off then on again? '-'The IT Crowd' Roy (Emmy award-winning British comedy)
  • Return of the Non-numeric characters

    Hi all

    IM using Oracle 11 g 2. Here is my sample data and I want to search for the string has non-numeric characters in it.
    with t as
    (
    select '123' val from dual
    union
    select ' 123' val from dual
    union
    select '1123' val from dual
    union
    select 'A123' val from dual
    union
    select 'x 123' val from dual
    union
    select '#123' val from dual
    )
    select val from t
    where regexp_like (val, '[[:alpha:]|[:blank:]|#]')
    Query works perfectly for result value but would break if another string, say 123 @', with a special character comes. There is therefore no format specifier (as we [: alpha:], [: digit :]) to directly identify the non-digit character, including the space in a string?]) If not what is the round job for her?

    Thank you
    Vivek
    with t as
    (
    select '123' val from dual
    union
    select ' 123' val from dual
    union
    select '1123' val from dual
    union
    select 'A123' val from dual
    union
    select 'x 123' val from dual
    union
    select '#123' val from dual
    union
    select '@123' val from dual
    )
    select val
    from   t
    where  regexp_like (val, '[^[:digit:]]');
    

    must not specify a figure

  • Oracle 9i with microsoft sql server.

    How to connect oracle 9i with microsoft sql server.

    simply the following steps...

    Oracle9i, like the previous versions, supports heterogeneous services in order to allow data in the non-Oracle database to be queried using SQL. This support was in the form of transparent gateways, which are connectivity, vendor specific or generic using ODBC or OLEDB to connect. Features supported by a generic connectivity are generally more limited than as possible when using the vendor specific gateways, but it is fast and simple to configure. The following steps can be used to connect to Oracle to any compatible ODBC database (MS Access, SQL Server etc.) on the local server:
    Make sure that a valid user name and password are present for the non-Oracle (MyUser/mypassword) database.
    Create a data source ODBC for database non-Oracle (Network1).
    Create a file called: "ORACLE_HOME\hs\admin\initACCESS1.ora", which contains:

    HS_FDS_CONNECT_INFO = Network1 #ODBC DSN
    HS_FDS_TRACE_LEVEL = OFF
    Add the following entry in the tnsnames.ora file:

    NETWORK1. WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST=localhost) (PORT = 1521))
    (CONNECT_DATA = (SID = ACCESS1))
    (HS = OK)
    )
    Add the following entry in the listener.ora file:

    (SID_DESC =
    (SID_NAME = NETWORK1)
    (ORACLE_HOME = D:\Oracle\Ora\9011)
    (PROGRAM = hsodbc)
    )
    Reload the listener: lsnrctl reload
    Create a database to help link:

    CREATE DATABASE LINK access1.world CONNECT TO 'MyUser' IDENTIFIED BY 'MyPassword' USING "Network1. WORLD ';
    Query the table to help:

    SELECT *.
    OF [email protected];
    With MS Access, the first query is slow because of the request for access is loading. As expected, the following queries are not displayed a similar shift.

  • The analysis of the non-numeric characters in a string

    Hello

    I am communicating a robot to LabVIEW (2013) via TCP/IP and sockets. The robot is the server, and LV is the customer.

    I start with the target data in this format (in a string):

    "[0 ~ 100 ~ 0] ~ [0.96593 ~-0.25882 ~ 0 ~ 0] ~ [1 ~ 0 ~ 0 ~ 0] ~ [150 ~ 50]."

    [X, Y, Z], [Q1, Q2, Q3, Q4], [C1, C4, C6, Cx], [TCPVel, OrientVel] except replacement ',' (comma) with a ' ~ ' (tilde) because I load the target data in a spreadsheet which is a comma-delimited file.

    In LV, I take this string, the analysis of the chain and split individual items. I then pulled the singular elements as unique, 32-bit of real numbers. I take each one and convert them individually to a string, concatenate them and send them to the robot. The robot decompresses these raw bytes individually and converts them to a target of robot (position in space).

    I train (BT) check if the user has sent a bad character (non-digital) in the target data. Example of this is:

    [- 50 ~-150 ~ 0] ~ [0.96593 ~-0 ] [B2has5D882 ~ 0 ~ 0] ~ [1 ~-1 ~ 0 ~ 0] ~ [150 ~ 50]

    Now in BT, when I'm scanning the chain, these bad character becomes the entire element to zero and everything else then to zero as well. See attachment for example screen similar.

    My question is, my VI, I can analyze all non-numeric characters (that are inside the parentheses and characters that are NOT a ' ~ ' (tilde))? In this way, I can always get this item numbers and do not have this element or other items turn to zero?

    Thanks in advance for any help!

    Sorry for the question of the test

    SM


  • How to display the data, that contains non-numeric characters.

    Hello

    I have table t1 with column of type varchar2 below

    ID

    ------

    11151

    11412

    1113

    1 to 114

    11b 15

    111 6

    Now, I need to display the data, that contains non-numeric characters.

    Did you get the result like:

    STR

    ----------

    1 to 114

    11b 15

    111 6

    WITH t
         AS (SELECT '11151' str FROM DUAL
             UNION ALL
             SELECT '11412' FROM DUAL
             UNION ALL
             SELECT '1113' FROM DUAL
             UNION ALL
             SELECT '1a114' FROM DUAL
             UNION ALL
             SELECT '11b15' FROM DUAL
             UNION ALL
             SELECT '111c6' FROM DUAL)
    SELECT *
      FROM t
      where regexp_like(str,'[^[:digit:]]');
    

    See you soon,.

    Manik.

Maybe you are looking for