ERD & object tables
Hi Guys,
I'm new to designer.
I couldn't find a way to create object tables or object types from ERD(I mean by means of ERD).
Suppose that I want to create an Employee table, to do this I create an entity in ERD.
So far fine.
In my Employee table I want to store the address information of the employee but I don't want CITY,ZIP_CODE,etc. as columns(attributes) of Employee.
Instead I want an object type called address which stores that columns.
How Can I do this by using ERD and DDT.
Thanks.
Assuming you are working in the Design Editor and you have a new blank Server Model Diagram (SMD) open, then the object type creation buttons are on the right side panel. When working with an SMD, you create your types first: address_objtyp (street, city, zip, etc), emp_objtyp (name, title, with an embedded ref to address_objtyp). To store employees, you create an Object Table (not a relational table) of type emp_objtyp. When working with Oracle objects the Object Table does not get represented on the diagram -- just the types themselves and their relationships. The Oracle docs about objects are quite good: Application Developer's Guide - Object-Relational Features.
Good Luck.
I couldn't find a way to create object tables or object types from ERD(I mean by means of ERD). Suppose that I want to create an Employee table, to do this I create an entity in ERD.
So far fine.
In my Employee table I want to store the address information of the employee but I don't want CITY,ZIP_CODE,etc. as columns(attributes) of Employee.
Instead I want an object type called address which stores that columns.
How Can I do this by using ERD and DDT.
Similar Messages
-
Using REF with object table in SQL Developer
When i create object tables and fill them with data, then in SQL Developer de REF value isn't displayed.
I did the following:
CREATE TYPE adres_type AS OBJECT
(straat VARCHAR2(20)
,nummer VARCHAR2(10)
,postcode VARCHAR2(6)
,plaats VARCHAR2(50));
CREATE TABLE adressen of adres_type;
CREATE TYPE locatie_type AS OBJECT
(nr NUMBER
,naam VARCHAR2(20)
,adres REF adres_type);
CREATE TABLE locaties OF locatie_type;
CREATE TABLE locaties OF locatie_type
(SCOPE FOR (adres) IS adressen);
insert into adressen values (adres_type('Arnhemsestraatweg', '33','6881ND','Velp'));
insert into locaties values (1,'Directie', (select ref (a) from adressen a where a.plaats = 'Velp'))
Then in SQL Developer de REF(A) column is empty, while in SQL*Plus it displays the REF value:
In SQL Developer: SELECT a.*, REF(a) FROM adressen a;
STRAAT NUMMER POSTCODE PLAATS REF(A)
Arnhemsestraatweg 33 6881ND Velp
In SQLPLUS: SELECT a.*, REF(a) FROM adressen a;
STRAAT NUMMER POSTCODE PLAATS REF(A)
Arnhemsestraatweg 33 6881ND Velp 0000280209C70341FBB96B4F77813B27B50E53BB4332382E22ADD64AD9B755F651D416B6DA010134
Is this a bug or is there another reason why the ID doesnt display in SQL Developer.
(this didnt work in all the previous SQL Developer releases and still not in de 2.1 E.A. version)Hi <not sure of your first name>,
I have replicated the issues and logged a bug against this
Bug 9102579 - FORUM: REF FUNCTION NOT RETURNING CORRECT RESULT
Regards,
Dermot O'Neill
SQL Developer Team -
IN_WRONG_TABLESPACE, object: table/index
Hi all,
Apologies for the repost of this topic. I have seen it a few times but without resolutions. My problem is as follows.
BR0970W Database administration alert - level: WARNING, type: IN_WRONG_TABLESPACE, object: (index) SAPSR3.D010INC~1, value: PSAPSR346C
BR0970W Database administration alert - level: WARNING, type: IN_WRONG_TABLESPACE, object: (table) SAPSR3.D010L, value: PSAPSR346C
This is IAORA.
TABART
TABSPACE
PCTINC
OFREELIST
OPCTFREE
APPL0
PSAPSR3
0000
1
10
APPL1
PSAPSR3
0000
1
10
APPL2
PSAPSR3
0000
1
10
CLUST
PSAPSR3
0000
1
10
POOL
PSAPSR3
0000
1
10
SDIC
PSAPSR3
0
1
10
SDOCU
PSAPSR3
0000
1
10
SLDEF
PSAPSR346D
0000
1
10
SLEXC
PSAPSR346D
0000
1
10
SLOAD
PSAPSR3
0000
1
10
SPROT
PSAPSR3
0000
1
10
SSDEF
PSAPSR346D
0000
1
10
SSEXC
PSAPSR346D
0000
1
10
SSRC
PSAPSR3
0000
1
10
TEMP
PSAPSR3
0000
1
10
USER
PSAPSR3USR
0000
1
10
USER1
PSAPSR3USR
0000
1
10
This is TAORA.
TABART
TABSPACE
PCTINC
OFREELIST
OFREEGROUP
OPCTFREE
OPCTUSED
APPL0
PSAPSR3
0000
001
01
10
40
APPL1
PSAPSR3
0000
1
1
10
40
APPL2
PSAPSR3
0000
1
1
10
40
CLUST
PSAPSR3
0000
1
1
10
40
POOL
PSAPSR3
0000
1
1
10
40
SDIC
PSAPSR3
0
1
1
10
40
SDOCU
PSAPSR3
0000
1
1
10
40
SLDEF
PSAPSR346D
0000
1
1
10
40
SLEXC
PSAPSR346D
0000
1
1
10
40
SLOAD
PSAPSR3
0000
1
1
10
40
SPROT
PSAPSR3
0000
1
1
10
40
SSDEF
PSAPSR346D
0000
1
1
10
40
SSEXC
PSAPSR346D
0000
1
1
10
40
SSRC
PSAPSR3
0000
1
1
10
40
TEMP
PSAPSR3
0000
1
1
10
40
USER
PSAPSR3USR
0000
1
1
10
40
USER1
PSAPSR3USR
0000
1
1
10
40
select tablespace_name from dba_tablespaces;
SYSTEM,PSAPUNDO,SYSAUX,PSAPTEMP,PSAPSR3,PSAPSR346C,PSAPSR3USR
Tablespace does exist as you can see above now to determine type of tablespace, and as per below query you can see it contains
both data and indexes.
select distinct(segment_type), tablespace_name from dba_segments order by tablespace_name;
SEGMENT_TYPE TABLESPACE_NAME
INDEX PSAPSR3
TABLE PSAPSR3
INDEX PSAPSR346C
TABLE PSAPSR346C
TABLE PSAPSR3USR
TYPE2 UNDO PSAPUNDO
INDEX SYSAUX
INDEX PARTITION SYSAUX
LOB PARTITION SYSAUX
LOBINDEX SYSAUX
LOBSEGMENT SYSAUX
As per note 655162 option 1 and 2 are applicable to me. But as this tablespace seems to be both a data and index tablespace I am thinking I need to create the tablespace entry in IAORA and TAORA.
How would I correctly edit these table entries and which of the following tables might also have to be edited?
DDART and DARTT are used to maintain the classes ( tabarts)
DD09L maps the tables to each class ( tabart)
TAORA/IAORA maps the classes to the tablespaces
TSORA lists the tablespaces.
As a non dba I find the sap note a bit confusing please advise.
Kind Regards,
JohanHi guys,
For clarification:
disp+work information
kernel release 46D
kernel make variant 46D_EXT
DBMS client library OCI_920__OCI_7_API
DBSL shared library version 46D.00
compiled on Linux 2.6.5-7.202.5-smp #1_SMP_Thu_Aug_25_06:20:45_UTC_2005 x86_64
compiled for 64 BIT
compile time Aug 10 2008 21:39:12
update level 0
patch number 2415
source id 0.2415
supported environment
database (SAP, table SVERS) 46A
46B
46C
46D
DBMS server ORACLE 8.0.5..
ORACLE 8.0.6..
ORACLE 8.1.6..
ORACLE 8.1.7..
ORACLE 9.2.0..
ORACLE 10.2.0..
operating system Linux 2.6
System build information:
LCHN :
System components:
ST-PI 2008_1_46C
ST-A/PI 01J_R3_46C
SAP_NOTES 46C
SAP_HR 46C
SAP_BASIS 46C
SAP_APPL 46C
SAP_ABA 46C
Regards,
J -
How to get the List of Database Objects (Table/View) for a given APEX Page.
Hi,
I have an application and that consist of pages like page1,2,3,.....
*1.* I want a report which can give me the list of all the Pages1,2,3,....
I am using the following query to acheive this.... THIS IS FINE..
select a.workspace, a.owner, a.application_name, b.page_id, b.page_name
from apex_applications a,
apex_application_pages b
where a.workspace = b.workspace
and a.application_id = b.application_id*2. Now, I want for each individual page*, the list all the database objects (tables/views), which that page is using.
I am using ALL_DEPENDENCIES , but I am not getting the result.
So, want to know if there any view/table, where I can get the Application Pages & there database object list...
Thanks,
DeepakHari,
Thanks for the response.
The view APEX_APPLICATION_PAGE_DB_ITEMS will only give me the table name related to any Page Items defined to that page..It will not give me all the database objects..
suppose we have a Page, having a report based on multiple tables and there is no Page items defined on that page, we will not have any value in this ....DB_ITEMS table. same thing if we have define some PL|SQL(using some table/view) in a Process, that will not be populated in .....DB_ITEMS table. I want some thing like all the database objects (table/views/function/procedure/.....) for a particular Page ID.
Thanks,
Deepak -
How to insert subtype data from another table in a object table ?
Hi all
I have been looking at the differences answers there are about insert data form a subtype in a object table of a supertype ,but have not found a solution yet.
I hope you can help me.
I my code Action_Logs is the object table and CloseStore_Logs_t is a subtype of Action_Logs_t
My code is
insert into Action_Logs(CloseStore_Logs_t (action_logs_id , physicalstores.physicalstores_id , brandedstores.BRANDEDSTORES_ID ,physicalstores.COMPANIES_ID ,brandedstores.CREATED_BY ,
brandedstores.CREATED_DATE , brandedstores.DELETED ,brandedstores.CLOSED_DATE as brandedstore_closedate,
physicalstores.CLOSED_DATE as physicalstore_closedate)
select CloseStore_Logs_t((null as action_logs_id , physicalstores.physicalstores_id , brandedstores.BRANDEDSTORES_ID ,physicalstores.COMPANIES_ID ,brandedstores.CREATED_BY ,
brandedstores.CREATED_DATE , brandedstores.DELETED ,brandedstores.CLOSED_DATE as brandedstore_closedate,
physicalstores.CLOSED_DATE as physicalstore_closedate)
from physicalstores , brandedstores ,companies
where physicalstores.physicalstores_id = brandedStores.PHYSICALSTORES_ID and
physicalstores.COMPANIES_ID = companies.COMPANIES_ID and
brandedstores.closed_date is not null
oracle gives a ora _917 fault about a missing comma , but I can not se what is wrong.
I will be glad, if you can give me an example with a right syntax where a subtype is selected from other/s tables an inserted in table of its supertype.
kinds regards
steen ostersenHi
I see two problems with your statement:
1) The utilization of the values clause is not permitted along with a subquery.
2) The AS are not allowed.
So, something like that should work:
insert into Action_Logs
select CloseStore_Logs_t(null,
physicalstores.physicalstores_id,
brandedstores.BRANDEDSTORES_ID,
physicalstores.COMPANIES_ID,
brandedstores.CREATED_BY,
brandedstores.CREATED_DATE,
brandedstores.DELETED,
brandedstores.CLOSED_DATE,
physicalstores.CLOSED_DATE)
from physicalstores , brandedstores ,companies
where physicalstores.physicalstores_id = brandedStores.PHYSICALSTORES_ID and
physicalstores.COMPANIES_ID = companies.COMPANIES_ID and
brandedstores.closed_date is not null
HTH
Chris -
How do I reference the instance in a constraint on an object table?
I want to create a unique constraint that involves the result of a deterministic member function.
I can do it just fine if I create table with a column of the object type:
drop table test_table1;
drop table test_table2;
drop type test_type;
create type test_type as object (
alpha varchar2(30),
member function get_beta return varchar2 deterministic
show errors;
create type body test_type as
member function get_beta return varchar2 deterministic is
begin
return 'Beta';
end;
end;
show errors;
create table test_table1 (
test_instance mattk.test_type,
beta varchar2(4000) as (test_type.get_beta(test_instance)),
constraint test_table1_pk primary key (beta)
insert into test_table1 (test_instance) values (test_type('Alpha'));
commit;
insert into test_table1 (test_instance) values (test_type('Gamma'));
commit;As I said, this works just fine, and the second insert statement produces the following error:
insert into test_table1 (test_instance) values (test_type('Gamma'))
ORA-00001: unique constraint (MATTK.TEST_TABLE1_PK) violatedHowever, I'd really like my table to be an object table.
If I do that:
create table test_table2 of test_type;How do I then reference the object instance that the row represents?I've got it all worked out now. Thanks everyone for the helpful advice.
I changed the type definition slightly. I added an Attribute for Beta, in addition to keeping the deterministic member function.
drop table test_table2;
drop type test_type;
create type test_type as object (
alpha varchar2(30),
beta varchar2(30),
member function get_beta return varchar2 deterministic
show errors;
create type body test_type as
member function get_beta return varchar2 deterministic is
begin
if (self.beta <> 'Beta') then
raise_application_error(-20000, 'Beta is not properly set.');
end if;
return 'Beta';
end;
end;
show errors;
create table test_table2 of test_type;
alter table test_table2 add (
constraint test_table2_pk primary key (alpha, beta)
create unique index test_table2_idx1 on test_table2(test_type.get_beta(object_value));
insert into test_table2 values (test_type('Alpha', 'Beta'));
commit;
insert into test_table2 values (test_type('Gamma', 'Beta'));
update test_table2 t set t.beta = 'BETA';
insert into test_table2 values (test_type('Delta', 'Delta'));Correctly produces the following errors:
insert into test_table2 values (test_type('Gamma', 'Beta'))
ORA-00001: unique constraint (MATTK.TEST_TABLE2_IDX1) violated
update test_table2 t set t.beta = 'BETA'
ORA-20000: Beta is not properly set.
ORA-06512: at "MATTK.TEST_TYPE", line 5
insert into test_table2 values (test_type('Delta', 'Delta'))
ORA-20000: Beta is not properly set.
ORA-06512: at "MATTK.TEST_TYPE", line 5The presence of the unique index over the deterministic member function guarantees that function will be called on any insert or update, which gives it the opportunity to error out if the attribute is not properly set.
The reason I was interested in doing this is because Oracle does not support constant attribute values.
Again, thanks everyone for the helpful replies. -
Update statement for object table.
Hi,
I have created one type as
Create type test as object(
ins_by varchar2(30),
ins_on date,
upd_by varchar2( 30),
upd_on date);
and then created an object table as
create table imst(
i_code number(5),
i_desc varchar2(35),
i_op test);
now i am able to insert record in this table as
insert into imst values(1,'Hawkins cooker',test(user,sysdate,'',''));
Above works fine.
But I would also like to update the record with i_op.upd_by,i_op.upd_on with some other values.
Can any body help me specifying how to write a plain update statement for the same.
Regards.
SoumenCheck it out:
SQL> Create type myTest as object(
2 ins_by varchar2(30),
3 ins_on date,
4 upd_by varchar2( 30),
5 upd_on date);
6 /
Type created.
SQL> create table imst(
2 i_code number(5),
3 i_desc varchar2(35),
4 i_op myTest);
Table created.
SQL> insert into imst values(1,'Hawkins cooker', mytest(user,sysdate,'',''));
1 row created.
SQL> select * from imst;
I_CODE I_DESC
I_OP(INS_BY, INS_ON, UPD_BY, UPD_ON)
1 Hawkins cooker
MYTEST('APC_LOAD', '12-JUL-04', NULL, NULL)
SQL> update imst i set i.i_op.upd_by = USER, i.i_op.upd_on = add_months(sysdate, 1);
1 row updated.
SQL> select * from imst;
I_CODE I_DESC
I_OP(INS_BY, INS_ON, UPD_BY, UPD_ON)
1 Hawkins cooker
MYTEST('APC_LOAD', '12-JUL-04', 'APC_LOAD', '12-AUG-04')
SQL> Smoke me a kipper I'll be back before breakfast.
Cheers, APC -
Object tables and procedures.
Hi! I apologize in advance if my question is too trivial. I'm building simple object-relational database, and i would like to move a lot of my programming logic into database. I plan to build object tables based on object types that contain not only attributes but also functions and procedures. Now for example, i have object type "product" that contains some atributes like id ,name, price..., and let say procedure LowerThePrice(Percentage NUMBER) that should change the actual data.
Now i create table Products of type product and fill it with some data. The question is how can i call/apply this procedure LowerThePrice on rows of products object table? If this scenario is even possible, how can i call that procedure using sql plus, and VB.net 2005 (i have installed and configured ODP.NET and oracle 11g).
Thanks!1. Has been mentioned before - we do have a bug on it. To search across all your pl/sql, there is a report you can use.
2. We are working on improving errors but I can't make any promises.
3. We have heard this before but it won't be there for v1.0. You can use the Connections navigator to access the details of the objects that are accessible to you while you have a Worksheet open. You can even drag your Worksheet tab down to place it under the Connections details tab so you can see them both at the same time.
4. In a post-v1.0 release, we will be looking at additional, alternate navigation.
5. We have an open bug to not prompt you for the same bind more than once.
6. I will talk to the Worksheet developer about this one. Not sure we can remember the binds from execution to execution but it would be a great enhancement.
7. Not sure why this is failing - I will check into it.
-- Sharon -
Object tables and stored proecedures
I am trying to find something about retrieving data from object tables using functions/stored procedures. I have tried a couple of things but, my code throws an "illegal column datatype" error when I try to fill the dataset.
I am sure there is a way to do have a function or SP return object types to C# code, what ways work best?
Thanks in advance,You could use a result set...I have done this using Pipelined functions that return a table of objects and used the Table() function to wrap the function return as a table in a select statement...
open cursor for select * from table(my_function)
where my_function returns a table of objects (see pipelined row functions).
You may be able to reference your object directly (Ref / Value) if it is a nested object. -
Help ! Cannot retrieve Object table data from Oracle 8i
Dear All,
Created the object and object table in SQL*Plus. If query from SQL*Plus, return rows selected.
But if query from SQL*Plus worksheet and ODBC Test program, return "0 rows selected".
Similary, if created the object and object table in SQL*Plus worksheet and query from SQL*Plus worksheet, return rows selected.
But if query from SQL*Plus or ODBC Test program, return "0 rows selected".
Appreciate advice from anyone. Thanks in advance.
Oracle version. 8i Enterprise Edition Release 2
Scrip to create object and insert record:
CREATE TYPE stockitem_objtyp AS OBJECT (
STOCKNO NUMBER,
PRICE NUMBER,
TAXRATE NUMBER
CREATE TABLE stock_objtab of stockitem_objtyp (stockno primary key) object id primary key;
INSERT INTO Stock_objtab VALUES (1, 1000, 3);
select * from stock_objtab;
nullFirst, I suspect that this question probably belongs on the ODBC forum, since it doesn't appear to be at all related to the JVM.
That said, I don't seem to have any problem retrieving the data, either through ODBC or SQL*Plus. If you post your question to the ODBC forum, perhaps some other folks will be able to try this and we can narrow down the problem.
Justin Cave
ODBC Development -
Function based indexes on object tables
Hi,
I am trying to create a function based index on an object table. I am getting the following error:
SQL> create index cell1_indx on cell1(create_cell1(id)) indextype is mdsys.spatial_index;
create index cell1_indx on cell1(create_cell1(id)) indextype is mdsys.spatial_index
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13249: internal error in Spatial index: [mdidxrbd]
ORA-13249: Error in Spatial index: index build failed
ORA-13249: Stmt-Execute Failure: SELECT num_rows from all_tables where owner='ASHE' and table_name=
'CELL1'
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 7
ORA-06512: at line 1
Here cell1 is an object table.
Is the procedure for creating function based indexes on object tables different from relational tables?
ChinniOne of the many new features in Oracle 8i is the Function-Based Index (we will refrain from using FBI, but only just). This allows the DBA to create indexes on functions or expressions; these functions can be user generated pl/sql functions, standard SQL functions (non-aggregate only) or even a C callout.
A classic problem the DBA faces in SQL Tuning is how to tune those queries that use function calls in the where clause, and result in indexes created on these columns not to be used.
Example
Standard B-Tree index on SURNAME with cost based optimizer
create index non_fbi on sale_contacts (surname);
analyze index non_fbi compute statistics;
analyze table sale_contacts compute statistics;
SELECT count(*) FROM sale_contacts
WHERE UPPER(surname) = 'ELLISON';
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=3 Card=1 Bytes=17)
1 0 SORT (AGGREGATE)
2 1 TABLE ACCESS (FULL) OF 'SALES_CONTACTS' (Cost=3 Card=16 Bytes=272)
Now we use a function based index
create index fbi on sale_contacts (UPPER(surname));
analyze index fbi compute statistics;
analyze table sale_contacts compute statistics;
SELECT count(*) FROM sale_contacts WHERE UPPER(surname) = 'ELLISON';
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=2 Card=1 Bytes=17)
1 0 SORT (AGGREGATE)
2 1 INDEX (RANGE SCAN) OF 'FBI' (NON-UNIQUE) (Cost=2 Card=381 Bytes=6477)
The function-based index has forced the optimizer to use index range scans (retuning zero or more rowids) on the surname column rather than doing a full table scan (non-index lookup). Optimal performance does vary depending on table size, uniqueness and selectivity of columns, use of fast full table scans etc. Therefore try both methods to gain optimal performance in your database.
It is important to remember that the function-based B*Tree index does not store the expression results in the index but uses an "expression tree". The optimizer performs expression matching by parsing the expression used in the SQL statement and comparing the results against the expression-tree values in the function-based index. This comparison IS case sensitive (ignores spaces) and therefore your function-based index expressions should match expressions used in the SQL statement where clauses.
Init.ora Parameters
The following parameter must be set in your parameter file: QUERY_REWRITE_INTEGRITY = TRUSTED
QUERY_REWRITE_ENABLED = TRUE
COMPATIBLE = 8.1.0.0.0 (or higher)
Grants
Grants To create function-based indexes the user must be granted CREATE INDEX and QUERY REWRITE, or alternatively be granted CREATE ANY INDEX and GLOBAL QUERY REWRITE. The index owner must have EXECUTE access on the function used for the index. If execute access is revoked then the function-based index will be "disabled" (see dba_indexes).
Disabled Indexes
If your function-based index has a status of "disabled" the DBA can do one of the following:
a) drop and create the index (take note of its current settings)
b) alter index enable, function-based indexes only, also use disable keyword as required
c) alter index unusable.
Queries on a DISABLED index fail if the optimizer chooses to use the index.Here is an example ORA error:
ERROR at line 1: ORA-30554: function-based index MYUSER.FBI is disabled.
All DML operations on a DISABLED index also fail unless the index is also marked UNUSABLE and the initialization parameter SKIP_UNUSABLE_INDEXES is set to true.
Some more Examples
CREATE INDEX expression_ndx
ON mytable ((mycola + mycolc) * mycolb);
SELECT mycolc FROM mytable
WHERE (mycola + mycolc) * mycolb <= 256;
..or a composite index..
CREATE INDEX example_ndx
ON myexample (mycola, UPPER(mycolb), mycolc);
SELECT mycolc FROM myexample
WHERE mycola = 55 AND UPPER(mycolb) = 'JONES';
Restriction & Rule Summary
The following restrictions apply to function based indexes. You may not index:
a) LOB columns
b) REF
c) Nested table column
d) Objects types with any of the above data types.
Function-based indexes must always follow these rules:
a) Cost Based optimizer only, must generate statistics after the index is created
b) Can not store NULL values (function can not return NULL under any circumstance)
c) If a user defined pl/sql routine is used for the function-based index, and is invalidated, the index will become "disabled"
d) Functions must be deterministic (always return the same value for a known input)
e) The index owner must have "execute" access on function used in the function-based index. Revocation of the privilege will render the index "disabled"
f) May have a B-Tree and Bitmap index type only
g) Can not use expressions that are based on aggregate functions, ie. SUM, AVG etc.
h) To alter a function-based index as enabled, the function used must be valid, deterministic and the signature of the function matches the signature of the function when it was created.
Joel P�rez -
How to implement search help instead of match code objects table in program
Hi,
We are now in upgrade process of code remediation ( From 4.6c to EC6.0).
We have created search helps instead of matchcode object table. This match code object table M_VMVLC has been deleted
in EC6.0. And search help VMVLC is available.
In the program, they have used <M_VMVLC > -<fieldname> i.e. <tablename> - <fieldname> in declaring parameters,
in the 'into' clause of select statement, in the 'from' clause of select statement, in the 'write' statement.
I want to know how to replace this matchcode object table with the search help in the program.
Thanks,
Abirami.Hi,
Check the link
http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee2b446011d189700000e8322d00/content.htm
Regards,
Amit -
Insert/Update/Delete in forms6i using Objects table in Oracle9i server
I am using Oracle 9i server and dev 6i (forms6i).
i have a form based on Object tables (including REF's items). when i try to insert update, delete the reocrd in the form, it gives error.
Insert/Update/Delete failed because of OCI_22132: hexadecimal string does not corresopond to a valid REF.
when i remove REFs items from form (not from database) then it does all functions (insert,update,delete,query).
Actually i haved used this form with Oracle 8i and it did all functions(insert,update,delete,query). i am using the same tables and types definations in Oracle 9i but it is not working.
Note: Insert, Update, Delete, or Query is not being done through forms when using REFs items. Others tools like sql*plus are performing the same actions very well.
Please help.
I will be thankful to you.
M. Faisal.user563114,
As James (padders) told you in his reply to a similar question that you posted (Typed tables is treated in the same way as a relational table?) in the Typed tables is treated in the same way as a relational table? forum, the only way you can tell for sure is to try it out both ways, measure and compare the times.
Of-course, there are many factors that effect the time, apart from whether you use a nested table or a regular table.
Good Luck,
Avi. -
How to inherit attribute values in object tables?
I am trying to implement object inheritance with oracle 10g express. What i have done so far is created some types and subtypes. And some tables based on those types and sub types. So far i have understood that the subtypes inherit the attributes and methods from its super types.
But is there a way to inherit the attribute values from the object table of the super type to the object table of the sub type?
For example: The object O1 , explicitly labeled with (sIPO1 , wIPO1) , also inherits the intended purpose (sIPT 1 wIPT 1) from T1 . Similarly, the object O3 inherits the intended purposes from T3 , O1 and T1 . Note, however, that O2 , which is not labeled, inherits the intended purpose from T2 , but not from O1 nor T1 , as the intended purposes are not inherited through the reference-of relation.
_a visual of the above description [http://picasaweb.google.com/lh/photo/1YBAQbCMQMBmd8oyw9SyNw?feat=directlink]_
How can the types and objects be labeled as mentioned above? And how can these labels be made inheritable by the subtypes and objects based on those subtypes?
Possible Solution*
Only way which i could think of is using relational tables, like this: type_label(type_name, label1, label2) and a similar table table_label(table_name, label1, label2) for labeling the object tables. Then refer to these labels through some java programming. Will this be a right approach. I doubt that this will defeat the very intentions of the object database. And i hope there is a straight solution in Object Relational methods instead of java programming.
nested tables and vararrays... will using them help solving the above problem some how?From those examples i can see that although the nested tables will have the super type attributes and values with them, if i have to change those attribute values the values in the whole table gets changed.
is it possible to change the super type attribute values which is corresponding to the nested table values alone and not disturb the over all table? -
Database objects Tables, Views, Indexes not expand in Connections navigator
In SQL Developer tool when I clicked on any database object: Tables, Views, Indexes, Packages, Procedures, Functions, and Triggers none of them expands in Connections navigator so I am not able to see all tables, Views, Indexes in this schema objects.
Please advise
Thanks a lot
VincentIf the user you're connecting with is not the owner of the objects, you can access them through the Other Users node.
Hope that helps,
K.
Maybe you are looking for
-
How to use the update function using oracle eway
Hi All, I have to update one column in the table i.e table1 using the oracle eway otd for which I have written the code like below. otdRISKBLOCKVALUES.getRISKBLOCKVALUES().setBALANCE_AMOUNT( bd ); otdRISKBLOCKVALUES.getRISKBLOCKVALUES().update( sUpda
-
4:3, 16:9, and Youtube
Okay, I'm pretty sure that you can't fix these, but this would be good to fix for the next iMovie. I have some footage which is recorded in 4:3 and I also have an introduction from after effects which is HD 16:9. 16:9 is ideal because then there are
-
How to convert a key figure to Characteristic in BEx.
Hello Experts, I have a key figure of type Quantity unit Second. Is there are way that I can convert this to a characteristic in BEx so that I can use in restrictions (range). Thanks in anticipation. Cheers.
-
High level OBIEE diagram?
Hi, I'm wondering if anyone has a very high level OBIEE diagram, suitable for given new users a 10,000 foot view of the OBIEE system. I.e. something that shows browser talking to presentation services talking to BI Server talking to databases. Does a
-
Intermittent Kernel Panics - maybe related to iTunes? Something else?
I have been experiencing intermittent kernel panics the past few weeks - the ones where the screen goes grey and you get the message in multiple languages telling you that you have to restart your computer. I have been trying to figure out exactly wh