Oracle 10g R2 - Unicode is converted to unknown ?����

Ok, I've read a thousand posts. Tried everything still stuck.
I am using Oracle 10g : 10.2.0.5.0
I'm on a Mac, using SQL Developer 3.1.07
When I enter "ė€£¥©", the insertion into the database converts it to: ?����
This is straight from a SQL INSERT command, in SQLDeveloper, no java code or anything.
I tried adding a file called SQLDeveloper.app/Resources/sqldeveloper/sqldeveloper/sqldeveloper.conf and added these lines:
-Doracle.jdbc.defaultNChar=true
-Doracle.jdbc.convertNcharLiterals=true
Didn't help.
I tried created a test column and made the datatype NVARCHAR2. same results. VARCHAR column does the same corruption but that's expected.
I tried N'©' - doesn't work
I tried INSERT INTO testchar (column1) VALUES ( unistr('©') );
results is still : �
I check NSL_NVAR_CHARACTERSET and it's UTF8
NLS_LANGUAGE     AMERICAN
NLS_TERRITORY     AMERICA
NLS_CURRENCY     $
NLS_ISO_CURRENCY     AMERICA
NLS_NUMERIC_CHARACTERS     .,
NLS_CHARACTERSET     US7ASCII
NLS_CALENDAR     GREGORIAN
NLS_DATE_FORMAT     DD-MON-RR
NLS_DATE_LANGUAGE     AMERICAN
NLS_SORT     BINARY
NLS_TIME_FORMAT     HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY     $
NLS_COMP     BINARY
NLS_LENGTH_SEMANTICS     BYTE
NLS_NCHAR_CONV_EXCP     FALSE
NLS_NCHAR_CHARACTERSET     UTF8
NLS_RDBMS_VERSION     10.2.0.5.0I don't know what else to do. I am not a DBA. I'm just trying to fix a bug or at least tell a customer what's wrong. Entering special characters is required. Can anyone help? thank you!
I have read that the insertion into the database does its own conversion but I don't know if that applies to me since I'm in 10g R2
Edited by: 947012 on Aug 14, 2012 11:43 AM
My mac's locales are also :
$ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=Edited by: 947012 on Aug 14, 2012 11:45 AM
Edited by: 947012 on Aug 14, 2012 11:49 AM

NLS_NCHAR_CHARACTERSET specifies the encoding of the NVARCHAR2 variables but not the SQL statements. SQL statements, when they arrive to the database server, are always encoded in the database character set (NLS_CHARACTERSET). This is true for the whole statement, including any character literals. Therefore, even if a literal is valid in SQL Developer (which works in Unicode), when the literal arrives to the database, it is already stripped of all characters that the database character set does not support. The characters are not actually removed but they are converted to a replacement character. In case of the US7ASCII database character set, anything non-ASCII is lost.
The trick to avoid this problem is to:
- mark the literals that need to be preserved for NVARCHAR2 columns as NVARCHAR2 literals by prefixing them with "n".
- set the mentioned property to activate the client side encoding mechanism with basically does a rough parsing of the statement and replaces all N-literals with U-literals. Undocumented U literals are similar to UNISTR calls. They encode non-ASCII characters with Unicode escape sequences. For example, n'€' (U+20AC) is encoded as u'\20AC'. As u'\20AC' contains only ASCII characters, it arrives to the database unchanged. The SQL parser recognizes the U-literals and converts them (unescapes them) to NVARCHAR2 constants before further SQL processing, such as INSERT.
-- Sergiusz

