Help! modifying size of varchar2 in object-type
Hi,
Does anybody know a way to increase the size of a varchar2 attribute in an ORACLE object type without having to drop all object tables created from this type? I'm working on a ORACLE 8i (8.1.6) version and there are several millions of records stored in that table, and all I need to do is modify a varchar2(35) to varchar2(100).
Michael
This command don't work ?
alter table TABLE_NAME modify COLUMN_NAME varchar2(100);
Similar Messages
-
Bind problem for varchar2 of object type??
Hello all,
I am trying out binding Oracle Object types to java object types using the SQLData interface.
I created a simple object type called employee with the syntax
create type employee as object (empName varchar2(50),empNo number(9));
I then created a class called EmplyoeeObj which implements the interface. The code for the readSQL and
writeSQL methods are below:
public void readSQL(SQLInput stream, String typeName) throws SQLException {
empName = stream.readString();
empNo = stream.readInt();
public void writeSQL(SQLOutput stream) throws SQLException {
stream.writeString(empName);
stream.writeInt(empNo);
empName is a String and empNo is an int. The code that does the calling is:
String query = "{call test_employee(?)}";
Map map = connection.getTypeMap();
map.put("CISWEB.EMPLOYEE",
Class.forName("test.jdbc.EmployeeObj"));
/*Set back the type map with the new mappings*/
connection.setTypeMap(map);
/*Create a statement to make the call */
ocs = (OracleCallableStatement)connection.prepareCall(query);
ocs.registerOutParameter(1,
OracleTypes.STRUCT,
"CISWEB.EMPLOYEE");
boolean isWorked = ocs.execute();
System.out.println("Execute finished........");
Object outParam = ocs.getObject(1);
System.out.println("Object was obtained........" + outParam);
System.out.println("name:" + ((EmployeeObj)outParam).getName());
As can be seen I have created a stored procedure which has one out parameter. All
this preocedure does is assign an Employee object to the out parameter with a name of
'Alex' and an employee number of 9.
The code runs and all but I get this strange result. In the print I am getting the employee number
coming out correctly but the employee name comes out as 3 question marks. I can't understand why
"Alex" does not out. I have tried different things such as adding a new varchar2 to the object type and new a new integer and what I observer is that I keep getting 3 question marks coming back instead of whatever I assign for the employee name. Could someone please help and let me know what could be wrong?
I have no clue as what is causing this weird behaviour.
Thanks.Hi,
i have not really a idea. But at the next step i would
try the same procedure with in/out parameter and use a
initialized string. Maybe there is a problem to
determine the length of string.
Bye ThomasThanks for you reply Thomas,
This is the code for stored procedure that I use. As can be seen I just assign an employee to the
out parameter.
CREATE OR REPLACE PROCEDURE test_employee(emp out EMPLOYEE) IS
BEGIN
emp := EMPLOYEE('Alex',49);
END;
Now in the java code when the statement >>
System.out.println("name:" + ((EmployeeObj)outParam).getName());
executes I get the name coming out as the String: "???". That is three question marks. It is very weird. I then attempted to create the object using JPublisher and I get the same result. I attempted not only to use hte SQLData interface but Oracle's ORAData interfaces as well. I went to to create a table with column as the EMPLOYEE type and use in insert to put the same object and and then sellect * from the table to the the and I still get the 3 question marks for the name and the number comes out correctly.
I am not sure what could be causing the text to come out as three question marks. I am using Oracle 9.2.0.4.0 and the ojdbc_g.jar drivers version :9.2.0.3.0. Any help would be greatly appreciated.
Thanks -
Need some help on procedure calling procedure using object type reg
dear all,
i need to test one procedure by passing only one value but how do i pass single value. i am showing the details of few section on which i am working on. here is few details about the package.
Description: package pkj_emp contains two procedure pkj_emp and procedure proc_rem.
purpose:based on passing dname values to procedure pkj_emp, cursor cur_emp will fetch empid from emp table and then we are passing 4 empid records to procedure proc_rem using empid object type.Inside the procedure proc_rem it will delete all 4 records of table A,B,C and D at one short.
Requirement:i need to test for only one value that means is it possible i can pass only one value using the cursor cur_emp.
create or replace package pkj_emp
TYPE obj_emp IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
procedure proc_emp(empid obj_emp);
create or replace package body pkj_emp
as
procedure(
dname varchar2;
as
cursor cur_emp is select emp_id from emp a,dept d
where a.deptid=d.deptid
and d.deptname=dname;
begin
count:=0;
for cur_emp_rec in cur_emp LOOP
empid(count) := cur_emp_rec.emp_id;
IF (count = 4) THEN
proc_rem(empid); // calling another procedure
commit;
END IF;
count := count + 1;
END LOOP;
end;
proc_rem(
empid obj_emp;
is
begin
delete from A where emp_id in (empid(0),empid(1),empid(2),empid(3));
delete from B where emp_id in (empid(0),empid(1),empid(2),empid(3));
delete from c where emp_id in (empid(0),empid(1),empid(2),empid(3));
delete from d where emp_id in (empid(0),empid(1),empid(2),empid(3));
end;
regards
LaxmanYou have hardcoded your IN LIST in the REM procedure. I recommend changing the code to take a variable number of inputs. You could do something like the following:
SQL> CREATE TABLE A (ID NUMBER);
Table created.
SQL> CREATE TABLE B (ID NUMBER);
Table created.
SQL> CREATE TABLE C (ID NUMBER);
Table created.
SQL> CREATE TABLE D (ID NUMBER);
Table created.
SQL> INSERT INTO A VALUES(7566);
1 row created.
SQL> INSERT INTO B VALUES(7902);
1 row created.
SQL> INSERT INTO C VALUES(7876);
1 row created.
SQL> INSERT INTO D VALUES(7369);
1 row created.
SQL> CREATE OR REPLACE TYPE EMP_TYPE AS TABLE OF NUMBER(4);
2 /
Type created.
SQL> CREATE OR REPLACE PACKAGE PKJ_EMP
2 AS
3 PROCEDURE PKJ_EMP
4 (
5 DNAME IN SCOTT.EMP.DEPTNO%TYPE
6 );
7
8 PROCEDURE REM
9 (
10 pEMPList IN EMP_TYPE
11 );
12 END PKJ_EMP;
13 /
Package created.
SQL> CREATE OR REPLACE PACKAGE BODY PKJ_EMP
2 AS
3 PROCEDURE PKJ_EMP
4 (
5 DNAME IN SCOTT.EMP.DEPTNO%TYPE
6 )
7 AS
8 pEMPList EMP_TYPE := EMP_TYPE();
9 i NUMBER := 1;
10 BEGIN
11 FOR r IN
12 (
13 SELECT EMPNO
14 FROM SCOTT.EMP
15 WHERE DEPTNO = DNAME
16 )
17 LOOP
18 pEMPList.EXTEND;
19 pEMPList(i) := r.EMPNO;
20
21 i := i + 1;
22 END LOOP;
23
24 REM(pEMPList);
25 END PKJ_EMP;
26
27 PROCEDURE REM
28 (
29 pEMPList IN EMP_TYPE
30 )
31 AS
32 BEGIN
33 DELETE FROM A WHERE ID IN (SELECT COLUMN_VALUE FROM TABLE(pEMPList));
34 DELETE FROM B WHERE ID IN (SELECT COLUMN_VALUE FROM TABLE(pEMPList));
35 DELETE FROM C WHERE ID IN (SELECT COLUMN_VALUE FROM TABLE(pEMPList));
36 DELETE FROM D WHERE ID IN (SELECT COLUMN_VALUE FROM TABLE(pEMPList));
37 END REM;
38 END PKJ_EMP;
39 /
Package body created.
SQL> EXEC PKJ_EMP.PKJ_EMP(20);
PL/SQL procedure successfully completed.
SQL> SELECT * FROM A;
no rows selected
SQL> SELECT * FROM B;
no rows selected
SQL> SELECT * FROM C;
no rows selected
SQL> SELECT * FROM D;
no rows selected
SQL> spool off;HTH! -
HS VIEW Incorrect Datatype VARCHAR2 Lengths Object Type
Hello,
One more question please.
I created a view in Oracle10gr2 to which pulls from an HS ODBC using a database link.
The problem is that the source database sets a particular column to VARCHAR2 (100) for a length, however the view when pulled only displays VARCHAR2(56).
Which is the actual length of the longest row of data for that column.
So this will be a problem if a row is inserted that is longer than (56) and I query the same view, I assume it will truncate.
Rather than creating an Object View and setting the lengths explicity, then calling the Object View from the View, as shown below. Is there a setting to force the view to use the columns constraints from the source??
Example using the Object View:
Creating an Object View: Example The following example shows the creation of the type inventory_typ in the oc schema, and the oc_inventories view that is based on that type:
CREATE TYPE inventory_typ
OID '82A4AF6A4CD4656DE034080020E0EE3D'
AS OBJECT
( product_id NUMBER(6)
, warehouse warehouse_typ
, quantity_on_hand NUMBER(8)
CREATE OR REPLACE VIEW oc_inventories OF inventory_typ
WITH OBJECT OID (product_id)
AS SELECT i.product_id,
warehouse_typ(w.warehouse_id, w.warehouse_name, w.location_id),
i.quantity_on_hand
FROM inventories i, warehouses w
WHERE i.warehouse_id=w.warehouse_id;
Any suggestions are appreciated.
ThanksI'm not sure if it is really a good idea to store time information in a string (And why is this string 16 chars long?)
But anyway here is a sample that worked for me:
create or replace type hour as object(
hhmmss varchar2(16),
member function HourToSysdate return date
create or replace type body hour as
member function HourToSysdate return date is
begin
return to_date(to_char(sysdate, 'dd/mm/yyyy') || ' ' || self.hhmmss , 'dd/mm/yyyy hh24:mi:ss');
end HourToSysdate;
end;
create table labor (
id number,
hora hour
insert into labor values(1, hour('12:13:14'));
insert into labor values(2, hour('09:10:11'));
select id, to_char(hour.hourtosysdate(hora), 'DD.MM.YYYY HH24:MI:SS')
from labor
order by id;
or
select l.id, to_char(l.hora.hourtosysdate(), 'DD.MM.YYYY HH24:MI:SS')
from labor l
order by l.id; -
Help: Error when using LSMW (Recording Object Type)
Dear all,
I encountered an error when using "Batch Input Recording" way in LSMW,which is as follows:
I have recorded the transaction MM01 and the source structure and data mapping.When dealing
with "Specify Files",the error comes out with message
--> "File Name 'Converted Data':Max.45 Characters:Remaining saved".
and the subsequent steps cannot be maintained due to the error.Alex,
The name of file for Converted data is a system generated combination of your Project subproject and object followed by lsmw.conv as Project_Subproject_Object.lsmw.conv
System has set a limit of a maximum of 45 characters. It the file name exceeds 45 characters, the system will throw the error.
Just rename the file such that it is with in the 45 charcter limit....you will be fine
Hope this helps
Vinodh Balakrishnan -
Oracle Object Types vs. Table Fields
Hello, all.
I`m totally new to Oracle, and I am facing a very hard problem for me, and I would like to ask your help.
I've been working on a project which uses Oracle Object Types, from a database of a legacy system.
I did not know Oracle Objects until 5 minutes ago, so sorry If I say something stupid:
Per my understanding, a Oracle Object Type can be formed by fields like myField varchar(200)... and fields from an existing table or view.
I have a lot of objects on my system and I need to map each field and its respective table or view that compose each object.
Does anyone have a query for that? I think it should be common, but I could not find anything at google (maybe I don`t which terms use to find...)
I would be very thankful if somebody could help (save) me.
Thanks in advance.
PauloFirst, it would help if you post what you object types look like.
I'm assuming they may look something like this:
SQL> create TYPE emp_type AS OBJECT
2 (emp_id NUMBER,
3 name VARCHAR2(20));
4 /
Type created.
SQL> create TYPE emp_tab IS TABLE OF emp_type;
2 /
Type created.
SQL> create or replace package emp_test as
2 procedure get_emps;
3 end emp_test ;
4 /
Package created.
SQL> create or replace package body emp_test as
2 employees emp_tab := emp_tab();
3 procedure get_emps as
4 g_rc sys_refcursor;
5 BEGIN
6 employees.EXTEND(2);
7 employees(1) := emp_type (1, 'John Smith');
8 employees(2) := emp_type (2, 'William Jones');
9 OPEN g_rc FOR
10 SELECT * FROM TABLE (CAST (employees AS emp_tab));
11 END get_emps ;
12 end emp_test ;
13 /
Package body created. -
Create object type from multiple tables for select statement
Hi there,
I have 3 tables as given below and I wish to create an object type to group selected columns as 'attribute' from multiple tables.
I need to create 2 input parameters to pass in - 'attribute' and 'attribute value' in PL/SQL and these 2 parameters will be
passing in with 'column name' and 'column value'. e.g. 'configuration' - the column name, 'eval' - the column value.
Then, the PL/SQL will execute the select statement with the column and column value provided to output the record.
Pls advise and thank you.
table ccitemnumber
name null type
ccitemnumber not null varchar2(20)
configuration varchar2(20)
item_type varchar2(30)
table productmodel
productmodelnumber not null varchar2(6)
description varchar2(60)
accesstimems number
numberofheads varchar2(2)
generation varchar2(10)
numberofdiscs varchar2(2)
factoryapplication varchar2(150)
table topmodel
stmodelnumber not null varchar2(30)
productfamily varchar2(60
formfactor varchar2(10)
modelheight varchar2(10)
formattedcapacity number
formattedcapacity_uom varchar2(20)
object type in database
configuration varchar2(20)
item_type varchar2(30)
numberofheads varchar2(2)
generation varchar2(10)
numberofdiscs varchar2(2)
factoryapplication varchar2(150)
modelheight varchar2(10)
formattedcapacity number
formattedcapacuser12043838 wrote:
Reason to do this as these fields are required to be grouped together as they are created in different tables. They are treated as 'attribute' (consists of many columns) of the part number. So, the PL/SQL is requested to design in a way able for user to pass in the column name and column value or part number, then the select statement should be able to query for the records. Another reason is a new column can be added easily without keep modifying those effected programs. Reuseable too.This basically equates to ... hard to code, hard to maintain, and poor performance.
Are you really sure you want to do this? This isn't going to be easy-street as you seem to think it is, but it's a one way street to a poorly performing system with security vulnerabilities (google SQL Injection).
I would highly recommend you reconsider your design decision here. -
Hi
What is object type for Fright Charges ?.., In the sdk help center how to find the object type. Please help me.
Thanks&Regards,
Vidhuroo.Okay,
you can use this code:
Dim query = DirectCast(MyCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset), SAPbobsCOM.Recordset)
query.DoQuery("SELECT [ExpnsCode] FROM [OEXD] ORDER BY [ExpnsName]")
Dim expenses = DirectCast(MyCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oAdditionalExpenses), SAPbobsCOM.AdditionalExpenses)
expenses.Browser.Recordset = query
expenses.Browser.MoveFirst()
While Not expenses.Browser.EoF
Dim name = expenses.Name
expenses.Browser.MoveNext()
End While -
Require help on Array of Nested tables and Oracle Object type
Hi All,
I have a scenario where I have some millions of records received from a flat file and the record is stored in Table as below:
Tablename: FILE_RECORD
Rows:
FILE_REG_ID = 1
RECORD_NBR = 1
PROCESSED_IND = U
RECORD= 00120130326006A
FILE_REG_ID = 1
RECORD_NBR = 2
PROCESSED_IND = U
RECORD= 00120130326003
1) I have to read these records at once and
a) Split the RECORD column to get various other data Eg: Fld1=001, Fld2=20130326, Fld3 = 003
b) send as an Array to Java.
2) Java will format this into XML and sent to other application.
3) The other application returns a response as Successful or Failure to Java in XML
4) Java will send RECORD_NBR and the corresponding response as Success or Failure back to PLSQL
5) PLSQL should match the RECORD_NBR and update the PROCESSED_IND = P.
I 'm able to achieve this using SQL Table type by creating a TYPE for Each of the fields (Flds) however the problem is Java cannot Access the parameters as the TYPE are of COLUMN Types
Eg: For RECORD_NBR
SUBTYPE t_record_nbr IS FILE_RECORD.T010_RECORD_NBR%TYPE;
Can you please let me know how I can achieve this to support Java, I know one way that is by creating an OBJECT TYPE and a TABLE of the OBJECT TYPE.
Eg: T_FILE_RECORD_REC IS OBJECT
FILE_REG_ID number(8), RECORD_NBR number (10), PROCESSED_IND varchar2(1), RECORD varchar(20)
Create type T_FILE_RECORD_TAB IS TABLE OF T_FILE_RECORD_REC
However I'm facing a problem to populate an Array of records, I know I'm missing something important. Hence please help.
It would be helpful to provide some guidelines and suggestions or Pseudo or a Code to achieve this. Rest all I can take up further.
Thanks in advance,I know once way that is creating a OBJECT TYPE and a TABLE of OBJECT TYPE, howeve I feel I'm missing something to achieve this.You're right, you need SQL object types created at the database level. Java doesn't know about locally defined PL/SQL types
However you can do without all this by creating the XML directly in PL/SQL (steps 1+2) and passing the document to Java as XMLType or CLOB.
Are you processing the records one at a time? -
Need help on object type(complex)
Hi All,
i have an object type account_t as
create type account_t as object (accountnumber number(30),
holdername varchar2(20),
currentamount number(20),
minimalamount number(20),
status varchar2(10),
member procedure setcurrentamount(v_amount number),
member function getcurrentamount return number,
member procedure setstatus(v_status boolean),
member function getstatus return varchar2,
member procedure setholdername(v_holdername varchar2),
member function getholdername return varchar2);
i create another type accountmanager_t as
create type accountmanager_t as object (
depositamount number(30),
withdrawalamount number(30),
v_accountt account_t,
member function deposit(d_accountt account_t,d_transno number default 1) return account_t,
member function withdraw(w_accountt account_t,w_transno number default 2) return account_t);
Accountmanager_t body as :
create or replace type body accountmanager_t as
member function deposit(d_accountt account_t,d_transno number default 1) return account_t as
begin
return self.amount+self.depositamount;
end deposit;
member function withdraw(w_accountt account_t,w_transno number default 2) return account_t as
begin
if self.status='OPEN' then
if (currentamount-self.withdrawalamount) < minimalamount then
if (currentamount-self.withdrawalamount) <> 0 then
status:='CLOSED';
return self.currentamount-self.withdrawalamount;
end if;
end if;
myprint('No Sufficient funds for Withdrawal');
return self.currentamount;
end if;
myprint('No withdrawal for closed account');
return self.currentamount;
end withdraw;
end;
i get the errors as :
4/3 PL/SQL: Statement ignored
4/15 PLS-00302: component 'AMOUNT' must be declared
8/3 PL/SQL: Statement ignored
8/11 PLS-00302: component 'STATUS' must be declared
19/3 PL/SQL: Statement ignored
19/15 PLS-00302: component 'CURRENTAMOUNT' must be declared
SQL>
How to pass the values of these variables from account_t type to accountmanager_t type?
Any help??
Regards,
s.return self.amount+self.depositamount;I counld not find any amount field in your type definitions
if self.status='OPEN' thenIs it w_accountt.status ?? since there is no status field in accountmanager_t type
return self.currentamount-self.withdrawalamount;same comments for currentamount
member function deposit(d_accountt account_t,d_transno number default 1) return account_t asWhere as your return expression is a number?? -
Object type variable - Help !
Hi
I want to achieve following outcome:
Create a object type e.g.
CREATE TYPE employees AS OBJECT (
employee_id NUMBER(6),
first_name VARCHAR2(20)
Then create a table type e.g
CREAT TYPE emp_table AS TABLE of employees;
So far so good.
Now I want to declare a variable of emp_table type in my
procedure and then populate it using a select clause.
Something like this:
my_employees emp_table;
insert into my_employees select id, name from table1 where id < 50;
Where table1 is some permanent table in my database.
I am not able to figure out how to achieve this.
I dont want to create a permanent table in my database for this.
I want to keep this table type variable in memory and discard it at the end
of the procedure.
Please help
Regards
MadhupBULK COLLECT INTO
http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96624/05_colls.htm#28329
SQL> CREATE TYPE employees AS OBJECT (
2 employee_id NUMBER(6),
3 first_name VARCHAR2(20)
4 );
5 /
Type created.
SQL> CREATE TYPE emp_table AS TABLE of employees;
2 /
Type created.
SQL> declare
2 my_employees emp_table := emp_table();
3 begin
4 select employees(empno,ename) bulk collect into my_employees from emp;
5 end;
6 /
PL/SQL procedure successfully completed.Rgds. -
OS=Win2003
DB=10gR2
Version = 102.0.4
Hi,
I am running a impdp on a 30gb file and well it seems to have gone fine (much faster then it normally does to be honest), but towards the end it fails, and when researching this error, it seems to be very vague and I was wondering if someone can help me. Below is the log, but I have taken parts out of it that are not relevant.
Import: Release 10.2.0.4.0 - Production on Wednesday, 16 April, 2008 15:22:18
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYSTEM"."IMPGEMDEV041608" successfully loaded/unloaded
Starting "SYSTEM"."IMPGEMDEV041608": system/********@iworksdb directory=DATA_PUMP_DIR dumpfile=expdpgemdev.dmp job_name=impgemdev041608 TABLE_EXISTS_ACTION=APPEND SCHEMAS=GEMDEV LOGFILE=IMPIWORKS_BOON.log REMAP_SCHEMA=GEMDEV:IWORKS REMAP_TABLESPACE=IWORKS_INDEX:IWORKS_IDX REMAP_TABLESPACE=IWORKS_IOT:IWORKS_IDX REMAP_TABLESPACE=IWORKS_TABLES:IWORKS_TABLES EXCLUDE=GRANT exclude=statistics STREAMS_CONFIGURATION=N
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"IWORKS" already exists
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC
ORA-31684: Object type TYPE:"IWORKS"."T_NUMBER_TAB" already exists
ORA-31684: Object type TYPE:"IWORKS"."T_VARCHAR2_TAB" already exists
Processing object type SCHEMA_EXPORT/TABLE/TABLE
ORA-39152: Table "IWORKS"."SYS_TOKENTYPE" exists. Data will be appended to existing table but all dependent metadata will be skipped due to table_exists_action of append
ORA-31684: Object type PACKAGE:"IWORKS"."CONT_FEE_DEF_UC" already exists
ORA-31684: Object type PACKAGE:"IWORKS"."COPAYCALCFLAG" already exists
ORA-31684: Object type VIEW:"IWORKS"."VWTREE" already exists
ORA-31684: Object type VIEW:"IWORKS"."V_ROUTE_DTL_GROUP" already exists
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCOBJ
ORA-39083: Object type PROCOBJ failed to create with error:
ORA-06550: line 2, column 11:
PLS-00103: Encountered the symbol "VARCHAR2" when expecting one of the following:
:= . ( @ % ;
The symbol ":=" was substituted for "VARCHAR2" to continue.
ORA-06550: line 3, column 12:
PLS-00103: Encountered the symbol "VARCHAR2" when expecting one of the following:
:= . ( @ % ;
The symbol ":=" was substituted for "VARCHAR2" to continue.
ORA-06550: line 4, column 19:
PLS-00103: Encountered the symbol "VARCHAR
ORA-39083: Object type PROCOBJ failed to create with error:
ORA-06550: line 6, column 16:
PLS-00103: Encountered the symbol "RAYSQLACCESS9889405" when expecting one of the following:
* & = - + ; < / > at in is mod remainder not rem
<an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
The symbol "* was inserted before "RAYSQLACCESS9889405" to continue.
ORA-06550: line 7, column 17:
PLS-00103: Encountered the symbol "SQL" when expectin
Job "SYSTEM"."IMPGEMDEV041608" completed with 2831 error(s) at 15:30:37
Any help will be much appreciatedI can not seem to find any object named PROCOBJ.
As for the object called RAYSQLACCESS9889405...no idea what this is.
I checked the source for any invalid objects and none. -
Help! JDBC & Oracle Object Type
Hi all?
I use JDBC to connect to ORACLE 8i DB...
it has various kind of New Features of Oracle 8( eg. Oject Type
like REF, Nested Tables, VArray... ).
So I'd like to retrieve some Table consisted of general Column
and REF, Varray, Nested Tables... I succeeded retrieving the
data from general table with only general columns like number,
varchar2 consulting Manuals... I use Custom Java Classes
inheriting CustumDatum Interface...
However, I cannot find any other solution to get data from
Tables consisted of Object Features...
So I'd like to know how to configure Custom Java Classes to map
to Object Type like Varray, Ref...
In manual, there's only way to get data from olny the column
which is Object type, I mean i'd like to know how to get whole
column's data using Custom Java Classes...
It will be really thankful if you mail the answer or sample
codes to me...
Pls mail to [email protected]
Thank you all,
nullHi Eddy,
Use sqlj tool, which generates java classes to
corresponding object types in oracle 8i. Use these
(or extend) classes to retrieve the data.
bye
MohanE
Eddy Lim (guest) wrote:
: Hi all?
: I use JDBC to connect to ORACLE 8i DB...
: it has various kind of New Features of Oracle 8( eg. Oject Type
: like REF, Nested Tables, VArray... ).
: So I'd like to retrieve some Table consisted of general Column
: and REF, Varray, Nested Tables... I succeeded retrieving the
: data from general table with only general columns like number,
: varchar2 consulting Manuals... I use Custom Java Classes
: inheriting CustumDatum Interface...
: However, I cannot find any other solution to get data from
: Tables consisted of Object Features...
: So I'd like to know how to configure Custom Java Classes to map
: to Object Type like Varray, Ref...
: In manual, there's only way to get data from olny the column
: which is Object type, I mean i'd like to know how to get whole
: column's data using Custom Java Classes...
: It will be really thankful if you mail the answer or sample
: codes to me...
: Pls mail to [email protected]
: Thank you all,
null -
Hi
How do I modify object type without droping table containing that object?
Thanks a lotYou haven't given a great deal of information about which version of Oracle you're talking about.
However the simple answer is if it's not version 9i then you're going to have huge problems with object evolution, no version prior to 9i has allowed you to easily modify an object and maintain any data in associated object tables (there ARE horrendous workarounds but if you can move to 9i it WILL save you a tremendous amount of headaches/hacks).
John. -
BI Content Input Help Not Working on Object Type View
In the BI Content area, if I go to the Object Type View and click on 'Select Objects' for Datasources or InfoPackages, I will not get the Input Help screen.
I am running SAP BI 7.0 Level 0013. BI Content is version 7.03 Level 0005
I am sure there is a note to fix this, but I have not been able to find it!
ThanksAll of the correct Source Systems Assignments were not selected.
Maybe you are looking for
-
How can i use Itunes to update more than one IPad with more than one owner
How can i use Itunes to update more than one IPad with more than one owner? I own an IPad and my wife owns an IPad. I want to use my system to update both IPads. We have different Apple Accounts and different applications. Is this possible?
-
Hi, I would like to buy an Audigy 4 pro card but I need a very low noise mic input. Is A4 Pro really high quality in this field? Now I have Santa Cruz - Turtle Beach, just bought external mic preamp and noise level is absolutely terrible. I wonder if
-
Hi Iam creating an application in web dynpro.In that Label Name - FileName UI Element - FileUpload I created One Node "FileUpload" under that "FileResource" one attribute, i had taken.I mapped that attribute to the "Resource" Element. In the Java D
-
Link between LANDSCAPE AND R/3
hi gurus i have doubt. that what is the difference between DEV,QUALITY AND PRODUCTION SERVERS AND DATABASE, APPLIACATION, PRESENTATION. initailly while we are in implementation we use DEV,QUALITY AND PRODUTION. after impllementation DATABASE, APPLICA
-
Why does safari always do this?
Almost every other day that I use Safari, it unexpectedly quits! And i getting fed up with it. This seems to happen to my friends also too. The computers that I experience it on are my G3 iMac 500Mhz 512MB, and my Mac Mini 1.25Ghz 512MB. Now my frien