EA 2.1 desc of altered type doesnt display correct result
In SQL developer I created a type:
CREATE TYPE d AS VARRAY(10) OF NUMBER(5,2);
TYPE D compiled
And then a table based on the type
CREATE TABLE e (kx d);
CREATE TABLE succeeded.
Then i altered the type:
ALTER TYPE d MODIFY ELEMENT TYPE NUMBER(7,3)
CASCADE NOT INCLUDING TABLE DATA;
ALTER TYPE d succeeded.
When i then describe type D in SQL Developer i get a strange result:
desc d
user type definition
TYPE d AS VARRAY(10) OF NUMBER(5,2)
ALTER TYPE d MODIFY ELEMENT TYPE NUMBER(7,3)
CASCADE NOT INCLUDING TABLE DATA d VARRAY(10) OF NUMBER(7,3)
in SQL Plus i get :
d VARRAY(10) OF NUMBER(7,3)
kind regards
Jeroen van Geelen
This is not an EA2 issue nor indeed deemed to be a bug.
We had a bug logged initial on being able to support describing Types in the SQL Worksheet and then on making this the same as in SQL*Plus. The bug dates back to the initial days of SQL Developer. The outcome and subsequent closure of the bug is to support more detail, as you have seen, in SQL Developer, than that provided in SQL*Plus, with the conclusion that the DDL is deemed more beneficial than the result given by SQL*Plus.
Sue Harper
PM
Similar Messages
-
Type not displaying correctly when publishing
I have a Flash MX file which I created a couple of years ago.
I edited it (in MX) and when I published the .swf, the type only
displayed every other letter or so. Any one know what the problem
is and how to fix it. The type face was Avante Garde Italic, if
that matters.Ignore. Have found out it was down to paths. Sorted
-
I have an Ultrathin Keyboard Cover for iPad2. It will not type the correct character when pressing SHIFT + most of the number keys. (SHIFT + 1 and SHIFT + 4 display correctly with ! and $). The iPad was updated to iOS 8.1.2 yesterday, but that did not aleviate the problem.
Suggestions??What did Logitech say when you contacted them?
-
Integer Data Type not displayed correctly in Interactive Report
Hi,
When creating a report using BI Publisher 11.1.1.6.2 it appears that any of my fields that contain Integer values (regardless of the order in which the field is displayed) do not correctly display - instead they are displayed as NULLs with the occasional value in a field.
This is only apparent when displaying the report using the Interactive viewer - when selecting another method (i.e. HTML, Excel etc) they appear correctly.
Has anyone come across this before?
ThanksHi Craig
Did you find a solution for this issue? we have same exact issue. Please let me know
Thanks
slokam -
Javascript doesnt display correctly in Safari 1.3.2
I'm a fledgling web designer, and developed a site for an artist. An associate of mine provided me with a php script for a thumbnail viewer, with a scrollbar on the left for viewing the thumbnails -- when you click on a tn, the image appears larger in the viewer window.
Safari 1.3.2 makes the thumbnails run off the bottom of the page and enlarges the viewer module instead of displaying the scrollbar. (As luck would have it, that's the browser my client uses.)
Is there a fix that will make Safari 1.3.2 display my viewer correctly?Hi,
Firstly, I make no claims to know anything about JavaScript etc so if this info is no use, apologies in advance
http://developer.apple.com/internet/webcontent/eventmodels.html
That page has some information but I'm not sure if it's exactly what you are after. If you haven't already you may want to have a search around developer.apple.com. -
Firefox 6 doesnt display correctly on my 42" widescreen at resolution 1600x1024
I recently bought a 42" widescreen and set my resolution to its native 1600x1024 and now the page is shrunk in the center of the screen making it very difficult to read. I dont have any issues with Internet Explorer or any of my other programs. all my drivers are up to date. please help with a solution soon thank you.
You can use an extension to set a default font size and page zoom on web pages.
*Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/ -
Pic in coverflow from itune 9.2 doesnt display correctly
http://www.postimage.org/image.php?v=TsIE4dr
see image. How to fix the problem?I haven't had this issue. I'd download a program such as Media Monkey to see what the resolution of artwork is. Generally an image that is 600X600 will be of excellent quality in iTunes. Other than that, it could be a rare bug.
Have you tried removing the artwork from one song/audiobook and right clicking on it and choose "Get album artwork" to see if that resolves the issue? -
Youtube doesnt display correctly
When i opet youtube in firefox it shows like this http://img97.imageshack.us/img97/8370/captureas.jpg
in ie it oppens regulary only in firefox i have thsis problem, how to fix it?* "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
* "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]] -
Alter type in 8.1.7
hi everyone.
i'm using the alter type statement as seen in ora92 help to work with my types written and implemented in an 8.1.7 database and its retrieving an missing or invalid option error everytime. is there some difference between 8i and 9i statements I should be aware off before trying to alter types?
Merci.-There's quite a lot of difference between the 8i syntax and the 9i syntax. So you may want to compare the docs closely.
Cheers, APC -
Alter type to increase varray size
I have the following:
CREATE OR REPLACE TYPE idvarray is varray(10) of INTEGER
CREATE TABLE event_availability_map
, event_id_list idvarray
I would like to increase the size of idvarray, how can I do this?Stephen,
With pre-10g releases, you can declare the varray to be of a large size to accomodate future growth. Oracle allocates storage based on actually used sizes.
With 10g release, you can issue 'alter type' statement to raise the varray size limit (http://download-west.oracle.com/docs/cd/B13789_01/appdev.101/b10799/adobjcol.htm#sthref310).
Regards,
Geoff -
ALTER TYPE MODIFY ATTRIBUTE cascade including table data
Hi,
does anybody know, why I get "ORA-00932: inconsistent datatypes: expected REF TYPE1_T got REF TYPE1_T"
after ALTER TYPE MODIFY ATTRIBUTE cascade including table data when the altered type contains a nested table of type REFs.
according to the documentation this should work? This works when the type contains a nested table of types!
ORACLE Version: 9i EE 9.2.0.3.0 64 bit
OS: HP-UX 11
-- create type1
CREATE OR REPLACE
TYPE TYPE1_T AS OBJECT
T1COL1 NUMBER,
T1COL2 VARCHAR2(35),
TYPE2REF REF TYPE2_T
-- create coll of type1 refs
CREATE OR REPLACE
type TYPE1COLL_T IS TABLE OF REF TYPE1_T
-- create type2
CREATE OR REPLACE
TYPE TYPE2_T AS OBJECT
T2COL1 NUMBER,
TYPE1COLL TYPE1COLL_T
-- create table of type1_t
CREATE TABLE TYPE1_OTB OF TYPE1_T
-- create table of type2_t
CREATE TABLE TYPE2_OTB OF TYPE2_T
nested table type1coll store as type1coll_ntb
-- populate type1_otb
INSERT INTO type1_otb
VALUES(1, 'ABCDEF',NULL);
-- populate type2_otb
INSERT INTO type2_otb
VALUES(1,TYPE1COLL_T());
select * from type1_otb;
T1COL1 T1COL2
TYPE2REF
1 ABCDEF
select * from type2_otb;
T2COL1
TYPE1COLL
1
TYPE1COLL_T()
ALTER TYPE type1_t MODIFY ATTRIBUTE t1col2 varchar2(50) cascade including table data;
Type altered.
select * from type1_otb;
T1COL1 T1COL2
TYPE2REF
1 ABCDEF
select * from type2_otb;
select * from type2_otb
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected REF TYPE1_T got REF TYPE1_THi John,
I am also facing the same problem after executing the command
SQL> alter type product_object modify attribute (NAME VARCHAR2(80)) cascade;
with the following error
ORA-00932: inconsistent datatypes: expected REF WOLFOBJECTS.EMPLOYEE_OBJECT got
WOLFOBJECTS.EMPLOYEE_OBJECT
Could you please suggest any alternate or workaround for this issue?
Thanks
Sara -
Alter type to add a member function
Hello,
I have Oracle 9i r2 and I really nedd to add a member function into an Object that is associated to other.
My Object spec is this:
TYPE CM_CTRL_CM AS OBJECT
lo_Ent_CM CM_Ent_CM,
member function IniEntCM(self in out CM_Ctrl_CM) return integer
I do this to add a member function:
alter type CM_Ctrl_CM add member function FijDatCM(ao_DatCM in CM_DatCM) return integer cascade ;
And as the result I get the nex the Object Spec:
TYPE CM_CTRL_CM AS OBJECT
lo_Ent_CM CM_Ent_CM,
member function IniEntCM(self in out CM_Ctrl_CM) return integer
alter type CM_Ctrl_CM add member function FjDatCM(ao_DatCM in CM_DatCM) return integer cascade
As you can see, all the alter type statement is added at the end of my Object Spec wich cause a compilation error and the object get invalid.
I need to know how to add a member function. It's very important for the my project successfull.
Thanks.
Luis SilvaAnd as the result I get the nex the Object Spec:
TYPE CM_CTRL_CM AS OBJECT
lo_Ent_CM CM_Ent_CM,
member function IniEntCM(self in out CM_Ctrl_CM) return integer
alter type CM_Ctrl_CM add member function FjDatCM(ao_DatCM in CM_DatCM) >> return integer cascade
/**************************************************************************************/Fnord. What is this supposed to mean?
Let me introduce you to a very technical skill known only to the illuminati: cut'n'paste. Using this skill you will be able to transmit information across great differences.
To use cut'n'paste:
(1) Open a reply to this message.
(2) Run your code in SQL*Plus.
(3) Highlight the code and the feedback and use the editor command to cut the code.
(4) Return to the forum and use the editor command to paste the result.
(5) Post
See what you've posted obviously is not from SQL*Plus. Maybe it's some other IDE. But we're stupid. If you show us output from SQL*Plus we can diagnose the problem otherwise we're flying blind.
Oh, and please include the code for CM_Ent_CM, as we can't run your SQL without it.
Cheers, APC -
About the syntax of the ALTER TYPE.
Hi, everybody:
1. Would you teach me, the syntax of the alter type statement to modify one user-define constructor of the type, the type has been used to a table or a subtype?
2. Would you teach me, the syntax of the alter type statement to add one user-define constructor?Here are the docs for it:
http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_43a.htm#2057830
Tom Best -
When i try to download an update from the appstore the dropdown menju automatically inserts my apple id (which is wrong). It's in gray and will not allow me to type in the correct id. How do i stop the auto insert so that i can enter the correct id?
the original apple id was entered incorrectly. Apple says it must be a email address. My email address is correct but the letter ( t ) somehow got added to the (.com) so that when i try to enter my id it is automaticly loaded with the email address the ends ( .comt ) . According to Apple this is not a "legal" email id. But it appears on my dropdown in gray and i cannot alter it or delete it, thus preventing me from downloading software updates.
-
When i type in my correct password on the login screen and press enter it just goes to a blue screen for a few seconds then goes back to the same login screen again, please i need help?
You can take some of the steps here, #4, #5 or even trying a #18
Step by Step to fix your Mac
but I suspect your going to first have to create a data recovery drive
Create a data recovery, undelete boot drive
to get your data off the machine,
then do a #20 to eliminate the bad sectors as that's why your getting the "pinwheel" it's getting a delay reading from the drive, right when your trying to log in too, what a bad spot for it to happen.
Step by Step to fix your Mac
Maybe you are looking for
-
Nokia Issues in the Enterprise
I have (2) Nokia clients that are unable to connect to the enterprise WLAN. Client Data: Nokia N8 Symbian Belle Nokia N900 running Maemo5 Wireless Setup: WiSM2s running 7.0.230 APs: 1142 & 3500 WPA2 Enterprise AES PEAP/MSCHAPv2 Certificate is with Ge
-
Can send but not reply or forward on all mobile devices
Hi all, I have a 2013 environment with MDM also in place. Just recently all mobile devices (iOS, Android, Windows OS) have stopped being able to reply or forward to emails on their mobile device. Nothing has changed in the environment that I'm aware
-
I have a list of 100,000 + names and I need to append to that list another 100,000 names. Each name must be unique. Currently I iterate through the entire list to be sure the name does not exist. As you can imagine this is very slow. I am new to Java
-
Some useful info about TV codes for black remote h...
Hi, apologies in advance if somebody has already posted this information, but for those people (myself included) who have tried in vain to find the correct code to enable you to use your handset to operate your television - put an extra zero in front
-
Porting type 1 adobe fonts from win xp to mac
I have several type 1 postscript fonts (purchased from Adobe in 1999) on my pc and want to install them on my mac OSX 10.6.7. I brought one font onto the mac desktop and the file extension automatically switched from .pfm to .pfb (which I assume is w