Similar Messages

  • Migration using data pump Oracle 10g - Oracle 11g

    HI all,
    1)
    Right now I`m using Oracle 11g. I have a plan to import data from Oracle 10g. I would like to know if its possible to import data which was exported by datapump on Oracle 10g ?
    Should I convert somehow expdp output from Oracle 10g to Oracle 11g format ?
    2)
    Next question is. If I will use expdp to create dump of complete database. May I use *.dmp to import selected users ? Or only full database can be restored ?

    Yes, you can import 10g dump into an 11g database.
    Maybe you should take some time and read the section on datapump in the fine Oracle® [Database Utilities|http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/dp_import.htm#i1007324] manual.
    :p

  • How to know whether my oracle 10g instalation in unicode supported or not

    Hi
    i am new to oracle. I have installed Oracle 10g client and server.
    I want to know whether the database created can store unicode data/arabic data.
    Please guide me how can i find whether unicode support is on for my db or not.
    The outputs of some of the queries run by me are as follows:
    SQL> HOST ECHO $NLS_LANG;
    $NLS_LANG
    SQL> HOST ECHO %NLS_LANG%;
    %NLS_LANG%
    SQL> @.[%NLS_LANG%];
    SP2-0310: unable to open file ".[AMERICAN_AMERICA.WE8MSWIN1252]"
    SQL> select cust_eng_name,cust_arb_name from custmast;
    select cust_eng_name,cust_arb_name from custmast
    ERROR at line 1:
    ORA-00942: table or view does not exist
    Please reply me asap.

    user10817093 wrote:
    1. Yeh that is the thing I want. What are the other steps that i need to do with my Oracle Client/Server for unicode support.
    Where i am getting trouble is the Oracle Client/Server unicode support.
    And how to decide what character set will suite me best.1. If your application is going to be a "true" Unicode application, you can set the NLS_LANG registry/environment setting on your clients to ".UTF8" to enable true Unicode support.
    2. Your database needs to support Unicode, too.
    The recommended database character set for this in 10g is "AL32UTF8".
    If you currently have a single-byte database character set (WE8MSWIN1252), you need to decide how to get this done.
    If you can simply create a new database using the "AL32UTF8" character set, this would be the easiest way.
    There are several documents available (e.g. on Oracle MetaLink) that describe in detail how to convert the character set of an existing database. Depending on your data this can be a tedious task involving several steps, so may be creating a new database and exporting/importing the data might be the simplest choice if you need to migrate some existing data.
    The recommended national character set is "AL16UTF16", by the way, but that shouldn't matter that much once you have a Unicode enabled database using "AL32UTF8" as database character set.
    2. How to set/retrive the "Database Character Set" and "National Character Set". This has already been answered partly. Retrieve:
    Database Character Set:
    SELECT VALUE FROM NLS_DATABASE_PARAMETERS WHERE PARAMETER = 'NLS_CHARACTERSET';National Character Set:
    SELECT VALUE FROM NLS_DATABASE_PARAMETERS WHERE PARAMETER = 'NLS_NCHAR_CHARACTERSET';In most of the cases you can't just simply set/alter the character sets, as outlined above.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • ExtStringTemplate Warning while Converting a SQLServer DB to Oracle 10g

    Hi everyone,
    I hope this is the right Forum to ask about this. I apologize if I misplaced it
    I am currently having some trouble with the migration of a MSSQL Database (2000 with all its stored Procedures) to ORACLE 10g. I am using the offline Capture Method to generate the captured Model without any errors or warnings.
    But as soon as I convert the Captured Model to the ORACLE Model I get a bunch of Warning Messages that read as follows:
    Oracle.dbtools.migration.parser.ext.ExtStringTemplate.setValue(ExtStringTemplate.java:134)
    Clicking on Details does not give any further clues on which Object caused it during conversion.
    During the last few Days I tried to find Information about this Warning Message searching several Blogs and Forums, but to no avail.
    I would like to know how I could solve this problem or if it even might influence the applications later on that are supposed to work with the converted Database.
    Any help with this is highly appreciated
    Here some Information about the test Environment:
    System specs:
    Oracle runs in A Virtual Box Dev-Environment with Win2k3 as Guest OS
    VirtualBox: 3.0.10 r54097
    ORACLE Database 10g r 2
    SQL Developer     Info
    Oracle SQL Developer 2.1.0.62
    Version 2.1.0.62
    Build MAIN-62.61
    Copyright © 2005, 2009, Oracle. All Rights Reserved. Alle Rechte vorbehalten.
    IDE Version: 11.1.1.2.36.54.96
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.62.61
    Version
    Komponente     Version
    ==========     =======
    Java(TM)-Plattform     1.6.0_11
    Oracle-IDE     2.1.0.62.61
    Versionierungsunterstützung     2.1.0.62.61
    Eigenschaften
    Name     Wert
    ====     ====
    apple.laf.useScreenMenuBar     true
    awt.toolkit     sun.awt.windows.WToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    com.apple.macos.smallTabs     true
    com.apple.mrj.application.apple.menu.about.name     "SQL_Developer"
    com.apple.mrj.application.growbox.intrudes     false
    file.encoding     Cp1252
    file.encoding.pkg     sun.io
    file.separator     \
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     1174433566556
    ide.build     MAIN-62.61
    ide.conf     C:\Programme\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.config_pathname     C:\Programme\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     true
    ide.java.minversion     1.6.0_04
    ide.launcherProcessId     2636
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\SQL Developer
    ide.pref.dir.base     C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten
    ide.product     oracle.sqldeveloper
    ide.shell.enableFileTypeAssociation     C:\Programme\sqldeveloper\sqldeveloper.exe
    ide.splash.screen     splash.gif
    ide.startingArg0     C:\Programme\sqldeveloper\sqldeveloper.exe
    ide.startingcwd     C:\Dokumente und Einstellungen\Administrator\Desktop
    ide.user.dir     C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\SQL Developer
    ide.user.dir.var     IDE_USER_DIR
    ide.work.dir     C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\SQL Developer
    ide.work.dir.base     C:\Dokumente und Einstellungen\Administrator\Eigene Dateien
    java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob     sun.awt.windows.WPrinterJob
    java.class.path     ..\..\ide\lib\ide-boot.jar
    java.class.version     50.0
    java.endorsed.dirs     C:\Programme\sqldeveloper\jdk\jre\lib\endorsed
    java.ext.dirs     C:\Programme\sqldeveloper\jdk\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
    java.home     C:\Programme\sqldeveloper\jdk\jre
    java.io.tmpdir     C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\
    java.library.path     C:\Programme\sqldeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Microsoft SQL Server\100\Tools\Binn\;C:\Programme\Microsoft SQL Server\100\DTS\Binn\;C:\Programme\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Programme\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\WINDOWS\system32\WindowsPowerShell\v1.0
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_11-b03
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    java.vendor     Sun Microsystems Inc.
    java.vendor.url     http://java.sun.com/
    java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
    java.version     1.6.0_11
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     11.0-b16
    jdbc.library     /C:/Programme/sqldeveloper/jdbc/lib/ojdbc5.jar
    line.separator     \r\n
    oracle.home     C:\Programme\sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.jdbc.Trace     true
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /C:/Programme/sqldeveloper/jlib/orai18n.jar
    os.arch     x86
    os.name     Windows 2003
    os.version     5.2
    path.separator     ;
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sqldev.debug     false
    sun.arch.data.model     32
    sun.boot.class.path     C:\Programme\sqldeveloper\jdk\jre\lib\resources.jar;C:\Programme\sqldeveloper\jdk\jre\lib\rt.jar;C:\Programme\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\Programme\sqldeveloper\jdk\jre\lib\jsse.jar;C:\Programme\sqldeveloper\jdk\jre\lib\jce.jar;C:\Programme\sqldeveloper\jdk\jre\lib\charsets.jar;C:\Programme\sqldeveloper\jdk\jre\classes
    sun.boot.library.path     C:\Programme\sqldeveloper\jdk\jre\bin
    sun.cpu.endian     little
    sun.cpu.isalist     pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    sun.desktop     windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level     Service Pack 2
    svnkit.sax.useDefault     true
    user.country     DE
    user.dir     C:\Programme\sqldeveloper\sqldeveloper\bin
    user.home     C:\Dokumente und Einstellungen\Administrator
    user.language     de
    user.name     Administrator
    user.timezone     Europe/Berlin
    user.variant     
    windows.shell.font.languages     
    Erweiterungen
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Audit     oracle.ide.audit     11.1.1.2.36.54.96     Geladen
    Check For Updates     oracle.ide.webupdate     11.1.1.2.36.54.96     Geladen
    Code Editor     oracle.ide.ceditor     11.1.1.2.36.54.96     Geladen
    Datenbank-UI     oracle.ide.db     11.1.1.2.36.54.96     Geladen
    Datenbankobjekt-Explorer     oracle.ide.db.explorer     11.1.1.2.36.54.96     Geladen
    Diff/Merge     oracle.ide.diffmerge     11.1.1.2.36.54.96     Geladen
    Extended IDE Platform     oracle.javacore     11.1.1.2.36.54.96     Geladen
    Externe Tools     oracle.ide.externaltools     11.1.1.2.36.54.96     Geladen
    File Support     oracle.ide.files     11.1.1.2.36.54.96     Geladen
    File System Navigator     oracle.sqldeveloper.filenavigator     11.1.1.62.61     Geladen
    Help System     oracle.ide.help     11.1.1.2.36.54.96     Geladen
    Import/Export Support     oracle.ide.importexport     11.1.1.2.36.54.96     Geladen
    Index Migrator support     oracle.ideimpl.indexing-migrator     11.1.1.2.36.54.96     Geladen
    JDeveloper Runner     oracle.jdeveloper.runner     11.1.1.2.36.54.96     Geladen
    Log Window     oracle.ide.log     11.1.1.2.36.54.96     Geladen
    Navigator     oracle.ide.navigator     11.1.1.2.36.54.96     Geladen
    Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.62.61     Geladen
    Objektgalerie     oracle.ide.gallery     11.1.1.2.36.54.96     Geladen
    Oracle Data Modeler Reports     oracle.sqldeveloper.datamodeler_reports     11.1.1.62.61     Geladen
    Oracle Database Browser     oracle.sqldeveloper.thirdparty.browsers     11.1.1.62.61     Geladen
    Oracle IDE     oracle.ide     11.1.1.2.36.54.96     Geladen
    Oracle SQL Developer     oracle.sqldeveloper     11.1.1.62.61     Geladen
    Oracle SQL Developer Data Modeler Viewer     oracle.datamodeler     2.0.0.574     Geladen
    Oracle SQL Developer Extras     oracle.sqldeveloper.extras     1.1.1.62.61     Geladen
    Oracle SQL Developer Migrations     oracle.sqldeveloper.migration     11.1.1.62.61     Geladen
    Oracle SQL Developer Migrations - Antlr3 Translation Core     oracle.sqldeveloper.migration.translation.core_antlr3     11.1.1.62.61     Geladen
    Oracle SQL Developer Migrations - DB2     oracle.sqldeveloper.migration.db2     11.1.1.62.61     Geladen
    Oracle SQL Developer Migrations - Microsoft Access     oracle.sqldeveloper.migration.msaccess     11.1.1.62.61     Geladen
    Oracle SQL Developer Migrations - MySQL     oracle.sqldeveloper.migration.mysql     11.1.1.62.61     Geladen
    Oracle SQL Developer Migrations - SQLServer     oracle.sqldeveloper.migration.sqlserver     11.1.1.62.61     Geladen
    Oracle SQL Developer Migrations - Sybase     oracle.sqldeveloper.migration.sybase     11.1.1.62.61     Geladen
    Oracle SQL Developer Migrations - Teradata     oracle.sqldeveloper.migration.teradata     11.1.1.62.61     Geladen
    Oracle SQL Developer Migrations - Translation Core     oracle.sqldeveloper.migration.translation.core     11.1.1.62.61     Geladen
    Oracle SQL Developer Migrations - Translation Db2     oracle.sqldeveloper.migration.translation.db2     11.1.1.62.61     Geladen
    Oracle SQL Developer Migrations - Translation UI     oracle.sqldeveloper.migration.translation.gui     11.1.1.62.61     Geladen
    Oracle SQL Developer Reports     oracle.sqldeveloper.report     11.1.1.62.61     Geladen
    Oracle SQL Developer SearchBar     oracle.sqldeveloper.searchbar     11.1.1.62.61     Geladen
    Oracle SQL Developer TimesTen     oracle.sqldeveloper.timesten     2.0.0.62.61     Geladen
    Oracle SQL Developer Unit Test     oracle.sqldeveloper.unit_test     11.1.1.62.61     Geladen
    Oracle SQL Developer Worksheet     oracle.sqldeveloper.worksheet     11.1.1.62.61     Geladen
    Oracle XML Schema Support     oracle.sqldeveloper.xmlschema     11.1.1.62.61     Geladen
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.2.36.54.96     Geladen
    Peek     oracle.ide.peek     11.1.1.2.36.54.96     Geladen
    Persistent Storage     oracle.ide.persistence     11.1.1.2.36.54.96     Geladen
    QuickDiff     oracle.ide.quickdiff     11.1.1.2.36.54.96     Geladen
    Replace With     oracle.ide.replace     11.1.1.2.36.54.96     Geladen
    Runner     oracle.ide.runner     11.1.1.2.36.54.96     Geladen
    Snippet Window     oracle.sqldeveloper.snippet     11.1.1.62.61     Geladen
    Sql Monitoring Project     oracle.sqldeveloper.sqlmonitor     11.1.1.62.61     Geladen
    Tuning     oracle.sqldeveloper.tuning     11.1.1.62.61     Geladen
    Unterstützung von Datenbankverbindungen     oracle.jdeveloper.db.connection     11.1.1.2.36.54.96     Geladen
    Unterstützung von Historie     oracle.jdeveloper.history     11.1.1.2.36.54.96     Geladen
    VHV     oracle.ide.vhv     11.1.1.2.36.54.96     Geladen
    Versionierungsunterstützung     oracle.jdeveloper.vcs     11.1.1.2.36.54.96     Geladen
    Versionierungsunterstützung für Subversion     oracle.jdeveloper.subversion     11.1.1.2.36.54.96     Geladen
    Virtual File System     oracle.ide.vfs     11.1.1.2.36.54.96     Geladen
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.2.36.54.96     Geladen
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.2.36.54.96     Geladen

    Thank you very much for your Reply.
    Sorry that I couldn't write earlier.
    --Does this stop your Oracle Model from being converted?
    The conversion process completes with a few errors that I'm going to fix by hand.
    --Is there anymore to the Exception ?
    Concerning the Details button: When I click Details it only shows the same exception Message as posted above. Unfortunatly no stacktrace. But maybe there is some kind of logfile outside the IDE which I am not aware of yet, since I am rather new to working with sql developer. If you could point me to the stacktrace I will be happy to post it here.
    --Can you skim through some of your converted procedures to see if anything stands out
    I did as you suggested. There was a strange behaviour in a Procedure where there was a construct like N'<somestring>' in the original Transact SQL. Somehow every SQL statement that follows is recognized as a String, hence the code is not compiling at all.
    There are also some Prcedures which exit with the message: "unexpected end of Subtree"
    Edited by: gWahl on 13.11.2009 00:43

  • Problem in Converting Database into Archivelog mode (Oracle 10G)

    Hi Team,
    I come across a strange problem in the ORACLE 10G Server.
    I am converting database mode from NoArchivelog to Archivelog mode through RMAN in 10G.
    Now When I execute these following commands through RMAN prompt it works properly as shown below?
    C:\>rman
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Nov 30 18:01:08 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect target /
    connected to target database: RAVI (DBID=4025722893, not open)
    RMAN> shutdown immediate;
    using target database control file instead of recovery catalog
    database dismounted
    Oracle instance shut down
    RMAN> STARTUP MOUNT;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 167772160 bytes
    Fixed Size 1247876 bytes
    Variable Size 79693180 bytes
    Database Buffers 79691776 bytes
    Redo Buffers 7139328 bytes
    RMAN> SQL 'ALTER DATABASE ARCHIVELOG';
    sql statement: ALTER DATABASE ARCHIVELOG
    RMAN> ALTER DATABASE OPEN;
    database opened
    RMAN>
    But this same script when i writes in the backup.ora file & pass to Rman prompt it fails,
    File backup.ora contains...
    run
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    SQL 'ALTER DATABASE ARCHIVELOG';
    ALTER DATABASE OPEN;
    passed to RMAN as follows...
    C:\OracleCode\BACKUP>"C:\oracle\product\10.2.0\db_1\bin\RMAN.EXE" target /"connect target SYSTEM/sreedhar@RAVI" log="C:\ORACLE~2\LOGS\backup_log.log" append cmdfile="C:\ORACLE~2\BACKUP\backup.ora"
    RMAN> 2> 3> 4> 5> 6> 7> 8>
    then it fails giving the following errors...
    using target database control file instead of recovery catalog
    database closed
    database dismounted
    Oracle instance shut down
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 11/30/2006 18:05:59
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Recovery Manager complete.
    The same thing is working in the Oracle 9i but not in the Oracle 10G.
    Can Anybody plz help me in this?
    Regards,
    S.Tiwari
    .

    export ORACLE_SID=<SID>
    rman target /cmdfile="C:\ORACLE~2\BACKUP\backup.ora"
    it will connect to the default SID, there's no such thing as a default SID, what do you mean?
    But what if there are more that one SID available & I
    want to connect to SID other than the default SID.just specify the desired SID prior starting rman.
    more over the same string is working with 9i but not
    with 10G.maybe due to a bug?
    to summarize, you have two options it you would like to start up the instance:
    either you specify the SID prior starting rman and use os authentication
    or
    you register the instance statically and use oracle authentication.
    regards,
    -ap

  • Oracle 10g function to convert GML 3.1.1 to SDO_GEOMETRY

    In Oracle 11g there is a function available to convert GML 3.1.1 to SDO_GEOMETRY (SDO_UTIL.FROM_GML311GEOMETRY)
    However I need to support this in Oracle 10g that does not contain this function.
    Does anybody have this function for me in Java or PL/SQL?
    The Java classes GML, GML2, GML3 and GML 3g do not support GML 3.1.1 (with <patches>)
    Thanks for any help!
    Ron

    Hi Ron,
    I would second John's advice to go Simon's Java route as probably the best way to go if you are truly trapped on 10g. Note that were you to consider going the PLSQL route, the 10g XMLTYPE has a limitation of 64K for the payload of any XML tag. This means any GML linestring or polygon with more than 64K of coordinate data would not be possible to store or manipulate as XMLTYPE.
    ORA-31167: 64k size limit for XML node
    This makes using XMLTYPE tools to work with GML a bit of a bust on 10g. Moving to 11g is definitely something you want to consider if GML is in your requirements. Also, as a GML user please consider putting in an enhancement request to Oracle Spatial to support GML 3.2 and 3.3 (feel free to piggy back on 9788193).
    Oracle Spatial and support for GML 3.2.1?
    The 3.3 spec is due out any day now. The existing 11g reader/writer almost works with the new specs if they just added a few tweaks for gml:id and the namespace.
    Cheers,
    Paul

  • ORACLE 10g : Datapump-Import : Error: unknown parameter name 'REMAP_TABLE'

    Hi,
    I am working on Oracle 10g. When executed import datapump script in the UNIX box with option “RMAP_TABLE” I received the error “unknown parameter name 'REMAP_TABLE' “Can you please give me solution for it?
    Scripts :-
    impdp eimsexp/xyz TABLES=EIMDBO.DIVISION DIRECTORY=DATAMART_DATA_PUMP_DIR DUMPFILE=expdp_DATAMART_tables_%u_$BATCH_ID.dmp LOGFILE=impdp_DATAMART_tables.log REMAP_TABLE=EIMDBO.DIVISION:EIM2DBO:YR2009_DIM_DIVISION
    Note :- The YR2009_DIM_DIVISION table is available in the target database. It is without partition table. The EIMDBO.DIVISION is partition table.
    Thanks,

    See your post here
    ORACLE 10g : Datapump-Import : Error: unknown parameter name 'REMAP_TABLE'
    Srini

  • Oracle 10g unicode...

    hi friends
    we were using oracle 10g . where in a table we stored data using one of our regoinal languge (Kannada Langauge- Suchi Software) . this is a billinguilar font.
    and what we are doing now is we are trying to convfert the data which is in Suchi to other regoinal language which is also in bilinguilar font .
    i have vb program where i have written code to convert from suchi software to our softwre (Nudi).
    Main problem comes here when i access the records in oracle tables i wont be able to get the correct input. ie when i get the data some glyph code s will get to change and i wont get the correct data. hence conversion is not possible for me .
    can any one help out regarding this matter.
    Regards
    Poornachandra
    [email protected]

    Have a look at this link on Asktom -
    http://asktom.oracle.com/pls/ask/f?p=4950:8:5125090160795086304::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1224836384599
    It discusses (in great detail) the issues around handling different character sets and languages.

  • How to convert varchar to BLOB in oracle 10g?

    Hi all,
    I have 2 columns A and B which are of varchar2(2000) dataype.
    I would like to concatinate these 2 columns and convert them into BLOB in oracle 10g.
    Any help is appreciated.
    Regards,
    Ravi

    don't use BLOB to store large text, use CLOB instead
    anyway:
    SQL> create table test
      2  (txt varchar2(10)
      3  ,other varchar2(10)
      4  );
    Table created.
    SQL>
    SQL> insert into test values ('some text', 'other text');
    1 row created.
    SQL>
    SQL> create table test2
      2  (col blob)
      3  /
    Table created.
    SQL>
    SQL> insert into test2
      2  select utl_raw.cast_to_raw (txt||other)
      3    from test
      4  /
    1 row created.
    SQL> select *
      2    from test2
      3  /
    SP2-0678: Column or attribute type can not be displayed by SQL*Plus
    SQL>
    SQL> select utl_raw.cast_to_varchar2(col)
      2    from test2
      3  /
    UTL_RAW.CAST_TO_VARCHAR2(COL)
    some textother text
    SQL>
    SQL> drop table test
      2  /
    Table dropped.
    SQL> drop table test2
      2  /
    Table dropped.

  • Converting SQL statements from MS server 2000 to Oracle 10g

    We are moving over from MS server 2000 to Oracle 10g as our database for Peoplesoft system.
    There are several embedded SQL statements that I need to investigate to see what needs converting.
    So far I can see a need to convert the following:
    Dates.     GetDate() to ?
    Outer joins. *= to LEFT OUTER JOIN
    Has anyone else done a similar exercise and what other functions do I need to convert?
    Thanks.

    Hello
    A quick google search (http://www.google.co.uk/search?hl=en&q=ms+sql+server+oracle+differences&spell=1)
    came up with this:
    http://dba-oracle.com/oracle_news/2005_12_16_sql_syntax_differences.htm
    There's a quite a few more sites listed.
    HTH
    David

  • Converting Informix data to Oracle 10g

    Hi,
    We are planning to convert data on Informix 5.x based legacy system over to Oracle 10g.
    Wondering if anyone would like to share some light on this process, experience, use of Oracle or Other tools..
    Regards,
    Subhash

    Are you looking to convert your data alone or do you wish to maintain the structure of the your legacy system? If you wish to retain the structure of your legacy system then something like like the oracle workbench may be what you are looking for. If you are just trying to convert your data from one database application to another then you just need an analyst map out your conversion needs and a good conversion programmer to convert the data.

  • Convert Window Oracle 10g to Linux Oracle 11g

    HI Experts
    My current version is Oracle 10g on Window and i want to convert on Oracle 11g on Linux.
    What will be the best way to convert it ? can possible to direct convert
    or i need to be database migration from window Oracle 10g to Linux Oracle 10g and then covert from Linux Oracle 10g to Linux Oracle 11g.
    If the direct conversion is possible then please let me know the way or if u have document then please share it.
    I searched lot but i didn't get anything.....
    Thanks in advance

    What is the expected downtime duration ?
    What is the database size ?
    For a "small" database with no downtime constraint you could use Data Pump to move data.
    For a "large" database with minimum downtime you could use Oracle Streams (with Enterprise Edition) or Golden Gate (separate product: needs new licensing).
    You can find detailed migration/upgrade recommendations and scenarios on OTN database upgrade page:
    http://www.oracle.com/technetwork/products/upgrade/index.html
    Edited by: P. Forstmann on 22 mars 2013 13:03

  • Unicode font issue in oracle 10g Reports

    Hi,
    I have install oracle 10g forms and Reports in windows XP system (c:\DevSuiteHome_1).
    I have created report for display GUJARATI Language data in PDF. Report is coming but it is displaying junk character instead of GUJARATI data.
    Plz help me.

    Hello,
    Do you use Font Subsetting or Font Embedding ?
    Regards

  • Convert dedicated server to shared server in oracle 10g

    Dear,
    Anybody help me how to change dedicated server setting into shared server in oracle 10g.
    Regards,
    Saeed ul haq

    Refer to Oracle Documentation :
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/intro.htm#sthref54
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/plan.htm#sthref570
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/dispatcher.htm#i453786
    Regards
    Rajesh

  • Oracle 10g - Defining the column name in Non English

    Hi Experts,
    I have an exisitng application which is developed on Windows using ASP Technology and uses Oracle 10g 10.1.0.2.0.
    The application is supported with an instance of Data Base within which multiple tablespaces are created for different clients. The application is developed in such a way that some of the tables arecreated dynamically and the columns are named using the data entered through the UI.
    This application needs to be globalized now. The problem is, the column name entered through the UI can be in any language based on the client's settings and those values in turn will be used for naming the columns in the tables.
    1) Can I have the column names to be named using non english characters in Oracle 10g DB? If so,
    1.1) what should I do to configure the exisiting Oracle instance to support it?
    1.2) To what level is that configuration possible, is it per DB instance level (or) can it be done at Tablespace level. I would like to configure each tablespace to host tables with columns defined with different languages, say for example, tablespace 1 will have tables with Japaenese column names and tablespace 2 will have tables with German column names?
    2) What should I do to make my entire DB to support unicode data i.e., to accept any language strings. Currently all strings are declared as VarChar2, should I change all VarChar2 to NVarChar2 (or) is there a way to retain the VarChar2 as is and make some database wide setting?
    Please note that I do not have an option of retaining the column in English as per the Business Requirement.
    Envionment:
    OS - Windows 2003 32 bit
    Oracle 10g 10.1.0.2.0
    UI forms in ASP
    TIA,
    Prem

    1. Yes, you can.
    SQL> create table ÜÝÞ( ßàá number(10));
    Table created.
    SQL> insert into ÜÝÞ values (10);
    1 row created.1.1 and 1.2 and 2. You can choose UTF as your default character set. It allows the user of non-English characters in VARCHAR columns in your whole database. It is not per tablespace.
    SQL> create table ÜÝÞ( ßàá varchar2(100));
    Table created.
    SQL> insert into ÜÝÞ values ('âãäçìé');
    1 row created.

Maybe you are looking for

  • [SOLVED] Compiling smaragd

    Hi, I'm trying to compile smaragd (or smaragd-git, same problem) and this is the output: ==> Building and installing package ==> Making package: smaragd 0.0.7-1 (Sun Nov 17 14:43:45 CET 2013) ==> Checking runtime dependencies... ==> Checking buildtim

  • Unable to sign in

    Anybody else getting "unable to sign in" Apple TV cant connect to the server at this time ? I have recieved this for hours now and it really starts to P... me off. My Internet connection is working fine

  • Mts format file to an iPhoto friendly format

    I recently  made a movie project and my movies are .mts format. I need to put them in iPhoto in order to edit them but .mts is not a recognizable format on my mac (Mac OS). Could somone plese help me convert these files to an iphoto frindly format.

  • My iphone 4 turns off automatically after screen lock

    Hello guys, my iphone 4 turns off automatically after screen lock, i have to press the POWER + HOME button during 10 secondes for reboot. And it's like that every time i lock the screen. Please can someone help me ? thanks.

  • System loses the IDT High Definition Audio CODEC Driver ver 6.10.6491.0 after some time

    IDT High Definition Audio CODEC 6.10.6491.0 installed in our HP Envy Notebook - C8U19AV with Windows Pro 8.1 64 bit OS, the system will lose the driver. When I go into device manager it appears that the codecs are there but the driver for the audio j