ORA-04089: cannot create triggers on the objects belonged to SYS
I did a google on this error and it say that I should never get to anything to do with the system and also to make another account when executing my script, I did this, but I still get the error code and the error is less than
REM **********************************************************************
CREATE TABLE gam_attribute_bin (/ * gam_ab * /)
attribute_owner_type char (1) NOT NULL, / * player Att, Att User Instance Att Att class.
Class criteria, client static/Gulp * /.
ATTRIBUTE_NAME VARCHAR2 (20) NOT NULL,
owner_id NUMBER (10) NOT NULL, / * specific check-in attribute_owner * /.
LONG RAW NULL binary_value
) TABLESPACE gam_lgtab STORAGE (INITIAL 256 K NEXT 256 K MAXEXTENTS PCTINCREASE 0 unlimited)
/
ALTER TABLE gam_attribute_bin ADD)
CONSTRAINT gam_attribute_bin_pk
UNIQUE (attribute_owner_type, owner_id, attribute_name)
USING INDEX
TABLESPACE gam_ind
STORAGE (INITIAL 256 K NEXT 256 K MAXEXTENTS PCTINCREASE 0 unlimited)
)
/
Suppression of REM binary attribute when necessary
CREATE TRIGGER gam_att_delete
AFTER YOU REMOVE gam_attribute
FOR EACH LINE
BEGIN
IF (: old.attribute_data_type = 'B')
THEN
DELETE FROM gam_attribute_bin
WHERE attribute_owner_type =: old.attribute_owner_type
AND attribute_name =: old.attribute_name
AND owner_id =: old.owner_id;
END IF;
END;
/
ERROR on line 1:
ORA-04089: cannot create triggers on the objects belonged to SYS
hope someone can help me clear this up thanks
Hello
You code works very well for me. I had to change to run on my system tablespaces, but otherwise, what you posted worked for me when I tried (in a different schema than SYS, of course).
Tags: Database
Similar Questions
-
ORA-02327: cannot create indexes on the LOB data type expression
DB 10.2.0.4
DB 5.2
I am not able to move lobindex and lobsegment. While try occurs below error
SQL > ALTER INDEX dev. "" SYS_IL0000718396C00002$ $"REBUILD THE TABLESPACE DATA_TEMP;
ALTER INDEX dev. "" SYS_IL0000718396C00002$ $"REBUILD TABLESPACE DATA_TEMP
*
ERROR on line 1:
ORA-02327: cannot create indexes on the LOB data type expression
Thank you
Published by: user13382934 on October 16, 2012 14:05correct syntax is
ALTER TABLE.MOVE the LOB (
)
STORE AS (tablespace); Where
is a name of the / columns LOB, not the name of the segment. Moving type LOB data will move its indexes as well. -
ORA-39080: cannot create queues during the backup from the rman catalog
Hello
I am trying to upgrade my database 10 g and 11 g and I'm trying to back up my rman catalog. However, I get an error. Can someone help me please-
That's what I give-
nohup expdp DIRECTORY = EXPORT_DIR userid=rman/adc1243@rmandb full = y job_name = full_rmandb_upg_exp DUMPFILE=EXPORT_DIR:rmandb_upg_exp%U_20100618.dmp LOGFILE = PARALLEL EXPORT_DIR:rmandb_upg_exp_20100618 = 3 &
and I get this-
Oracle @ < progd1 >: / home/oracle $tail f nohup.out
ORA-31626: there is no job
ORA-31637: could not create user RMAN FULL_RMANDB_UPG_EXP work
ORA-06512: at "SYS." DBMS_SYS_ERROR', line 95
ORA-06512: at "SYS." "KUPV$ FT_INT", line 600
ORA-39080: cannot create queues ' KUPC$ C_1_20100618202950 ' and ' KUPC$ S_1_20100618202950 ' to Data Pump task
ORA-06512: at "SYS." DBMS_SYS_ERROR', line 95
ORA-06512: at "SYS." ' KUPC$ QUE_INT ', line 1606
ORA-04031: unable to allocate 56 bytes of shared memory ('pool feed', 'unknown object', 'pool feed', 'set the allocation callback')ORA-04031: unable to allocate 56 bytes of shared memory ('pool feed', 'unknown object', 'pool feed', 'set the allocation callback')
04031, 00000, "unable to allocate %s bytes of shared memory (\"%s\",\"%s\",\"%s\",\"%s\")" // *Cause: More shared memory is needed than was allocated in the shared // pool. // *Action: If the shared pool is out of memory, either use the // DBMS_SHARED_POOL package to pin large packages, // reduce your use of shared memory, or increase the amount of // available shared memory by increasing the value of the // initialization parameters SHARED_POOL_RESERVED_SIZE and // SHARED_POOL_SIZE. // If the large pool is out of memory, increase the initialization // parameter LARGE_POOL_SIZE.
Stream uses system global area (SGA) memory to store the information required to capture and apply. To allocate memory from the SGA for use by water courses, establish a flow pool in the SGA by specifying the STREAMS_POOL_SIZE parameter. The default value for this setting is 0, which means that the stream instead uses the shared pool memory. If you leave the STREAMS_POOL_SIZE to its default value (0), water courses will be considering using up to 10 percent of the SHARED_POOL_SIZE, then Oracle recommends at least 200 MB for the STREAMS_POOL_SIZE parameter. The source and destination databases must take account of this memory in the SGA.
Published by: sb92075 on June 18, 2010 19:17
-
ORA-19504: cannot create the file '+ DATA '.
Hello everyone.
This is the scenario:
We have a test server that is used to restore daily backups of the Production database. Restore us the database with the same SID as the production one.
For specific reasons, we need create a second database (with a different SID) on this server with an older backup from the production one. To realize that I'm trying to use a part of the "DUPLICATE without connection to the target" tutorials on the web.
I tried the simple guide that I found which is:
(1) copy the backup files cold /somedirectory
(2) start OLD database with nomount
(3) connect RMAN with OLDER as an auxiliary
(4) run the following: DUPLICATE DATABASE FOR OLD BACKUP LOCATION ' / somedirectory' NOFILENAMECHECK.
Here's the result (I deleted some lines because of the size of it):
----------------------
RMAN > ProdDB to OlderDB DUPLICATE DATABASE
2 > LOCATION of BACKUP "/ home/oracle/OlderBackupFiles.
3 > NOFILENAMECHECK.
4 >
From October 1, 14 Db double
content of Script memory:
{
clone of SQL 'alter system set control_files =
"+DATA/OlderDB/controlfile/current.829.859839217" comment =
' Set by RMAN "scope = spfile;
clone of SQL 'alter system set = db_name
"ProdDB" comment =
' Modified by RMAN duplicate "scope = spfile;
clone of SQL 'alter system set db_unique_name =
"OlderDB" comment =
' Modified by RMAN duplicate "scope = spfile;
clone to stop immediately;
Start clone force nomount
Restore controlfile primary clone of ' / home/oracle/OlderDB/controlfile_ProdDB_20141001_4159.bkp';
change the clone database mount;
}
execution of Script memory
SQL statement: alter system set control_files = comment "+DATA/OlderDB/controlfile/current.829.859839217" = "defined by RMAN" scope = spfile
SQL statement: change the system db_name set = comment "ProdDB" = "modified by RMAN duplicate" scope = spfile
SQL statement: alter system set db_unique_name = comment "OlderDB" = "modified by RMAN duplicate" scope = spfile
(...)
From restoration to 1 October 14
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID = 191 type device = DISK
channel ORA_AUX_DISK_1: restore the control file
channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:03
output file name=+DATA/OlderDB/controlfile/current.829.859839217
Restoration finished in October 1, 14
mounted database
output channel: ORA_AUX_DISK_1
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID = 191 type device = DISK
content of Script memory:
{
until the SNA 274262921.
the value of newname for datafile clone 1 again;
the value of newname for datafile clone 2 again.
the value of newname for datafile clone 3 again.
the value of newname for datafile clone 4 new ones;
the value of newname for datafile clone 5 again.
the value of newname for datafile clone 6 again.
the value of newname for datafile clone 7 again.
restoration
database clone;
}
(...)
From restoration to 1 October 14
using the ORA_AUX_DISK_1 channel
channel ORA_AUX_DISK_1: from the restore backup set data file
channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set
channel ORA_AUX_DISK_1: restore datafile 00001 to + DATA
channel ORA_AUX_DISK_1: restore datafile 00002 to + DATA
channel ORA_AUX_DISK_1: restore datafile 00003 to + DATA
channel ORA_AUX_DISK_1: restore datafile 00004 in + DATA
channel ORA_AUX_DISK_1: restore datafile 00005 to + DATA
channel ORA_AUX_DISK_1: restore datafile 00006 to + DATA
channel ORA_AUX_DISK_1: restore datafile 00007 to + DATA
channel ORA_AUX_DISK_1: reading from the backup /home/oracle/OlderDB/database_ProdDB_20141001_4157.bkp piece
channel ORA_AUX_DISK_1: ORA-19870: error when restoring the backup /home/oracle/OlderDB/database_ProdDB_20141001_4157.bkp piece
ORA-19504: cannot create the file '+ DATA '.
ORA-17502: ksfdcre:4 cannot create the file + DATA
ORA-15041: diskgroup space 'DATA' exhausted
switch to the previous backup
Oracle instance started
(...)
content of Script memory:
{
clone of SQL 'alter system set = db_name
"OlderDB" comment =
' Restore the original value by RMAN "scope = spfile;
clone of SQL 'alter system reset db_unique_name scope = spfile;
clone to stop immediately;
}
execution of Script memory
Errors in the script of the memory
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06136: the auxiliary database ORACLE error: ORA-01507: database not mounted
ORA-06512: at "SYS." "X$ DBMS_RCVMAN ', line 13466
ORA-06512: at line 1
RMAN-05556: not all data files have backups can be recovered on SNA 274262921
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06023: no backup or copy of the file 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command duplicate Db at 15:39:11 01/10/2014
RMAN-05501: abandonment of duplicate target database
Complete recovery manager.
------------------------------------------------------------------
The first mistake of the stack was ORA-19504 while trying to restore the backup of the database.
First thing I took a glance was ASM occupation but it enough available space.
The second was a permission problem, but it doesn't seem to be the case because RMAN can correctly write the controlfile to ASM.
One have some advice on what I should look for?
Thanks in advance sorry for my English.
Select this option.
Hello.
Thanks, but is not the case. As I have said, that the DATA diskgroup has space enough he uses only a single disk in a RAID.
But I solved my problem... To the auxiliary database, I added the following to the spfile:
DB_FILE_NAME_CONVERT = '+ DATA/ProdDB', '+ DATA/OlderDB ".
LOG_FILE_NAME_CONVERT = '+ DATA/ProdDB', '+ DATA/OlderDB ".
I don't know why, but with these two clauses, it worked well. Perhaps RMAN was trying to restore it to the wrong place?
-
ORA-12913 cannot create the dictionary managed during import tablespace
Greetings,
I'm a newbie om moving databases between servers.
I get the following error: "ora-12913 cannot create tablespace dictionary managed" when executing the data pump import. It is a 10.2.0.4 database that I'm moving from HP - UX PA-RISC to HP-UX-Itanium. It seems that all managed tablespaces locally were ok. Some of the successful dictionary tablespaces had problems (DRSYS, INDX, RBS, TOOLS)
Should I convert all tablespaces dictionary managed locally managed tablespaces before data pump export/import? Note that this is a very small database with little use, then what better practical performance I'd like to hear.
Thanks colin
Published by: YJC on Aug 17, 2010 15:16>
(1) should all be converted to Locall managed?
(2) can the RBS safely deleted, given that an UNDO tablespace that uses the DB.
>Only the SYSTEM will have to be migrated to managed locally. The RBS tablespace can be deleted if there is a separate UNDO tablespace and the database uses undo automatic management.
HTH
Srini -
Cannot start db >; ORA-09925: cannot create the audit trail file
version 10.1.0.5.0
AIX 3 5 00C9CEA04C00 dcxnim01
When I'm trying to start db, getting this message any idea?
SQL > connect virtue sysdba;
ERROR:
ORA-09925: cannot create the audit trail file
IBM AIX RISC System/6000 error: 89: invalid file system control data detected
Additional information: 9925
ORA-09925: cannot create the audit trail file
IBM AIX RISC System/6000 error: 89: invalid file system control data detected
Additional information: 9925
Here's the tail of the log of alerts
3 Private_strands to the log command
Thread 1 Advanced for you connect to sequence 3923
Currently journal # 1, seq # 3923 mem # 0: /db01/oradata/ldapdcx1/ldapdcx1/redo01.log
Fri 6 Aug 16:48:34 2010
Errors in the /oracle/admin/ldapdcx1/bdump/ldapdcx1_j001_991348.trc file:
[ORA-07445: exception encountered: core dump [] [] [] [] []]
Fri 6 Aug 16:48:35 2010
Errors in the /oracle/admin/ldapdcx1/bdump/ldapdcx1_mmnl_508106.trc file:
[ORA-07445: exception encountered: core dump [] [] [] [] []]
Fri 6 Aug 16:48:38 2010
Errors in the /oracle/admin/ldapdcx1/bdump/ldapdcx1_ckpt_839714.trc file:
[ORA-07445: exception encountered: core dump [] [] [] [] []]
ORA-27072: IO file error
IBM AIX RISC System/6000 error: 5: i/o error
Additional information: 9
Additional information: 3
Fri 6 Aug 16:48:38 2010
Errors in the /oracle/admin/ldapdcx1/bdump/ldapdcx1_lgwr_905470.trc file:
[ORA-07445: exception encountered: core dump [] [] [] [] []]
ORA-27063: number of bytes read or written is incorrect
IBM AIX RISC System/6000 error: 5: i/o error
Additional information:-1
Additional information: 1024
Fri 6 Aug 16:49:07 2010
Errors in the /oracle/admin/ldapdcx1/bdump/ldapdcx1_pmon_848078.trc file:
ORA-00470: LGWR process ended with the errorIBM AIX RISC System/6000 error: 5: i/o error
Additional information:-1Problem of the OS.
What is the problem at the level of the BONE with the disc?unpacking of tail - 100
-
"Getting Started" VM said "ORA-01471: cannot create a synonym.
People,
I downloaded the VM with demo integration OGG + ODI for 12.1.3, as well as the PDF "Getting Started with Oracle Data Integrator 12 c". Try step 10.3.2 on pg 92: "Initial running load staged Mapping", but it throws the error message:
ODI-1228: task Create synonym on target-LKM Oracle for Oracle (DBLINK) - fails when connecting the TRG_ODIDEMO target.
Caused by: java.sql.SQLException: ORA-01471: cannot create a synonym with the same name as the object
He told the truth, I tried the code in sqlplus with the same error:
SQL > conn odi_staging/oracle;
Connected.
SQL > create synonym ODI_STAGING. C$ _0OGG_CUSTOMER1 for ODI_STAGING. C$_0OGG_CUSTOMER1@ORCL;
ERROR on line 1:
ORA-01471: cannot create a synonym with the same name as the object
Initially, the definition of database server did not have the Instance = orcl inside, I added and got the same error with and without "orcl". Why is this happening? Another odd piece that may be associated with: I tried this mapping even earlier, and it got stuck on the front line, trying to create a view, but was insufficient privs for ODI_STAGING select the ogg_customer table. So I just did "grant dba to odi_staging;" and that was not enough! Tried stop/start ODI, then the DB without change. Hmmm, s/n role not enough? I've also had "grant select any table of odi_staging;", then this line worked.
Back to the current problem: I can get the other procs to run, as the Clean Up target tables works very well, and the demo Client works very well.
(1) anyone has experience this problem of synonym?
(2) no matter who else get it to work?
-Thanks, Steve F.
I got the fix in the product manager. There are two very similar LKMs:
- LKM Oracle for Oracle (DBLINK) (must be imported)
- LKM Oracle for Oracle shoot (DB Link). GLOBAL (integrated)
Of course, they look the same to me except that the second works and one doesn't. In all honesty, the book on pg 89 says 'Pull' in the name. Chalk it up to user error. Detective Conan.
-
ORA-19504: cannot create file when using rman
Hello
on 10g bR2 on windows machine my rman backup failed on a drive mapped with following error message:
ORA-19504: cannot create file when using rman
What do you suggest me?
I heard that RMAN cannot write to the mapped file system. Is this true? Some people proposed:
OracleService must be run by OS user with permissions
But what oracle service? Target or RMAN catalog database database?
Thank you.You must change your environment, on metalink:
How to configure RMAN to write about readers shared on Windows NT/2000
DOC - ID: Note: 145843.1Werner
-
ORA-19504 cannot create the file "+ FRA/test1".
Hi all
OPERATING SYSTEM:-RHEL5
DB version: GR 2-11
I'm trying to save a tablespace in the slot path mentioned using the script below
RMAN > backup tablespace users of devices type disk;
But what exactly is the error I get: -.
RMAN > backup tablespace users of devices type disk;
From backup 2014-01 - 09:12:37:44
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 23 type of device = DISK
channel ORA_DISK_1: starting full datafile from backup set
channel ORA_DISK_1: specifying datafile (s) in the backup set
Enter a number of file datafile = name=+DATA/orcl/datafile/users.259.836129771 00004
channel ORA_DISK_1: starting piece 1 at 2014-01 - 09:12:37:44
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03009: failure of the backup command on the 09/01/2014 12:37:45 channel ORA_DISK_1
ORA-19504: could not create the file "+ FRA/test1".
ORA-17502: ksfdcre:4 cannot create the file + FRA/test1
ORA-15005: name "test1" is already used by an existing alias
Configure it order what I did is: -.
RMAN > CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT "+ FRA/test1";
and I create the destination required "+ FRA/test1".
Thanks in advance
How about using below
Set UP the FORMAT of DISC TYPE CHANNEL DEVICE "+ FRA/orcl/test1_t%t_s%s_p%p";
Concerning
Anurag
-
ORA-09925, cannot create the audit trail file
OS: Linux to Oracle 7
DB: Oracle 12.1.0.2.0
When I try to start the database in Sqlplus I get the error: ORA-09925, please see the screen capture below. Please let me know if I can provide more information.
Thanks for your help.
It seems that your name is db12c, so just change the name of initcdb1.ora to initdb12c.ora just to have a regularity.
The most important thing is that the name of your instance defined as ORACLE_SID owes much to a model.
In the example
db_name = WHATEVR (in your init*.ora file)
ORACLE_SID = SOMETHING (at the level of the BONE)
If your init.ora file must be called initSOMETHING.ora. It has nothing to do with your db_name
-
several triggers of the object?
Is it possible to have two distinct forms/objects that are affected when it is spilled or clicked? For example, if I had a navigation bar, and I hit a button, that button would change color, and at the same time an image would be a change of opacity of 0% to 100% elsewhere on the page? What I'm going to be singing is for a navigation bar for a Web property, you would flip in the Nav "plot1" and would then select a CGI air the exact House.
Thanks in advance
-Ceri
You cannot 'connect' States of one object to another, if that of what you're looking for (and may have done it before, by manually editing the HTML and CSS with different tools).
But you can try to use a widget of Compositions as the tool tip. This will give you a trigger ( States) and a target area that will prove when turning or click on (do not forget mobile visitors...) Put your button in the trigger area and place the CGI image in the target domain, exactly positioned above the underlying image of the landscape. According to your design, set the trigger and target to have no background fill.
The Tool tip starts by default with three triggers and targets, but you can simply add or remove items to or from it.
-
Cannot create partition during the Windows installation.
Hey
You have a problem with the installation of Windows (10 or 8.1, same problem). I share the part Boot Camp using the tool, but once I'm in the installer that I meet a problem. I format the BOOTCAMP partition scored, but then Windows says that it cannot create a new partition.
Some impressions diskutil
/ dev/disk0 (internal, physical):
#: NAME SIZE TYPE IDENTIFIER
0: GUID_partition_scheme * GB 121,3 disk0
1: disk0s1 EFI EFI 209.7 MB
2: Apple_CoreStorage GB internal drive 121.0 disk0s2
3: disk0s3 Apple_Boot Boot OS X 134,2 MB
/ dev/disk1 (internal, physical):
#: NAME SIZE TYPE IDENTIFIER
0: GUID_partition_scheme * 1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage GB internal Drive disk1s2 648.9
3: disk1s3 Apple_Boot Recovery 650.0 MB HD
4: Microsoft data base 350,5 GB disk1s4
/ dev/disk2 (internal, virtual):
#: NAME SIZE TYPE IDENTIFIER
0: Apple_HFS Macintosh HD + 764,0 GB disk2
Logical volume on disk0s2, disk1s2
4B58E1CE-F3F4-4E82-974B-019D1DC8A5B9
Fusion unencrypted drive
List of CS
CoreStorage groups of logical volumes (1 found)
|
+ Logical Volume - Group C4FDFFD0-7D27-4DCC-9034-2D19E7487DCD
=========================================================
Name: Internal drive
Status: online
Dimensions: 769855381504 B (769,9 GB)
Free space: 180224 B (180.2 KB)
|
+-< physical="" volume="">
| ----------------------------------------------------
| Index: 0
| Disc: disk0s2
| Status: online
| Dimensions: 120988852224 B (121.0 GB)
|
+-< physical="" volume="">
| ----------------------------------------------------
| Index: 1
| Disc: disk1s2
| Status: online
| Dimensions: 648866529280 B (648,9 GB)
|
+-> FDD23DD2-C30E-4575-B7B1-50CBCB539D10 family of Logical Volume
----------------------------------------------------------
Encryption type: no
|
+--> Logical Volume 4B58E1CE-F3F4-4E82-974B-019D1DC8A5B9
---------------------------------------------------
Disc: disk2
Status: online
Size (Total): 763999944704 B (764,0 GB)
Reversible: no
Name: Macintosh HD
Volume name: Macintosh HD
Content indicator: Apple_HFS
LVG Type: Fusion, sparse
See the TPG: / dev/disk0: mediasize = 121332826112; SectorSize = 512; blocks = 236978176
See the TPG: / dev/disk0: PMBR to sector 0
See the TPG: / dev/disk0: Pri GPT to sector 1
See the TPG: / dev/disk0: GPT Sec at sector 236978175
start index size summary
0 1 PMBR
1 1 Pri GPT header
2 32 table GPT Pri
34 6
40 409600 1 part TPG - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 236306352 2 part TPG - 53746F72-6167-11AA-AA11-00306543ECAC
236715992 262144 3 part TPG - 426F6F74-0000-11AA-AA11-00306543ECAC
236978136 7
236978143 32 table dry GPT
236978175 1 dry GPT header
Daniels-iMac: ~ danielzandian$ sudo fdisk/dev/disk0
Disk: geometry / dev/disk0: 14751/255/63 [236978176 sectors]
Signature: 0xAA55
From end
#: cyl hd s - cyl hd s id [Start - size]
------------------------------------------------------------------------
1: EA 1023 254 63 - 1023 254 63 [1-236978175]
02:00 0 0 0-0 0 0 [0-0] unused
03:00 0 0 0-0 0 0 [0-0] unused
04:00 0 0 0-0 0 0 [0-0] unused
You can also post the output of
sudo TPG - vv - r see the/dev/disk1
sudo fdisk/dev/disk1
What is the year/model of your Mac?
-
"Cannot create archives of the temporary folder.
Hello! I tried to install Mozilla Firefox, then this message 7-Zip ' cannot create temp file archive ", Please help!
Post proposed by the facilitator for the appropriate forum placed
In my computer, C: HD, * find the folder "Temp". To access it in Solution Explorer, simply go to run or open cmd
type: folder the folder opens in a new window. All software installations get folder listed in the other
temporary file folder is: C:\WINDOWS\Temp
-
How to find duplicate keys found when error ORA-01452: cannot CREATE a UNIQUE INDEX.
Hi gurus,
I fall for this stupid error
"cannot CREATE a UNIQUE INDEX; duplicate keys found.
It is that the Unique Index key is composed of multiple columns
CREATE A UNIQUE KEY001AUTORISATIONS_APPORT ON TFT_AUTORISATIONS_APPORT INDEX
(AUT_APPORTEUR, AUT_AGENCE, AUT_PRODUIT, AUT_OPTION, AUT_TARIF, AUT_DATE_AUTORISATION)
TABLESPACE KEYS_TFT NOPARALLEL NOLOGGING
Now,.
My question is, how to find duplicates keys blocking Index creation?
Thanks if you can help
Run this query to display the list of the duplicates already existing.
Select AUT_APPORTEUR, AUT_AGENCE, AUT_PRODUIT, AUT_OPTION, AUT_TARIF, AUT_DATE_AUTORISATION, count (1) as cnt
of TFT_AUTORISATIONS_APPORT
Group
AUT_APPORTEUR, AUT_AGENCE, AUT_PRODUIT, AUT_OPTION, AUT_TARIF, AUT_DATE_AUTORISATION
view count (1) > 1
Concerning
NJ
-
Create triggers in the table, sequence, insert and update with "model"?
It must be of rtfm, trial and error thing but you wanted to ask, is it possible to have models or similar automation for the following scenario:
1.), I add the table to the logic model
2.) Using glossary I transform a relational model that was recovered / synchronized with the data dictionary
3.) then I have the new table to add
-but
I would then have auto-DDL of to be synchronized to database:
-create sequence for the id column
-create table
-create indexes for the id column pk
-Create triggers for insert and update
-l' idea is to have db_created_dt and db_modified_dt defined in the table, so that each table has them to the fields of record etc.
-activate the triggers
Each of them following the same naming convention.
Similarity with approx. generator Apex workshop utils sql create table of the copy paste "excel" that creates 'id' - column + sequence and insert the trigger.
rgrds Paavo
Hi Paavo,
most of the steps can be made in one or other way
-create sequence for the id column
-create table
-create indexes for the id column pk
If you want to start in the logic model and you don't want to have the ID column in the logic model and select 'Create the surrogate key' checkbox in the dialog entity - you will get an identity column in the relational model and the version of database and settings in ' preferences > Data Modeler > model > physics > Oracle "you can set the sequence generation and the trigger for taking in load.
fields of record defined in the table, so that each table has them
You can add the same set of columns in all tables with the transformation script 'model of Table... ».
You can also look here Oracle SQL Developer Data Modeler 4.1 user - defined DDL generation using transformation scripts
to see how to grant your DDL generation using the transformation script. DM comes with example to generate separate tables of logging and triggers. You can create your build script of triggers that support logging in these common columns.
Philippe
Maybe you are looking for
-
How can I connect with others using the webcam? I have a TouchSmart 320 Desk top and the operating system is Windows 7. TIA
-
Original title: Internet games In my user when I click to play an internet game he says he's blocked my parental control, but I have them turned on this user. They are great on the administrator user, so I should an account corrupted or not?
-
my computer randomly restarts and I when to check the event viewer I have that my computer has restarted after a bugcheck with bugcheck code 0 x 00000077 (0xc03ddab0), 0xc00000185, 0xf76ac6f2, 0x2c926860)
-
photossmart 5514 black HP ink cartridge does not print
My photosmart 5514 no black ink will print. tried the suggested cleaning the print head, but it still won't work.
-
HP Officejet Usermanual &; maintenance guidelines
Hello I have the HP Officejet 7110 (NOT the all in one - printer only) and I am struggling to find an operating manual pdf that don't relate to the all-in-one. Ideally what I'm hoping to do, is be able to repair the machine via the software, if there