Follow-up table Oracle I/O
Hello
12 c, I ran, as they say here:
Oracle, followed of table I/O catio.sql sample_io io_per_object
$ORACLE_HOME/rdbms/admin/catio.sql, then:
SQL > SELECT * from io_per_object;
no selected line
What's wrong? Why no I/O statistics?
Thank you.
Catio.SQL is very 20th century. You can not get information better v$ segment_statistics?
Tags: Database
Similar Questions
-
Construction industry scheme Tables Oracle UK location?
Hello
Oracle UK location allows scheme for the Construction industry.
Can you please let me know the names of tables where the data is stored.
Kind regards
Lucy
Hi Lucie,.
The names of tables in this location must begin with IGI_CIS. I tried to run the following sql code:
Select the table table_name from dba_tables
where table_name like 'IGI % CIS % ';
And I got the following list:
TABLE-NAME
------------------------------
IGI_CIS_MTH_RET_PAY_GT
IGI_CIS_CDROM_HEADERS_T
IGI_CIS_CDROM_LINES_T
IGI_CIS_CERT_NI_NUMBERS_ALL
IGI_CIS_CI36_EXTRACT
IGI_CIS_CI36_PAYMENTS
IGI_CIS_MTH_RET_HDR_H_ALL
IGI_CIS_MTH_RET_HDR_T_ALL
IGI_CIS_MTH_RET_LINES_H_ALL
IGI_CIS_MTH_RET_LINES_T_ALL
IGI_CIS_MTH_RET_PAY_H_ALL
IGI_CIS_MTH_RET_PAY_T_ALL
IGI_CIS_PAYMENT_VOUCHERS_ALL
IGI_CIS_TAX_TREATMENT_H
IGI_CIS_VERIFY_HEADERS_H
IGI_CIS_VERIFY_HEADERS_T
IGI_CIS_VERIFY_LINES_H
IGI_CIS_VERIFY_LINES_T
You can try the same thing with the views in the dba_views (or all_views).
You can also use eTRM (electronic technical reference manual) for more details on the tables.
Kind regards
Cheryl
-
Generate the XML file with elements and attributes in table Oracle
Hello
I have the following table structure.
CREATE TABLE SPOOL
(
COIL_ID NUMBER (10),
COIL_NUMBER VARCHAR2 (40),
COIL_PO_OPERATING_UNIT VARCHAR2 (20).
COIL_PO_NUMBER VARCHAR2 (40),
MILL_NUMBER VARCHAR2 (2),
MILL_COIL_STATUS VARCHAR2 (15).
ITEM_NUMBER VARCHAR2 (40),
COIL_WEIGHT NUMBER (38),
WEIGHT_UOM VARCHAR2 (10),
DOCUMENT_NUMBER VARCHAR2 (40),
DATE OF DOCUMENT_DATE,
DOCUMENT_STATUS VARCHAR2 (15).
DOCUMENT_TYPE VARCHAR2 (20).
DOCUMENT_SOURCE VARCHAR2 (20).
TEST_ID NUMBER (38),
NUMBER VALUE,
TEST_UOM VARCHAR2 (20).
TEST_STATUS VARCHAR2 (70).
TESTER_LOGIN VARCHAR2 (20).
EQUIPMENT_CODE VARCHAR2 (50).
DOC_STS_MSG VARCHAR2 (600)
)
/
For each record COILID, there could be several folders baased on TEST_ID/VALUE/TEST_UOM etc.
And I would like to prepare the xml file in the following format by selecting data in the COIL?
<? XML version = "1.0"? >
-coil xsi: noNamespaceSchemaLocation = "www.tempel.com/COIL.xsd" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xdb = "http://xmlns.oracle.com/xdb" >
< CoilId > 1419532 < / CoilId >
< CoilNo > D2221050010A0 < / CoilNo >
Changzhou < CoilPOOperatingUnit > < / CoilPOOperatingUnit >
< CoilPONo > 4619 < / CoilPONo >
< MillNo > 86 < / MillNo >
Test of < MillCoilStatus > < / MillCoilStatus >
C5 050FP800 < ItemNo > < / ItemNo >
< weight > 7076 < / weight >
KILOGRAM of < GLU > < / UDM >
< DocumentNo > 0 < / DocumentNo >
< DocumentDate > 2013 - 01 - 11 < / DocumentDate >
< DocumentStatus > not < / DocumentStatus >
< DocumentType > test < / DocumentType >
CHIGMA1 < DocumentSource > < / DocumentSource >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4992" TestUnit = "mm" Status = 'NonProcessed' TestId = "135" / >
< test DocStsMsg = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.0128" TestUnit = "mm" Status = 'NonProcessed' TestId = "124" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "12" TestUnit = "mm" Status = 'NonProcessed' TestId = "125" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5095" TestUnit = "mm" Status = 'NonProcessed' TestId = "127" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5042" TestUnit = "mm" Status = 'NonProcessed' TestId = "128" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5058" TestUnit = "mm" Status = 'NonProcessed' TestId = "129" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4967" TestUnit = "mm" Status = 'NonProcessed' TestId = "130" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5049" TestUnit = "mm" Status = 'NonProcessed' TestId = "131" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4972" TestUnit = "mm" Status = 'NonProcessed' TestId = "132" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4960" TestUnit = "mm" Status = 'NonProcessed' TestId = "133" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4996" TestUnit = "mm" Status = 'NonProcessed' TestId = "134" / >
< / reel >
Can you please guide me how to do it in a single query?
Thanks in advance.Function EXTRACT will force a print in your version:
SELECT XMLElement("Coil", XMLAttributes( 'http://www.w3.org/2001/XMLSchema-instance' as "xmlns:xsi" , 'www.tempel.com/COIL.xsd' as "xsi:noNamespaceSchemaLocation" ) , XMLForest( COIL_ID as "CoilId" , COIL_NUMBER as "CoilNo" , COIL_PO_OPERATING_UNIT as "CoilPOOperatingUnit" , COIL_PO_NUMBER as "CoilPONo" , MILL_NUMBER as "MillNo" , MILL_COIL_STATUS as "MillCoilStatus" , ITEM_NUMBER as "ItemNo" , COIL_WEIGHT as "Weight" , WEIGHT_UOM as "UOM" , DOCUMENT_NUMBER as "DocumentNo" , DOCUMENT_DATE as "DocumentDate" , DOCUMENT_STATUS as "DocumentStatus" , DOCUMENT_TYPE as "DocumentType" , DOCUMENT_SOURCE as "DocumentSource" ) , XMLAgg( XMLElement("Tests", XMLAttributes( DOC_STS_MSG as "DocStsMsg" , EQUIPMENT_CODE as "EquipmentCode" , TESTER_LOGIN as "TesterLogin" , VALUE as "Value" , TEST_UOM as "TestUnit" , TEST_STATUS as "Status" , TEST_ID as "TestId" ) ) ) ).extract('/*') FROM coil GROUP BY COIL_ID , COIL_NUMBER , COIL_PO_OPERATING_UNIT , COIL_PO_NUMBER , MILL_NUMBER , MILL_COIL_STATUS , ITEM_NUMBER , COIL_WEIGHT , WEIGHT_UOM , DOCUMENT_NUMBER , DOCUMENT_DATE , DOCUMENT_STATUS , DOCUMENT_TYPE , DOCUMENT_SOURCE ;
-
Hi all
I followed the Oracle example
http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/ODI/odi_11g/odi_project_xml-to-table/odi_project_xml-to-table.htm
to load XML data into the Table.
Somewhere, I am unable to do step 5 (all previous steps if successful) under the "Creation of a new model ODI target.
where it asks to selection of the STAGE AREA TO TARGET DIFFERENT layout.
When I do all the interface's corrupt under the target data store, all columns have a red mark. Unable to understand what goes wrong? Any help is appreciated.
Thank you
-Ian.Hello
Connection to the Manager of topology---> tab physical architecture---> Expand technologies---> develop engine Sunopsis-> Open SUNOPSIS_MEMORY_ENGINE---> Goto context tab
If you do not get the Global context mapped with the logical schema can map it by going to the logical architecture---> technologies Expand tab---> develop engine Sunopsis---> rigth click on, then select Insert a logic diagram---> give a name to this logical schema and associate it with a context and a physical schema.
Thank you
Fati -
Result short - Show tables - Oracle
Hello
Thank you for reading my post.
Here's my question:
When I run the following command:
SQLPLUS > > select * from tab;
I get 4201 lines.
The database I use is 'demobld.sql.
This database contains - among the many above the tables-
the following tables:
-EMP,
-DEPT,
-BONUS,
-SALGRADE,
-MODEL.
I'm looking for a command (such as "SHOW TABLES" in MySQL) that
show me these tables only.
Can you tell me how to do this?
Thanks and good luck,
--
Lmhelp
[Oracle Database 11g Enterprise Edition Release 11.1.0.6.0]
P.S. at the end of the following Web page:
http://www.orafaq.com/wiki/SQL * Plus_FAQ
the output of the command "select * from tab;
is only three lines long.
Looks like it's an excerpt from the output of the command...
but it's the kind of result I wish I could get.Select *.
CAT;It will show you all the objects belongs to your schema.
employees of ESCR;
describe the table structures.
Concerning
Asif Kabir -
Keep the reason - stored in which table - Oracle Apps R12 release
Hi friends,
Every time that we let go of prey in Oracle applications, we give a 'Reaason' for this.
could you please help me, in which table its stored.
and once more, we give the reason and click 'Apply', event that would raise.
Help, please
Hello world. I found the answer...
Select release_reason_code, OE_HOLD_RELEASES a release_comment
-
table Oracle in a delimited text file
Hi all
How you export data from an oracle table to a delimited text file?, I think the answer should be used the exp tool and specify the delimiter in the control file. Please correct me of you to be sick. Thank you
Search for:
UTL_FILE
https://asktom.Oracle.com/pls/asktom/f?p=100:11:0:no:P11_QUESTION_ID:88212348059
See you soon,.
Manik.
-
What is better/more quick method to create a table (Oracle 11 g 2 dB)?
Assuming that there are no statistics for the source tables - tables are deleted and recreated every day
My paintings have a few million lines
I'm trying to create a filled with data as quickly as possible via
1 createtable_name as SELECT * from emp;
2. create table_name
Parallel degree 4
in SELECT * from EMP ;
I have 1 case I had some time 34 Sec
In case 2, the table was created in 15 Sec
In oracle other possibilities to create a much faster with this DEC?
Or it will be faster when I create a table using create table_name
(
column1datatype [NULL |] NOT NULL],
column2datatype [NULL |] NOT NULL],
...
column_ndatatype [NULL |] NOT NULL]
);
or maybe I should use this method
INSERT /*+ APPEND */ INTO empSELECT * FROM all_objects;
INSERT /*+ APPEND_VALUES */ INTO emp SELECT * FROM all_objects;
or it is better to simply creating a table
and to use the FORALL in BULK IN THE COLLECTION instruction
combination of Pentecost of the
INSERT / * + APPEND * / INTO emp;
I encourage you to test different options - as you did for the first two variants: personally, I think that it is much easier to remember these things if I did the tests myself - instead of trusting in the results of others. IE I don't think that there is something more fast parallelized ETG (perhaps with a clause (*)) additional nologging by using path direct inserts (although that INSERT APPEND select should do the same). I expect the operations in PL/SQL block to be slower.
(*), but you should consider the consequences of NOLOGGING for your backup strategies + recovery
-
Primary keys in Tables Oracle EBS Standard
Hello! I was checking a few standard EBS tables and I just found it odd that there is no primary keys in the columns which (I think) should be the primary key:
an exaple:
AP_INVOICE_LINES_ALL DESC;
Column name ID PK Null value? Data type By default Histogram INVOICE_ID 1 N NUMBER (15) Yes LINE_NUMBER 2 N NUMBER Yes LINE_TYPE_LOOKUP_CODE 3 N VARCHAR2 (25 bytes) Yes REQUESTER_ID 4 THERE NUMBER (15) Yes DESCRIPTION 5 THERE VARCHAR2 (240 bytes) Yes LINE_SOURCE 6 THERE VARCHAR2 (30 bytes) Yes ORG_ID 7 THERE NUMBER (15) NULL VALUE Yes LINE_GROUP_NUMBER 8 THERE NUMBER Yes INVENTORY_ITEM_ID 9 THERE NUMBER Yes ITEM_DESCRIPTION 10 THERE VARCHAR2 (240 bytes) Yes SERIAL_NUMBER 11 THERE VARCHAR2 (35 bytes) Yes MANUFACTURER 12 THERE VARCHAR2 (30 bytes) Yes GL_CODE_COMBINATIONS DESC;
Column name ID PK Null value? Data type By default Histogram CODE_COMBINATION_ID 1 N NUMBER (15) Yes LAST_UPDATE_DATE 2 N DATE Yes LAST_UPDATED_BY 3 N NUMBER Yes CHART_OF_ACCOUNTS_ID 4 N NUMBER (15) Yes DETAIL_POSTING_ALLOWED_FLAG 5 N VARCHAR2 (1 byte) Yes DETAIL_BUDGETING_ALLOWED_FLAG 6 N VARCHAR2 (1 byte) Yes ACCOUNT_TYPE 7 N VARCHAR2 (1 byte) Yes ENABLED_FLAG 8 N VARCHAR2 (1 byte) Yes I checked 11i and R12 versions of our Tables to EBS, but both contain primary keys.
Is this normal or just tell set primary keys?
Please notify.
Thank you!
PS.* I'm trying to settle our scripts and he is still running a full table scan, because it doesn't have a primary key.
Hello
This is the standard installation done by oracle at time of installation of EBS in your organization therefore does not necessarily create a new primary key or an index
on the table.
The key primary is a combination of unique key constraint not null, and if you look at the script or the definition of the table, you will get the already
Ed configuration not null not forced and a unique index on some of the columns required by oracle.
-
External table Oracle via the Tables API
Hello world
I did experiment with the Oracle NoSQL database recently and I became a bit stuck with the new API of Tables. I have so far successfully of the external tables on the data entered using storage techniques 'vanilla' KV and avro (using generic and specific links) scheme, but create API Tables seems to be another matter entirely.
My question arises in the trainer interface, which has a KeyValueVersion and a KVStore. I can't translate a KeyValueVersion created with the API of Tables in a primary key for recovery (since I don't know what the key generated by the API actually looks like to!) or map it on an avro scheme. The problem seems to be that the Tables API writes data in some format that can be easily translated into a string or an integer (releases from external table lines due to unknown characters if I am trying to retrieve all the values in the database to see what it looks like to), and try to map it to an AVRO map results in the error message 'the data are not as AVRO'.
Scenario:
I created a very simple table in the administration tool KV, which consists of a column personId (integer) that is PK, firstName, lastName, emailAddr (all channels) and enter 5 rows with success. What I want to do is to create an external table called person that returns just those 5 values (and brand new I add to the table of course). This means that I have to first understand what the parentKey value must be defined in the .dat file and how to take this key and it becomes a primary key for the recovery of the line.
Faithful old Google could not find information on how to do this (he was only a thread similar to this with the answer "we'll add it soon"), so I hope that someone here managed to do!
Thank you
Richard
Hi Richard
I understand the issue you are facing. In the current version (12.1.3.0.9) the external tables feature only works with records of K/V not with the Table model, however, in the next version (which us will very soon be GA) we will support integration of external tables with the data of Table model as well. Please make sure that you have signed up for the announcement of release so that we can inform you of the release. I apologize for the inconvenience, he did to you.
Best
Anuj
Sign up for announcements of NoSQL database , so we can warn you versions futures and other updates from the product of NoSQL database
-
Clarification from dependency table Oracle required
Hello team,
I have a temp table
create table temp (identification number, name varchar2 (100));
There are procedures, views, subsidies and public synonyms are dependednt on this table.
Please tell me if I drop and re-create the table with the same structure and constraints I also scripts for the procedure, the views, the synonymn compilation?
When I dropped and recreated the table with the same structure, including constraints. I found all the procedures,
views, synonymns are in an AUTHENTICATED State only. Script to grant the exception... I must issue again.
Please confirm
Thank you
S
If you deposit and create a table again with the same structure, including constraints, oracle will automatically manage all dependent objects.
-
Conversion of ore.list in an object table Oracle DB
Hello
I would like to know if there is a way to convert an array object ore.list and store it in the database? After using ore.groupApply (), we get the output grouped by a column 'Region '. I need to store it as a table in the Oracle database. In addition, I get error when using rqGroupEval().
I tried to use 2 methods below:
Method1: Embedded Script R - Interface D - used the script below
modlist <-ore.groupApply)
X = OOS_AGGR_FACT,
INDEX = OOS_AGGR_FACT$ PEP_REGION_ASM,.
{function (DAT)}
MOD <-lm (OOS_LOST_DOLLARS ~ DAY_OF_WEEK + STORE + PEP_BRAND + ITM_VELOCITY_CLUSTER + STR_VELOCITY_CLUSTER + OOS_REASON + DAYS_OF_SUPPLY, dat)
PRD <-predict (mod, dat = newdata)
PRD [As.Integer (rownames (PRD))] <-prd
cbind (dat, PRED = prd)
});
Result: Back o/p in the form of ore.list. How to convert this table and stores it as a table in the database?
Method2: Embedded Script R - SQL Interface
(1) created a packages such as:
create or replace package oos_pkg_1 as type rec is being rendered (VARCHAR2 'RECORD_DATE' (255), 'DAY_OF_WEEK' VARCHAR2 (255), 'STORE' VARCHAR2 (255), VARCHAR2 "PEP_REGION_ASM" (255), VARCHAR2 "PEP_BRAND" (255), VARCHAR2 "ITM_VELOCITY_CLUSTER" (255), VARCHAR2 "STR_VELOCITY_CLUSTER" (255), VARCHAR2 "OOS_REASON" (255), "DAYS_OF_SUPPLY", "OOS_LOST_DOLLARS" NUMBER); News from type is ref cursor return rec. end;
(2) created a function like:
create or replace function oosgroupeval_1
(inp_cur, oos_pkg_1.cur,
par_cur sys_refcursor,
out_qry varchar2,
grp_col varchar2,
exp_txt varchar2)
return the sys. AnyDataSet
parallel_enable in pipeline (inp_cur hash partition ("PEP_REGION_ASM"))
cluster inp_cur by ("PEP_REGION_ASM")
using rqsys.rqGroupEvalImpl;
(3) finally used the R script below:
Start
sys.rqScriptDrop ('OOS_LD_Prediction');
sys.rqScriptCreate ('OOS_LD_Prediction',
"{function (dat, datastore_name)}
MOD <-lm (OOS_LOST_DOLLARS ~ DAY_OF_WEEK + STORE + PEP_REGION_ASM + PEP_BRAND + ITM_VELOCITY_CLUSTER + STR_VELOCITY_CLUSTER + OOS_REASON + DAYS_OF_SUPPLY, dat)
PRD <-predict (mod, dat = newdata)
PRD [As.Integer (rownames (PRD))] <-prd
RES <-cbind (dat, PRED = prd)
}');
end;
/
Select *.
table (OOSGROUPEVAL_1)
cursor (select day_of_week, store, pep_region_asm, pep_brand, itm_velocity_cluster, str_velocity_cluster, oos_reason, days_of_supply, oos_lost_dollars
of oos_aggr_fact).
cursor (1 select as "ore.connect", "LP" as "datastore_name" of the double).
' select day_of_week, store, pep_region_asm, pep_brand, itm_velocity_cluster, str_velocity_cluster, oos_reason, days_of_supply, oos_lost_dollars, 1 PRED
to oos_aggr_fact ',
"PEP_REGION_ASM,"
'OOS_LD_Prediction'));
Result: Error like below
Error in "contrasts <-' (' * tmp *', value = contr.funs [1 + isOF [nn]]):
contrasts can be applied only to drivers with 2 or more levels
Can you get it someone please let me know if I am missing something in the above 2 methods?
Namrata
In ore.groupApply, use the PLEASURE. VALUE as a model for the return value. Example: similar to your ore.groupApply using the iris of build-in data frame
# Send data frame iris to IRIS database table
Ore.Create (iris, "IRIS")
test<- ore.groupapply(iris,="">->
{function (DAT)}
#library (ORE)
# ore.connect ("rquser", "main", "localhost", "rquser", all = TRUE)
species<->->
MOD<- lm(sepal.length="" ~="" sepal.width="" +="" petal.length="" +="" petal.width,="">->
PRD<- predict(mod,="" newdata="">->
PRD [As.Integer (rownames (PRD))]<->->
Data.Frame (species = species,
PRED = prd,
stringsAsFactors = FALSE)
},
fun. VALUE =
Data.Frame (species = character(),
PRED = numeric(),
stringsAsFactors = FALSE),
parallel = TRUE)
# Save the results in the TEST database
Ore.Create ("TEST" test)
-
Em table Oracle forms 9i colocando mode hand (Lock)
Senhores estou com um problema as estou tentando mapear wave vem a causa e:
Em some momento uma image bem utilizizada esta com um Lock TM mode or seja bloqueando Share becoming a para toda image update, insert delete e...
I have 4 options than ones com essa image e our 4 todos are com forms a primary key coluna setada na... real property para...
O that deve ter of wrong nesses form para esse tipo locking acontecer?
TEM algo as devo olhar a but?the user can retrieve all the records?
When you retrieve a change request no matter what field the same block, function element table or not of the same block?
If Yes this block all records, perhaps Oracle think is most effective locks all the table -
Table Oracle continues to expand and do not reuse space
Before I opened a SR with Oracle, I thought I'd use this forum for help with this answer.
We have a large table that gets 1-2 m inserts a day while serving m 1-2 rows per day that are 30 days old. The table remains stable, lines 55-60 m, but the table continues to grow daily concerts.
The tablespace uses SAMS and here is the presentation of the table:
CREATE TABLE owner1.a
(
col1 VARCHAR2 (20 BYTE) NOT NULL,
col2 NUMBER (3) NOT NULL,
COL3 VARCHAR2 (4000 BYTE),
COL4 VARCHAR2 (24-BYTE),
col5 VARCHAR2 (4000 BYTE)
)
TABLESPACE one
PCTUSED 0
PCTFREE 3
INITRANS 50
MAXTRANS 255
STORAGE)
64K INITIALS
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
I know that rebuild the table is going to reclaim space, but we try to understand why he keeps more and re-use only no space between the deleted segments. We want to address the issue, then you should never rebuild the table...
Thank you
Shawn
Published by: 901337 on December 8, 2011 09:38INSERT / * + APPEND * /.
above adds new above existing lines of high waters
Application code includes hint APPEND to accelerate INTEGRATION?
-
Change data type for the column in a table - Oracle 8i
Team,
I need to change a VARCHAR2 column in number.
ALTER table xyz change number abc;
By giving the above statement, it says I need empty this column before you change.
I can't change the data type before emptying this column.
Please indicate any other solution. Give me some suggestions.
Empty the column for me here BIG task.user11081688 wrote:
I can't change the data type before emptying this column.Not according to the documentation:
You can change the data type of any column or decrease the size of the entire column if all rows in the column contains NULL values.
Please indicate any other solution. Give me some suggestions.
You can add another column with the correct data type.
ALTER TABLE xyz ADD COLUMN def NUMBER; UPDATE TABLE xyz SET def = TO_NUMBER(abc); ALTER TABLE xyz DROP COLUMN abc; ALTER TABLE xyz ADD COLUMN abc NUMBER; UPDATE TABLE xyz SET abc = def; ALTER TABEL xyz DROP COLUMN xyz;
If I remember correctly, Oracle 8i does not support the change of name of column if this solution is a bit more complicated than 9i and above. Another option would be to create a new table with CREATE TABLE AS... SELECT, drop the old one and rename a new one to the old.
Maybe you are looking for
-
How can I delete a rogue email without opening it?
Sometimes I receive unsolicited emails from parties and I do not know how to remove them without opening the emails said.
-
LabVIEW is randomly down 4 or 5 bytes from front of sequential readings
I posted this topic in the forum, VISA, but there seems to be no traffic, and this seems to be a problem of software anyway. I have a serial device that is supposed to echo all commands and then send it to arrive at an answer firther. My problem is t
-
will not install updates and can't download anything on Web sites
Windows Update Error 80070002 ccL60U.dll was not found. Mfc71.dll is not found = ATC Voicepack SDKHpQuickplay has stopped working = ATC Voicepack SDKHPRun has stopped working = ATC Voicepack SD I tried every suggesstions on the microsoft Web site, di
-
Windows Live Mail 2012: Send and receive Gmail but my other account will receive only.
I have two email accounts in my Windows Live Mail: Gmail and the other through my nephew of the new server. The gmail account's sent and received on my Windows 7 PC, but it will only receive but not send. He put WLM 2012 on his windows computer with
-
even and odd numbers with level
Hi Master,I tried to display numbers with level like that...Select the level from dual connect by level < = 10;12345678910How to display odd and even numbers with level. I tried with mod(level,0) but does not work very well.Please notify.ConcerningSA