Nationnal Language Support and Error ORA-01858
Hi,
I have a problem using NLS.
When I use NLS for Italian,I become the error ORA-01858 -->
"a non-numeric character was found where a numeric was expected".
But with the same query I use for NLS_Italian,it works with
NLS_German and NLS_English.
I use this date-formats "DD.Month YYYY" , "DD.MM.YYYY", "DD.MM"
For example:
Select to_char(sd.Datum,'DD.Month YYYY') Datum ,
sd.FONDSVERMOEGEN, sd.AKTIEN, sd.KASSE, sd.RENTEN,sd.FUTURES,
sd.WERTPAPIERE, sd.IMMOBILIEN,
sd.KUPON, sd.DURCHSCHNITT_RENDITE, sd.DURCHSCHNITT_RL from
Strukturdaten sd,fondsdaten_allgemein fd
where sd.match=fd.match and sd.match=amfcomm .
Can somebody help me??
Can you tell us what the value of sd.Datum is in the queries?
Similar Messages
-
National Language Support and Error ORA-01858
Hi,
I have a problem using NLS.
When I use NLS for Italian,I become the error ORA-01858 -->
"a non-numeric character was found where a numeric was
expected".
But with the same query I use for NLS_Italian,it works with
NLS_German and NLS_English.
I use this date-formats "DD.Month YYYY" , "DD.MM.YYYY", "DD.MM"
For example:
Select to_char(sd.Datum,'DD.Month YYYY') Datum ,
sd.FONDSVERMOEGEN, sd.AKTIEN, sd.KASSE, sd.RENTEN,sd.FUTURES,
sd.WERTPAPIERE, sd.IMMOBILIEN,
sd.KUPON, sd.DURCHSCHNITT_RENDITE, sd.DURCHSCHNITT_RL from
Strukturdaten sd,fondsdaten_allgemein fd
where sd.match=fd.match and sd.match=amfcomm .
Can somebody help me??Can you tell us what the value of sd.Datum is in the queries?
-
N91 Chinese language support and error msg: operat...
Nokia phone: N91 WCDMA
Firmware update: v2.20.008
PC Suite: v7.0.82
PC: Window XP 32-bit OS
After updated the software, there is no Chinese for phone and written language. Is there any way that I can install the language instead of going to Nokia Care Centre? In spite of that, the Nokia phone browser prompt error message “The operation could not be completed” when I tried to access it. What is the problem?Hi!
Can you give more details, especially your productcode? (You can find it by tapping *#0000# and it starts with 05**.)
The question if you lose your Chinese language support depends on what exactly the dealer did with your phone, ie. which tools he used to flash it. So, I can't unfortunately this one without having the exact information. If he didn't fully change the productcode (and your phone is still on a supposedly Australian productcode), the update will set your phone back to the state in which it was when it left the factory. Meaning, your language pack will be back to default - without any Chinese characters.
BR,
yvonne -
Hello,
"C:\app\xps\product\11.2.0\dbhome_1" where is my installation of database oracle enterprise 11g; I use Windows 7 Pro.
I have in System PATH : C:\app\xps\product\11.2.0\dbhome_1\bin
I have in HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE > SYSMAN > OracleDBConsoleorcl : "ORACLE_HOME" value "C:\app\xps\product\11.2.0\dbhome_1"
When i execute "sqlplus / as sysdba" command, i receive error: "The procedure entry point longjmp could not be found in the dynamic link lib. orauts.dll" and "Error ORA-12560"
If i execute
set ORACLE_HOME=C:\app\xps\product\11.2.0\dbhome_1
C:\>set PATH=%ORACLE_HOME%\bin;%PATH%
sqlplus "/ as sysdba"
I don't receive Error.
Why?You don't mention which specific version of the operating system that you are using - Windows XP, Vista, or 7 and whether you're using a 32-bit or 64-bit version.
FWIW, kernell32.dll is a Windows system-level module, so it's possible that you have some corruption in your Windows installation which is preventing FM from launching.
Also, 2Gb of RAM is a bit lean for FM. -
I'm trying to write a PL/SQL function to dynamically return a query with varying # of columns. I've done this type of thing before wiith much success, however this is the first time I'm using a cursor for loop within a function to accomplish my task.
here is the error I get:
ORA-01858: a non-numeric character was found where a numeric was expected
Error ERR-1101 Unable to process function body returning query.
Mind you I have tested the PL/SQL from a SQL editor and it works fine. I'm confused.
Code is below.
Thanks in advance!
DECLARE
my_query varchar2(4000);
string1 varchar2(50) := 'select city, ';
string2 varchar2(4000) := '' ;
string3 varchar2(4000):= 'from
( select a.title, a.city, a.start_date, sum(a.total_stu) cnt
from sj_class_summary3 a
group by a.title, a.city, a.start_date
having a.title = :P4_COURSE )
group by title, city';
TYPE date_tab_type IS TABLE OF date INDEX BY PLS_INTEGER;
date_tbl date_tab_type;
i number;
BEGIN
i:=1;
for myrec in (select distinct start_date from sj_class_summary3
where start_date between :P4_START_DATE and :P4_END_DATE order by 1) loop
date_tbl(i) := myrec.start_date;
string2 := string2 || ' max( decode( start_date, ''' || date_tbl(i) || ''', cnt,0) ) "' || date_tbl(i) || '", ';
i := i+ 1;
end loop;
string2 := SUBSTR(string2,1,LENGTH(string2)-2);
string2 := string2 || ' ';
my_query := string1 || string2 || string3;
return my_query;
END;Hi Bob,
you also have another date to character to date conversion in:
decode( start_date, ''' || date_tbl(i) || ''', cnt,0)
does this need to be:
decode( start_date, to_date(''' || to_char(date_tbl(i), 'dd/mm/yyyy') || ''', ''dd/mm/yyyy''), cnt,0)
Regards
Michael -
Procedure Erroring: ORA-01858
Hello: Here is the call stack from SQL Plus (9i):
ORA-06512: at "SYS.CALLHIST_CSV", line 147
ORA-01858: a non-numeric character was found where a numeric was expected
ORA-06512: at line 1
I have another procedure similar that runs well. I tried isolating the issue by running the sql solo and the query returns fine but when run in this procedure it errors. Originally I didn't have all the NVL and CAST. I did that to try to compensate for the error plus I need the output file to be in unicode.Thanks!
These are the field types that I thought to look out for (the others are varchars):
NUMBER DATE
CUSTOMER_ID SHIP_DATE
SEQNO STAUS_DATE_TIME
INSTALLER_ID CREATION_DATE
ESCALATION_ID COMPLETION_DATE
PROBLEM_ID
SUBJECT_ID
STATUS_ID
REASON_ID
RESOLUTION_ID
CLASS_ID
CREATE OR REPLACE PROCEDURE CALLHIST_CSV
IS
CURSOR c_data IS
SELECT /*+ USE_HASH ( a b) */
CAST(to_char(NVL(b.start_date_time,'08-MAR-68'),'DD-MON-YY') AS nvarchar2(20)) As actualstart,
CAST(NVL(a.model_desc,' ') As nvarchar2(150)) As ModelDesc, CAST(c.customer_id As nvarchar2(25)) As CustomerID,
CAST(NVL(b.call_id,' ')As nvarchar2(25)) As CallID, CAST(NVL(c.model_number,' ') AS nvarchar2(100)) As ModelNumber,
CAST(NVL(c.date_code,' ')As nvarchar2(20)) As DateCode,
CAST(NVL(c.date_of_purchase,' ') As nvarchar2(20)) As DatePurchased,
CAST(to_char(NVL(o.completion_date,'08-MAR-68'),'DD-MON-YY')As nvarchar2(20)) As actualend,
CAST(NVL(o.order_status,' ') As nvarchar2(1)) As OrderStatus,
CAST(NVL(f.subject_desc,' ') As nvarchar2(150)) As subject, CAST(NVL(g.problem_desc,' ') As nvarchar2(150)) As kategory,
CAST(NVL(h.resolution_desc,' ') As nvarchar2(150)) As Resolution,
CAST(NVL(i.reason_desc,' ') As nvarchar2(150)) As Reason,
decode(e.notes, null, '', 'AGENT NOTES: ' || e.notes) || ' ' || decode(q.notes, null, '', 'QP NOTES: ' || q.notes) As Notes,
CAST(NVL(j.escalation_id, 0) As nvarchar2(2)) as EscalationID,
CAST(NVL(j.escalation_desc, ' ') As nvarchar2(150))as EscalationDesc,
CAST(NVL(k.agent_id,' ') As nvarchar2(25)) As ownerid, CAST(NVL(k.first_name,' ') As nvarchar2(30)) As AgentFirstName,
CAST(NVL(k.last_name,' ') As nvarchar2(50)) As AgentLastName
FROM GENIECS.model a, GENIECS.contact_record b,
GENIECS.product_record c, GENIECS.warranty d,
GENIECS.call_detail e, GENIECS.subject f,
GENIECS.problem g, GENIECS.resolution h, GENIECS.reason i,
GENIECS.escalation j, GENIECS.agent k,
GENIECS.order_record o, GENIECS.qa q
WHERE b.customer_id < 1000
AND b.customer_id = c.customer_id
AND b.model_id = c.model_number
AND b.seqno = c.seqno
AND c.model_number = a.model_number
AND d.model_number = a.model_number
AND e.call_id = b.call_id
AND e.subject_id = f.subject_id
AND e.problem_id = g.problem_id
AND e.resolution_id = h.resolution_id
AND i.reason_id(+) = e.reason_id
AND j.escalation_id(+) = b.escalation_id
AND b.agent_id = k.agent_id
AND b.call_id=o.call_id(+)
AND o.order_id=q.order_id(+)
ORDER BY c.customer_id;
v_file UTL_FILE.FILE_TYPE;
BEGIN
-- | WRITE CONTENTS OF THE LOB TO A FILE |
-- The maximum line length that can be written is 32K in 9i.
v_file := UTL_FILE.FOPEN(location => 'EXTRACT_DIR',
filename => 'callhist_csv.csv',
open_mode => 'w',
max_linesize => 32767);
FOR cur_rec IN c_data LOOP
UTL_FILE.PUT_LINE(v_file,
cur_rec.actualstart || '|' ||
cur_rec.ModelDesc || '|' ||
cur_rec.CustomerID || '|' ||
cur_rec.CallID || '|' ||
cur_rec.ModelNumber || '|' ||
cur_rec.DateCode || '|' ||
cur_rec.DatePurchased || '|' ||
cur_rec.actualend || '|' ||
cur_rec.OrderStatus || '|' ||
cur_rec.subject || '|' ||
cur_rec.kategory || '|' ||
cur_rec.Resolution || '|' ||
cur_rec.Reason || '|' ||
cur_rec.Notes || '|' ||
cur_rec.EscalationID || '|' ||
cur_rec.EscalationDesc || '|' ||
cur_rec.ownerid || '|' ||
cur_rec.AgentFirstName || '|' ||
cur_rec.AgentLastName);
END LOOP;
UTL_FILE.FCLOSE(v_file);
EXCEPTION
WHEN UTL_FILE.INVALID_PATH THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20000, 'File location is invalid.',True);
WHEN UTL_FILE.INVALID_MODE THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20001, 'The open_mode parameter in FOPEN is invalid.',True);
WHEN UTL_FILE.INVALID_FILEHANDLE THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20002, 'File handle is invalid.',True);
WHEN UTL_FILE.INVALID_OPERATION THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20003, 'File could not be opened or operated on as requested.',True);
WHEN UTL_FILE.READ_ERROR THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20004, 'Operating system error occurred during the read operation.',True);
WHEN UTL_FILE.WRITE_ERROR THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20005, 'Operating system error occurred during the write operation.',True);
WHEN UTL_FILE.INTERNAL_ERROR THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20006, 'Unspecified PL/SQL error.',True);
WHEN UTL_FILE.CHARSETMISMATCH THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20007, 'A file is opened using FOPEN_NCHAR, but later I/O ' ||
'operations use nonchar functions such as PUTF or GET_LINE.',True);
WHEN UTL_FILE.FILE_OPEN THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20008, 'The requested operation failed because the file is open.',True);
WHEN UTL_FILE.INVALID_MAXLINESIZE THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20009, 'The MAX_LINESIZE value for FOPEN() is invalid; it should ' ||
'be within the range 1 to 32767.',True);
WHEN UTL_FILE.INVALID_FILENAME THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20010, 'The filename parameter is invalid.',True);
WHEN UTL_FILE.ACCESS_DENIED THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20011, 'Permission to access to the file location is denied.',True);
WHEN UTL_FILE.INVALID_OFFSET THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20012, 'The ABSOLUTE_OFFSET parameter for FSEEK() is invalid; ' ||
'it should be greater than 0 and less than the total ' ||
'number of bytes in the file.',True);
WHEN UTL_FILE.DELETE_FAILED THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20013, 'The requested file delete operation failed.',True);
WHEN UTL_FILE.RENAME_FAILED THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20014, 'The requested file rename operation failed.',True);
WHEN OTHERS THEN
UTL_FILE.FCLOSE(v_file);
RAISE_APPLICATION_ERROR(-20015, 'Error.',True);
-- reraise the current exception
--RAISE;
END;sorry wrong forum
-
10g Installation and Error : ORA-12514 : Listerner cant recog. service requ
Hi,
I installed 10g, and trying to start sql plus. I entered
username: orcl
password: my own password
host string: name of my computer
I am getting the error: ORA-12514: TNS: Listener does not currently know of service orequested in connect descriptor.
I started the services and tried again but same problem.
I also tried system and sysman as username, w/o a password and included my computer name, but still facing the same problem.
Any thing else I should do besides uninstalling and reinstalling ?
ThanksWhere did the user name orcl come from? It certainly is not going to be there unless you logged in with a DBA account and created it: Did you?
So back to basics ... what version of Oracle did you install? 10g is a marketing label not a version number. It is likely something between 10.1.0.2 and 10.2.0.4.
Second how did you install the database? With the Oracle Universal Installer or with a script? Were there any error messages?
Have you checked the installation log?
Has it ever worked in the past and is now broken or has it never worked?
Is the listener running? How did you check?
When you say "I started the service" you are in what operating system and you started what service and how?
My guess, and it is only a wild guess given how little information you provided, is that there is an issue in your listener.ora and/or tnsnames.ora files: Post them along with the value you are entering as "Host" when you try to log in.
Again just a guess ... the user name should be SYSTEM, the password whatever you entered, and the Host "orcl." -
FOR UPDATE on scrollable cursor and error: ORA-00907: missing right parenthesis
If change my query to have a FOR UPDATE and make it an updatable scrollable cursor I get an error on the updateRow() command saying "ORA-00907: missing right parenthesis"
If I remove the FOR UPDATE it works OK.
The problem I have is trying to update a CLOB from a ResultSet. If I do not upate any other column I get the error saying that the error"
"ORA-22920: row containing the LOB value is not locked"
I can get around this by adding FOR UPDATE. But if I add FOR UPDATE and try to update any non-CLOB column I get the 00907 error above.
Hmmmm. So here is what I can and cannot do:
- I CAN update the CLOB IF I update another column 1st and NO FOR UPDATE clause.
- I CAN update the CLOB only if I have FOR UPDATE clause.
- I CANNOT update just the CLOB without FOR UPDATE.
- I CANNOT update any non-CLOB column with FOR UPDATE.
What a pain in the ***! How am I to provide generic access to the applications being built on my DB layer. This is crazy!<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Andrew Edgar ([email protected]):
I have this same problem!
The error occurs when performing updateRow.
The turning off of auto commit only gets the query to work but not the actual update.
Will this be fixed in the next version of the Driver?<HR></BLOCKQUOTE>
Here is the stack Trace I recieved:
java.sql.SQLException: ORA-00907: missing right parenthesis
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:822)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1446)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1371)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1900)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:363)
at oracle.jdbc.driver.UpdatableResultSet.execute_updateRow(UpdatableResultSet.java:2135)
at oracle.jdbc.driver.UpdatableResultSet.updateRow(UpdatableResultSet.java:1322) -
Database Link and error ORA-02019
Oracle 9.2.0.6 on Windows 2003
Has anybody encountered this before and been able to resolve.
SQL> connect SchemaA/password@NSN1
SQL> create database link MyLink1
2 connect to REMDB identified okm135
3 using 'STAF'
4 /
Database link created.
SQL> create or replace VIEW rem_mydocs as
2 (select * from mydocs@MyLink1)
3 /
View created.
SQL> grant select on rem_mydocs to UserA ;
Grant succeeded
SQL> Create or replace function fn_rem_mydocs
2 return Sys_RefCursor
3 IS
4 v_rc Sys_RefCursor;
5 begin
6 open v_rc for
7 select * from rem_mydocs ;
8 return (v_rc);
9 end;
10 /
Function created.
SQL> grant execute on fn_rem_mydocs to UserA;
Grant succeeded
SQL> connect UserA/test975@NSN1
Connected.
SQL> create or replace synonym rem_mydocs for SchemaA.rem_mydocs;
Synonym created.
SQL> create or replace synonym fn_rem_mydocs for SchemaA.sp_rem_mydocs ;
Synonym created.
SQL> select count(*) from rem_mydocs ;
COUNT(*)
324
SQL> var g_ref refcursor
SQL> begin :g_ref := fn_rem_mydocs; end;
2 /
SQL> print g_ref
ERROR:
ORA-02019: connection description for remote database not foundMetalink Note:262881.1
The information in this article applies to:
Oracle Server - Enterprise Edition - Version: 8.0.x to 9.2.0.x
This problem can occur on any platform.
Errors
ORA 2019 connection description for
Symptoms
Describe on a Synonym which is based on a database link may issue error:
ORA-2019 connection description for remote database not found
Select from the synonym works successfully.
Cause
Based on the Bug 3071468 this issue happens when the local
and the remote database have different domain name in the GLOBAL_NAME.
For example if:
select * from global_name;
gives from local database:
PROD.UK.ORACLE.COM
and the remote database has:
TEST.US.ORACLE.COM
then we have different domains for the global_name.
This does not reproduce when the domain is the same for both global_names.
Fix
This issue is fixed in 10.1.0.2.
For previous versions we have the following 2 workarounds:
1. Use View in the place of the synonym. This works.
2. Alter one of the databases global_name , so that the 2 global_names to have the same domain.
For example in the above example chenge the TEST database as:
sql> alter database rename global_name to test.uk.oracle.com;
Then you would have to drop and recreate the database link.
References
Bug 3071468 - Ora-2019 May Occur When Describing An Synonym Using A Database Link
Regards,
Reza
Message was edited by:
Reza -
Hi,
I got this error ora-12203 (TNS:unable to connect to destination) when I was importing a table into my own schema. I don't know whether the error is related with import. My question is: when performing import, can other user login into the database?
Thanks,
RichardHi Richard,
The database will you to logon irrespective of what other work you are doing with whatever tool you are using. The Exceptions are :-
If the refered schema comes under certain restriction of the assigned profile.
If the database is running in RESTRICTED mode and you are not having accessibilty during this peiod.
As for your error in the import statement, check the connection you are using in the import statement.
I'm personally using import at least 10 times a week and usually come across these errors. These errors are all human errors and not bugs in the program.
Bye,
Piyush. -
Hi, when I tried to add REDO Collector by command
avorcldb add_collector -srcname av_db -agentname avagent -colltype REDO -av hostname:port:service name
I got following:
Collector added successfully
Collector name (collname): REDO_Collector
ERROR: ORA-02082: a loopback database link must have a connection qualifier.
Any idea...? Please..i tried using -srcuser and i am getting the following error message
avorcldb add_collector -srcname ORCLDB -agentname ORADB_AGENT -colltype REDO -srcuser av_user -av oraods.domain.com:1532:ORCL.WORLD
unrecognized argument -srcuser was ignored
unrecognized argument av_user was ignored
collector REDO_Collector for source ORCLDB already exists
initializing REDO Collector
ERROR: could not get AV source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraods.domain.com)(PORT=1532))(CONNECT_DATA=(SERVICE_NAME=ORCL.WORLD)))
ERROR: java.sql.SQLException: ORA-01017: invalid username/password; logon denied -
Multiple language support and cookie
We are developping an application with the help of Oracle Portal (9ias V2) new release.
We use this API "wwctx_app_language.set_language" to set the language chosen by the user during
connection to support multiple languages. When he navigates, we use this API
"wwctx_api.get_nls_language" to know which language has been set to display the
contect according to the language chosen during the connection. But we notice that
the API has not properly set the session. As everytime it displays in English however the
user has chosen some other language. Whether there is any other solution to bypass this problem (with
the help of cookies,...etc.)
Thanks in advanceNot a trivial task. You will essentially have to create a UFL that converts wide char to MBCS and passes it back to report formulas. E.g. all of the fields that need to be translated will have to be in a formula - that is how UFLs work.
For more discussion, see these forum threads;
Multiple language support
Crystal Reports localization issue
English resource files
Also, see this help file:
http://msdn.microsoft.com/en-us/library/ms227600(VS.80).aspx
Ludek -
SQL Loader and Error ORA-01847/ORA-01839
Hi,
While using the direct loading in SQL-LOADER when we get the ORA-01847/ORA-01839 all the other records are getting errorred out. It goes fine with the conventional loading.
Should I use some parameters or anything to make sure that all the other records are not rejected when we get the ORA-01847/ORA-01839 error while going with the DIRECT loading.
Thanks
JibinIn internet I found this short message:
“AL32UTF8 is a multi-byte characterset,that means some characters are stored in more than 1 character, that's true for these special characters.
If you have same table definitions in both databases you likely face error ORA-12899.
This metalink note discusses this problem, it's also applicable to sqlloader:
Import reports "ORA-12899: Value too large for column" when using BYTE semantic
Doc ID: Note:563893.1”
By metalink, I can see the Note linked to a one Oracle Internal Bug for Oracle 11g.....
I'm waiting you suggestion... thanks very much in advance.
Regards.
Giovanni -
French Language Support & Insertion Errors - need guidance
My organization is currently deploying an in-house app based on an Access frontend that passes on it data to the Oracle ODBC driver for posting in the main Oracle database on a Solaris server. Works like a charm on English based machines but when we attempt a post on a French NT4 Workstation, with French Acces runtime component, it displays an error message (bare with my vague translation of the error message):
ODBC Error in insertion to attached table "table_name".
Along those lines... Does anyone have any French support experience that can guide to a solution? We think it's an NLS issue but it could simply be solved by ODBC settings, such as Translation Options.
Your help in appreciated. Thank you.First thing to check is that the client NLS settings and Control Panel | Regional Options agree about what language the client is using. Access relies on the Regional Settings for things like formatting of numbers (1.234 vs. 1,234) while Oracle's ODBC driver relies on the NLS settings.
Assuming that checks out, I'd make sure that the database is set up properly for French data. Assuming that your database is handling Unicode data, remember that a table defined with a varchar2(2000) column has 2000 bytes of data available, not necessarily 2000 characters. In a UTF8 database, I believe that all English characters are 1 byte, while some or all French characters may be multi-byte.
Justin Cave -
External table and error: ORA-01036: illegal variable name/number
using the following script I get the referenced error:
create table dol_sch_c_part2
(DLN NUMBER(14) ,
PAGE_ID VARCHAR2(20),
PAGE_SEQ VARCHAR2(20),
PAGE_ROW_NUM VARCHAR2(20),
ROW_NUM VARCHAR2(20),
IMAGE_FORM_ID VARCHAR2(20),
PROVIDER_TERM_01_NAME VARCHAR2(35),
PROVIDER_TERM_01_EIN VARCHAR2(9) ,
PROVIDER_TERM_01_POSITION VARCHAR2(25),
PROVIDER_TERM_01_STR_ADDRESS VARCHAR2(35),
PROVIDER_TERM_01_CITY VARCHAR2(20),
PROVIDER_TERM_01_STATE VARCHAR2(2),
PROVIDER_TERM_01_ZIP_CODE VARCHAR2(9),
PROVIDER_TERM_01_PHONE_NUM VARCHAR2(10),
PROVIDER_TERM_01_TEXT VARCHAR2(250)
ORGANIZATION EXTERNAL
( type oracle_loader
default directory data_dir
access parameters
RECORDS FIXED 510
FIELDS
DLN(1:14) char(14),
PAGE_ID(15:34) char(20) NULLIF PAGE_ID=BLANKS,
PAGE_SEQ(35:54) char(20) NULLIF PAGE_SEQ=BLANKS,
PAGE_ROW_NUM(55:74) char(20) NULLIF PAGE_ROW_NUM=BLANKS,
ROW_NUM(75:94) char(20) NULLIF ROW_NUM=BLANKS,
IMAGE_FORM_ID(95:114) char(20) NULLIF IMAGE_FORM_ID=BLANKS,
PROVIDER_TERM_01_NAME(115:149) char(35) NULLIF PROVIDER_TERM_01_NAME=BLANKS,
PROVIDER_TERM_01_EIN(150:158) char(9) NULLIF PROVIDER_TERM_01_EIN=BLANKS,
PROVIDER_TERM_01_POSITION(159:183) char(25) NULLIF PROVIDER_TERM_01_POSITION=BLANKS,
PROVIDER_TERM_01_STR_ADDRESS(184:218) char(35) NULLIF PROVIDER_TERM_01_STR_ADDRESS=BLANKS,
PROVIDER_TERM_01_CITY(219:238) char(20) NULLIF PROVIDER_TERM_01_CITY=BLANKS,
PROVIDER_TERM_01_STATE(239:240) char(2) NULLIF PROVIDER_TERM_01_STATE=BLANKS,
PROVIDER_TERM_01_ZIP_CODE(241:249) char(9) NULLIF PROVIDER_TERM_01_ZIP_CODE=BLANKS,
PROVIDER_TERM_01_PHONE_NUM(250:259) char(10) NULLIF PROVIDER_TERM_01_PHONE_NUM=BLANKS,
PROVIDER_TERM_01_TEXT(260:509) char(250) NULLIF PROVIDER_TERM_01_TEXT=BLANKS
location ('f_dol_sch_c_part2.txt')
I've tried it with and without the char(*) in the fields section - no change
thanks*** SCRIPT START : Session:GLEN_SELF@RAMBO(8) 8/31/2006 12:16:48 PM ***
Processing ...
create or replace directory data_dir as 'c:\dol\'
create table dol_sch_c_part2
(DLN NUMBER(14) ,
PAGE_ID VARCHAR2(20),
PAGE_SEQ VARCHAR2(20),
PAGE_ROW_NUM VARCHAR2(20),
ROW_NUM VARCHAR2(20),
IMAGE_FORM_ID VARCHAR2(20),
PROVIDER_TERM_01_NAME VARCHAR2(35),
PROVIDER_TERM_01_EIN VARCHAR2(9),
PROVIDER_TERM_01_POSITION VARCHAR2(25),
PROVIDER_TERM_01_STR_ADDRESS VARCHAR2(35),
PROVIDER_TERM_01_CITY VARCHAR2(20),
PROVIDER_TERM_01_STATE VARCHAR2(2),
PROVIDER_TERM_01_ZIP_CODE VARCHAR2(9),
PROVIDER_TERM_01_PHONE_NUM VARCHAR2(10),
PROVIDER_TERM_01_TEXT VARCHAR2(250)
ORGANIZATION EXTERNAL
( type oracle_loader
default directory data_dir
logfile 'ext_tab.log'
access parameters
RECORDS FIXED 510
FIELDS
DLN(1:14),
PAGE_ID(15:34),
PAGE_SEQ(35:54),
PAGE_ROW_NUM(55:74),
ROW_NUM(75:94),
IMAGE_FORM_ID(95:114),
PROVIDER_TERM_01_NAME(115:149),
PROVIDER_TERM_01_EIN(150:158),
PROVIDER_TERM_01_POSITION(159:183),
PROVIDER_TERM_01_STR_ADDRESS(184:218),
PROVIDER_TERM_01_CITY(219:238),
PROVIDER_TERM_01_STATE(239:240),
PROVIDER_TERM_01_ZIP_CODE(241:249),
PROVIDER_TERM_01_PHONE_NUM(250:259),
PROVIDER_TERM_01_TEXT(260:509)
location ('f_dol_sch_c_part2.txt')
create or replace directory data_dir as 'c:\dol\'
ORA-01036: illegal variable name/number
*** Script stopped due to error ***
*** SCRIPT END : Session:GLEN_SELF@RAMBO(8) 8/31/2006 12:16:49 PM ***
Maybe you are looking for
-
Hi, I have to make abap mapping like bellow it. Sender <?xml version="1.0" encoding="UTF-8"?> <ns0:Legacy_Msg xmlns:ns0="http://test/xi/test001"> <item> <A>TEST1</A> <B>TEST2</B> </item> <item> <A>TEST2</A
-
Discrepency in "actual size" view and PDF export result
I am working with a document and am confused about the size when I export it as a PDF. When I export it and open it up, the size of the fonts is considerably larger than those in my document in "actual size" viewing mode. Also, the page sizes are als
-
Hello i have found a bug in Itunes 10.0.1.22: i rate with "stars" songs in my playlist of 6000 tracks on my iPod nano 5g 16g(v1.0.2) and when its connected to iTunes all the ratings are GONE! If backup and restore iPod:\iPod_Control\iTunesControl and
-
How do I sign out of CC on a computer that is no longer operable?
-
Any Friend for Oracle 9i Forms upgrade
Hi there, I am preparing for Oracle 9i Forms upgrade paper. I am looking for a friend interested in the same. If anyone is interested me then contact me at [email protected] Thanks