Export of database with password containing special characters

Hello

I do an export of data by using the command:

exp userid=user/pass@instance parfile = exp_parms.dat

The problem is that the password contains special characters, if the command fails with a syntax error. The command works perfectly fine when I run it without the password and just type in the prompt, but I need to include the password in the command because I'm running it in a batch file. I tried to use the escape character (\), but the result is an inconsistency of name of username-password.

Is it possible to declare a password containing special characters in the command "exp"?

... Thanks in advance!

Hello

I'm using linux and this is how I did it.

I created a user named ddg with ddg password) ddg

I did my expdp as order:

expdp ddg / directory "ddg ddg\)" = dpump_dir dumpfile = ddg.dmp

Put the password in quotes and escape with a funny character.

I hope this helps.

Dean

Tags: Database

Similar Questions

  • XML - text form loading external text contains special characters

    Hi @ all...

    in my projects, I often use xml files to load external text that I can format it in css and it worked fine until now...

    I have a site that I am prograaming in Italian and German and in both languages, there are amount of text that contains special characters like ' to' 'o'' 'e' 'u' 'a' 'u' and so on... the problem is that when I write a text with characters in xml file when the text is loaded into this flash of special characters are not recognized , and instead of them appears a small square...

    I tried to load the text from a html instead of an XML file (because in HTML, I know how to write these special characters and let them display right in my pages html... for example = & agrave; but not way... the flash now loades the text & agrave; instead of to...)

    How can I solve this problem?

    a big thanks to everyone!

    Hello

    You should probably incorporate the fonts that you use in your FLA file before you publish the SWF file. Just go through the steps in the video @ http://blip.tv/file/2357619 if that helps.

    Thank you!

  • Problem with cfhtmltopdf and special characters

    How can I fix cfhtmltopdf showing '? ' for special characters "1/2", "3/4", "•"? We have 11,0,07,296330 Standard in ColdFusion Server installed.

    After further research and discussed with our system/DBA administrator, we suspected that he needed the CF11 Server JVM setting. We have added '-Dfile.encoding = utf8 "to java.args in ShadoMX/util/Flex/SDK/bin/jvm.config and special characters displayed correctly.

  • Search XML with or without special characters

    Hello

    Please I need your help: I have this XML:

    <nodoPrincipal >
    <content linkName="" url="" linkType="multi" searchableTerms="generación, vida, familia, ">
    <multiLink url="cdw/day1/iAmFrom.doc"/>
    <multiLink url="cdw/day1/iAmFrom.pdf"/>
    </content>
    <content linkName="" url="" linkType="multi" searchableTerms="casa, cama, ropa, ">
    <multiLink url="cdw/day1/influences.doc"/>
    <multiLink url="cdw/day1/influences.pdf"/>
    </content>
    <content linkName="" url="day1/Strengths.ppt" linkType="dl" searchableTerms="teléfono, celular, computación, ">
    <desc><![CDATA[Strengths Finder]]></desc>
    </content>
    <content linkName="" url="" linkType="multi" searchableTerms="objeto, carta, mesa, ">
    <multiLink url="cdw/day1/haveDoBe.doc"/>
    <multiLink url="cdw/day1/haveDoBe.pdf"/>
    </content>
    </nodoPrincipal>
    

    And this search feature:

    //xml loaded above
    function processSearchXML(xmlData:XML, searchTerm:String):XMLList
    {
    
      var searchData:XMLList = xmlData.*;
    
      //if the node has searchable terms, add it to the list
      var searchTerms:XMLList = searchData.(hasOwnProperty('@searchableTerms'));
    
      //A list for the results
      var searchResults:XMLList = new XMLList();
    
      for each(var searchItem:XML in searchTerms)
      {
      //gets the attribute searchableTerms 
      var searchSplit:String = [email protected]();
    
      //builds the array of " , " seperated values
      //so that I can have multiple search terms 
      var searchTerms_ary:Array = searchSplit.split(", ");
      //A list for the results
      var searchResults_ary:Array = new Array();
      //trace(searchTerms_ary.length +" searchable terms in node");
    
      //search the array 
      for each(var term:String in searchTerms_ary)
      {
      //if the record matches what I searched for, add it to the results array
      if (term == searchTerm)
      {
      //trace(term + " has met the seach craiteria");
      searchResults_ary.push(term);
      }
      }
      //trace(searchResults_ary.length +" results in node");
      //trace();
      //if anything was added to the array 
      //add the branch to the xml list 
      if(searchResults_ary.length != 0)
      {
      searchResults += searchItem;
      }
      }
       trace(searchResults);
      return searchResults;
    }
    

    With this feature, I did find whole words, but I want to search for parts of words and search with special characters such as: phone or TV

    Help me invite!

    use indexOf instead of checking for a match if you want to retrieve partial matches.  for example,.

    If (term.indexOf (searchTerm) > - 1).

    Instead of

    If (term is searchTerm)

  • Create the database with a set of characters

    Hello

    I need to create a database with the character US8PC437 (platform Linux Redhat 5.4 64-bit, database version 11.2.0.3), but this character set do not appear when I create the database with the database assistant (DBCA).

    Any help will be apreciated.


    Best regards

    Antonio Serrano

    Published by: albrotar on March 6, 2012 09:14

    While AL32UTF8 is certainly recommended for the Oracle database character set, use only, if your application provider has confirmed that their application will work with a set of characters to multibyte database.

    To create a database US8PC437 (it is rarely a choice, in fact) with DBCA 11.2, select the "character sets" tab, once shown, then select the option 'Choose from the list of character sets' and uncheck 'Show recommended only character sets '. This will add US8PC437 to the "Database character set" drop-down list. Select "US8PC437" from the list and continue the process of creation.

    But first, contact your provider and ask a compatible Unicode version of your application.

    -Sergiusz

  • How to query a column to see if it contains special characters?

    What is the best way to know if a column has all special characters in it?

    Is there a special feature of Oracle to detect special characters?

    Also, these are the only special characters in Oracle?
    ,
    &
    =
    ?
    { }
    \
    ( )
    [ ]
    -
    ;
    ~
    |
    $
    !
    >
    *
    %
    _

    alnum are all alphanumeric characters so if you do not use almun it would work for you?

    with t as (
    select 'fdsa%fdsa' txt from dual union all
    select 'fdsa{qzjhgf' from dual union all
    select 'frsed' from dual union all
    select '8765885)#' from dual
    )
    select t.* from t
    where regexp_like(txt,'[^[:alnum:]]')
    
  • App contains special characters

    Hello... I use APEX 4.2.6

    After you create the DB application, I try to change the name of the application that is visible on each page and by mistake

    put ' < ' before the name of the application in the Application Properties.

    Now when I want to edit app to change this, I get a message that request contains invalid characters , and I can't change it more.


    SOLVED!

    Update apex_040200.wwv_flows set name ='APP_NAME_WITHOUT<' where="" id="">

  • Error updating databases with more than 255 characters of text

    Rocking LV2012 with a database MS Access 2000 was created and the installer in a different environment.  Try to access and manipulate the data using a LV because GUI sucks one, they built for us.

    Some columns are of type "Memo" and LV indicates column information for these columns with a size of 1073741823.  The problem is that if I try to update the data in these columns with the Data.vi to update the DB tools and the string is > 255 or so characters I get:

    ERROR-2147217887

    Possible reasons:
    ADO error: 0x80040E21
    Exception occurred in the Microsoft OLE DB provider for ODBC drivers: value invalid precision [Microsoft] [ODBC Microsoft Access driver] to create a NI_Database_API.lvlib:Rec - Command.vi-> NI_Database_API.lvlib:Cmd Execute.vi-> NI_Database_API.lvlibData.vi B Tools Update-> update DB.vi-> GTS.vi

    I realize that 255 is the limit for certain applications.  Is there some settings that I have to do to have the limit defined by the data source, and not by any supplier is to limit the length of the data?

    It should work. Looks like you are using the database connectivity kit. This could also be a problem. Click here for other drivers.

    http://www.notatamelion.com/2015/01/05/managing-data-the-easy-way/

    Mike...

  • Selection of rows where column string contains special characters.

    Hey there,

    Im trying to select rows based on a column containing a bar slash.

    I tried

    where substr (col1, INSTR(col1,'/'), INSTR(col1,'/') + 1)

    but no luck, is there a special way to treat this?

    Thanks in advance,
    Date of birth
    instr (str, '/') > 0
    

    as in

    SQL> with test
      2  as
      3  (select 'this first string contains / a slash' str from dual union all
      4   select 'this second string contains / a slash' str from dual union all
      5   select 'this third does not' str from dual
      6  )
      7  select *
      8    from test
      9   where instr (str, '/') > 0
     10  /
    
    STR
    -------------------------------------
    this first string contains / a slash
    this second string contains / a slash
    
  • Use bridge to create the text layer that contains special characters

    Hi, guys.

    I want to create a psd using bridge. but failed. Can someone help me?

    Here is my script:

    script2 = "var docWidth = 1650;';"

    script2 += 'var docHeight = 1650;';

    script2 += "var docName = 'Before';';"

    script2 +=' docRef var = app.documents.add (docWidth, docHeight, 300, docName); " ;

    script2 += "var myLayer1 = docRef.artLayers.add ();"; "

    script2 += "myLayer1.kind = LayerKind.TEXT; « ;

    script2 += "myLayer1.textItem.kind = TextType.POINTTEXT; « ;

    script2 += "myLayer1.textItem.font = 'News702 BT'; « ;

    script2 += 'myLayer1.textItem.size = 13;';

    script2 += "var textColor1 = new SolidColor;";

    script2 += "textColor1.rgb.hexValue ="F8F3E9"; « ;

    script2 += "myLayer1.textItem.color = textColor1; « ;

    script2 += "myLayer1.textItem.contents ="abcd\"abd\"ed\ "afa\" ";" « ;

    var bt = new BridgeTalk();

    BT. Target = "photoshop."

    BT. Body = script2;

    BT. Send();

    the problem is the content of text contains "or". ""

    You have some problems with your script, you give the values for the width and height for the new document, and they will default the ruler settings you have in Photoshop, this cannot be pixels.

    The name of the font should be the postScript name and that they contain no spaces.

    It is best to pass a string encoded in the script and then decode it in Photoshop: -.

    var text = encodeURI('abcd\'abd\'ed\"afa');
    var bt = new BridgeTalk();
    bt.target = "photoshop";
    bt.body = bt.body = "var main = " + script.toSource() + "; main(" + text.toSource() + ");";
    bt.send(4);
    
    function script(text){
    var docWidth = 1650;
    var docHeight = 1650;
    var docName ='Front';
    var docRef = app.documents.add(new UnitValue(docWidth,'px'),new UnitValue(docHeight,'px'), 300,docName);
    var myLayer1 = docRef.artLayers.add();
    myLayer1.kind = LayerKind.TEXT;
    myLayer1.textItem.kind = TextType.POINTTEXT;
    myLayer1.textItem.font='Georgia';
    myLayer1.textItem.size=13;
    var textColor1 = new SolidColor;
    textColor1.rgb.hexValue = 'F8F3E9';
    myLayer1.textItem.color = textColor1;
    myLayer1.textItem.contents =decodeURI(text);
    }
    
  • SLM2048 - problems of password with special characters

    Hi all

    We´ve got a SLM2048 in use (more updated FW) and I wanted to ask our new standards of password on this switch. So I changed the password for the admin user and used special characters, that were = &! = and clicked on update and save the changes. Now, I know that I should use alphanumeric characters only, but why are there no routine that checks the IPL for compliance before writing it on the switch.

    Problem now is that I'm unable to open a session and Don t want to do a hard reset, because the pattern would be lost. I know it should be a user admin rescue, but there is none.  What can I do now? Any chance that a cisco engineer could get in touch with me to debug the password entered in the laboratory and then, who could tell me what was recorded in ROM or how I can connect again?

    Thank you

    Philippe

    Hello

    I will ask our PM on a routine that checks for characters and whether or not they are acceptable for the system.  We should also make this more clear in the Administrator's guide.

    Just thinking out loud here... If she had the character, I wonder if he he replaced by a space, stars or a different character.    Have you tried with spaces where special characters have been?

    HTH,

    Andrew Lissitz

  • CLOB with special characters

    We have recently updated our database from a character set to UTF8. Since then, a function of database using DBMS_LOB. SUBSTR to return 4,000 characters both stopped working when the text contains special characters (accents, tilda, etc.). I know that our DBA converted all the fields of VARCHAR2. For example, he changed a field with the data type of VARCHAR2 (10) to VARCHAR2 (10 char). Is there a similar conversion to CLOB fields?

    user2486268 wrote:
    The problem may be the function itself. This is the code:

    My first thought was that I had to change v_return_answer VARCHAR2 (4000) to v_return_answer VARCHAR2 (4000 tank). I tried, but it made no difference. Here's an example of what look like parameters in the function call:
    SELECT f_get_long_answer (1307003,2,15,'L1',1)
    OF THE DOUBLE

    When there is a special character in the area of the sarquan_long_answer, he gets this Oracle error:
    ORA-6502: PL/SQL: digital or value error: character string buffer too small.

    I think that you already have the position in the right direction - your problem is that the DBMS_LOB. SUBSTR function is now trying to copy the 4,000 characters in your field of VARCHAR2.

    Many characters with your UTF8 characters will now allocate more than a single byte.

    So if you need to change the local variable to semantics (4000 tank) TANK if not changed a default of your DBA (parameter NLS_LENGTH_SEMANTICS) - but there is a limitation in Oracle that SQL can manage up to 4 000 bytes VARCHAR2 (PL/SQL can handle up to 32767 bytes in the latest versions of Oracle) - and if you try to copy the 4,000 characters in your local variable it will succeed to within the service, if the variable is defined as char 4 000, but it will fail to return the value of SQL.

    So I assume you are using this function in SQL and then fails with this error message if you try to use SQL from whenever the local variable is greater than 4 000 bytes. If your local variable is defined with the semantics of character then he must really succeed if you use from within PL/SQL, provided the variable that will receive the return of the value function is also defined to be big enough.

    Since a single character in UTF8 can allocate up to 4 bytes you can only assume back up to 1,000 characters now that SQL function, is over 4,000. Everything from 1 001 to 4 000 characters can potentially fail now in the SQL engine.

    Kind regards
    Randolf

    Oracle related blog stuff:
    http://Oracle-Randolf.blogspot.com/

    Co-author of the book "OakTable Expert Oracle practices":
    http://www.Apress.com/Book/view/1430226684
    http://www.Amazon.com/Expert-Oracle-practices-database-administration/DP/1430226684

  • Jabber for Windows 11.5 and connection of the unit - German special characters in password

    We Jabber for Windows 11.5.2 running and using the connection of the Unit 10.5.2. Whenever a user uses a password with the German special characters (a, o, u), Jabber is not able to connect to the connection of the unit. Everything else works fine. We also have this problem in 10.6 versions. In the voicemail tab it is said that the name of user or password is wrong. We can reproduce the problem...

    BTW. also it does not work in the current jabber for iOS version!

    Anyone know if it's a bug or experiencingthe same problem?

    I simply make the point that use German special characters causes a lot of problems, in many places, whole CUCM and IM & P and you avoid them.

  • Problem with special characters loaded from XML

    I have a XML with elements that contain special characters (for example: n, N, a, A, etc.), when I load the code XML and do a Trace () the element responsible, I see that it is loaded correctly, but in the text field is not special characters. For example, in the XML file, I have the Bañostext, but in the field indicated text Baos.

    It is clear that in the text field consist of uppercase, lowercase, numbers, punctuation symbols, and basic Latin characters.

    I also tested with stop System.useCodePage = true in the code, but does not.

    Thanks for any help you can give me.

    Garchabig.

    PD: Sorry for the bad English, I'm Latino. -

    embed a font that contains the characters required.

  • Deal with special characters in PHP part two

    Something confuses me on special characters.  I'm doing some troubleshooting/maintenaince on my files. I have my navigation bar on a separte file on a file, and use the function to include use.

    For the other file, I have understand it and just copy and paste what was in the file inculde directly on the file.

    Words that contain special characters in the include appear funny in the browser. However, the menu that is not included (but copied from the include) looks normal.

    Any thoughts?

    Kolsch01.jpgKolsch02.jpg

    One is copied and pasted from another, but different look

    Open the page that uses the include in a browser and then in the toolbar of the browser view encoding pages. Then do the same with the page that does not understand it. Is equivalent to the encoding? It could be a simple matter of adding the encoding in the http header:

    Definition of the Content-Type header with character

    header ("' Content-Type: text/html; charset = utf-8 ');

    Read this for more information: http://www.phpwact.org/php/i18n/charsets

Maybe you are looking for

  • I created a folder of email by clicking file &gt; new &gt; folder but the folder does not appear.

    Using Thunderbird, I went on the file menu, chose New > folder, but the folder doesn't appear in my list of files. How can I create a new folder that will show up in my list of files? Thank you.

  • BOOTMGR not found - cannot start Windows

    I have a similar problem... Start the computer and I get:-BOOTMGR not found... Press Ctrl + Alt + Del I put the Toshiba recovery disc in and it registered no operating system... I finally gave up and removed the completely hardrive and tried to insta

  • Portege M700 question cut audio Bluetooth

    Hello Just buy a new M700, but having some problem with the Bluetooth Audio cut constantly. It appears to cut vibrations and movement, if the laptop is sitting on a bluetooth audio of office it is well, but used on the train or by typing while on his

  • WebService in LabVIEW 2009

    Hi, I'm trying to start a Web as shown in the webcast service http://zone.NI.com/WV/app/doc/p/ID/WV-810 I tried with the same kind of vi (the sum operation). The Web service is deployed successfully, but I can't access it even from the same machine.

  • Latitude E6220/E6230/6530 Windows 8.1 sleep problem

    Hello world Then build a SOE for Windows 8.1 I came across a problem with the Latitude 6220, 6230 & 6530 where after putting the computer to sleep then wake the computer up it would lock-up on the login screen. After many hours of testing, I discover