Table error

hi
i have this problem with my database structure, but after execute a check of structure don't appear any error.
in the kerneldialog error file appear this message
2008-11-15 09:40:05    33 ERR 51080 SYSERROR -9211 KB Stack type illegal
2008-11-15 09:40:05    33 ERR     5 Join     violation of internal data structure
2008-11-15 09:40:05    34 ERR 51080 SYSERROR -9211 KB Stack type illegal
2008-11-15 09:40:05    34 ERR     5 Join     violation of internal data structure
how can i fix this problem¡

hi
the database information is this
version:
version,os,dbroot,logon,code,swap
"7.6.05","UNIX","/base/PERSEO",False,ASCII,2
parameters:
KERNELVERSION                         KERNEL    7.6.05   BUILD 009-123-191-997
INSTANCE_TYPE                         OLTP
MCOD                                  NO
SERVERDBFOR_SAP                     YES
_UNICODE                              YES
DEFAULT_CODE                          ASCII
DATE_TIME_FORMAT                      INTERNAL
CONTROLUSERID                         DBM
CONTROLPASSWORD                       
MAXLOGVOLUMES                         4
MAXDATAVOLUMES                        64
LOG_VOLUME_NAME_002                   /data/LOG/PERSEO/DISKL0002
LOG_VOLUME_NAME_001                   /data/LOG/PERSEO/DISKL0001
LOG_VOLUME_TYPE_002                   F
LOG_VOLUME_TYPE_001                   F
LOG_VOLUME_SIZE_002                   51200
LOG_VOLUME_SIZE_001                   51200
DATA_VOLUME_NAME_0002                 /data/PERSEO/DISKD0002
DATA_VOLUME_NAME_0001                 /data/PERSEO/DISKD0001
DATA_VOLUME_TYPE_0002                 F
DATA_VOLUME_TYPE_0001                 F
DATA_VOLUME_SIZE_0002                 524288
DATA_VOLUME_SIZE_0001                 524288
DATA_VOLUME_MODE_0002                 NORMAL
DATA_VOLUME_MODE_0001                 NORMAL
DATA_VOLUME_GROUPS                    1
LOG_BACKUP_TO_PIPE                    NO
MAXBACKUPDEVS                         2
LOG_MIRRORED                          NO
MAXVOLUMES                            69
LOG_IO_BLOCK_COUNT                    8
DATA_IO_BLOCK_COUNT                   64
BACKUP_BLOCK_CNT                      64
DELAYLOGWRITER                      0
LOG_IO_QUEUE                          50
RESTARTTIME                         600
MAXCPU                                4
LOCAL_REDO_LOG_BUFFER_SIZE            0
MAX_LOG_QUEUE_COUNT                   0
USED_MAX_LOG_QUEUE_COUNT              4
LOG_QUEUE_COUNT                       0
MAXUSERTASKS                          100
TRANSRGNS                           8
TABRGNS                             8
OMSREGIONS                          0
OMSRGNS                             7
LOCKMANAGERENABLED                  NO
LMLOCK_REGIONS                      0
LMREQUEST_REGIONS                   0
LMTRANS_REGIONS                     0
OMS_HEAP_LIMIT                        0
OMS_HEAP_COUNT                        4
OMS_HEAP_BLOCKSIZE                    10000
OMS_HEAP_THRESHOLD                    100
OMS_VERS_THRESHOLD                    2097152
HEAP_CHECK_LEVEL                      0
ROWRGNS                             8
RESERVEDSERVERTASKS                   69
MINSERVERTASKS                        134
MAXSERVERTASKS                        134
MAXGARBAGECOLL                      1
_MAXTRANS                             804
MAXLOCKS                              8040
LOCKSUPPLY_BLOCK                    100
DEADLOCK_DETECTION                    4
DEADLOCK_DUMP_FILENAME                
SESSION_TIMEOUT                       900
OMS_STREAM_TIMEOUT                    30
REQUEST_TIMEOUT                       5000
IOPROCSPER_DEV                      2
IOPROCSFOR_PRIO                     0
IOPROCSFOR_READER                   0
USEIOPROCS_ONLY                     NO
IOPROCSSWITCH                       2
LRU_FOR_SCAN                          NO
PAGESIZE                            8192
PACKETSIZE                          131072
MINREPLYSIZE                        4096
MBLOCKDATA_SIZE                     32768
MBLOCKQUAL_SIZE                     32768
MBLOCKSTACK_SIZE                    32768
MBLOCKSTRAT_SIZE                    16384
WORKSTACKSIZE                       8192
WORKDATASIZE                        8192
CATCACHE_MINSIZE                    262144
CAT_CACHE_SUPPLY                      196992
INIT_ALLOCATORSIZE                    262144
ALLOW_MULTIPLE_SERVERTASK_UKTS        NO
TASKCLUSTER01                       tw;al;ut;2000sv,100bup;10ev,10gc;
TASKCLUSTER02                       ti,100dw;25us;
TASKCLUSTER03                       equalize
DYNTASK_STACK                       NO
MPRGN_QUEUE                         YES
MPRGN_DIRTY_READ                    DEFAULT
MPRGN_BUSY_WAIT                     DEFAULT
MPDISP_LOOPS                        2
MPDISP_PRIO                         DEFAULT
MP_RGN_LOOP                           -1
MPRGN_PRIO                          DEFAULT
MAXRGN_REQUEST                        -1
PRIOBASE_U2U                        100
PRIOBASE_IOC                        80
PRIOBASE_RAV                        80
PRIOBASE_REX                        40
PRIOBASE_COM                        10
PRIOFACTOR                          80
DELAYCOMMIT                         NO
MAXTASKSTACK                        1024
MAX_SERVERTASK_STACK                  500
MAX_SPECIALTASK_STACK                 500
DWIO_AREA_SIZE                      50
DWIO_AREA_FLUSH                     50
FBM_VOLUME_COMPRESSION                50
FBM_VOLUME_BALANCE                    10
FBMLOW_IO_RATE                      10
CACHE_SIZE                            393984
DWLRU_TAIL_FLUSH                    25
XP_DATA_CACHE_RGNS                    0
DATACACHE_RGNS                      64
XP_CONVERTER_REGIONS                  0
CONVERTER_REGIONS                     8
XP_MAXPAGER                           0
MAXPAGER                              64
SEQUENCE_CACHE                        1
IDXFILELIST_SIZE                    2048
VOLUMENO_BIT_COUNT                    8
OPTIM_MAX_MERGE                       500
OPTIM_INV_ONLY                        YES
OPTIM_CACHE                           NO
OPTIM_JOIN_FETCH                      0
JOIN_SEARCH_LEVEL                     0
JOIN_MAXTAB_LEVEL4                    16
JOIN_MAXTAB_LEVEL9                    5
READAHEADBLOBS                      32
READAHEAD_TABLE_THRESHOLD             0
CLUSTER_WRITE_THRESHOLD               80
CLUSTERED_LOBS                        NO
CLUSTERCOMPRESSIONTHRESHOLD           1000
CLUSTERCOMPRESSIONFILLTHRESHOLD       10
RUNDIRECTORY                          /var/opt/sdb/data/wrk/PERSEO
OPMSG1                                /dev/console
OPMSG2                                /dev/null
_KERNELDIAGFILE                       knldiag
KERNELDIAGSIZE                        800
_EVENTFILE                            knldiag.evt
_EVENTSIZE                            0
_MAXEVENTTASKS                        2
_MAXEVENTS                            100
_KERNELTRACEFILE                      knltrace
TRACE_PAGES_TI                        2
TRACE_PAGES_GC                        20
TRACE_PAGES_LW                        5
TRACE_PAGES_PG                        3
TRACE_PAGES_US                        10
TRACE_PAGES_UT                        5
TRACE_PAGES_SV                        5
TRACE_PAGES_EV                        2
TRACE_PAGES_BUP                       0
KERNELTRACESIZE                       1899
EXTERNAL_DUMP_REQUEST                 NO
AKDUMP_ALLOWED                      YES
_KERNELDUMPFILE                       knldump
_RTEDUMPFILE                          rtedump
UTILITYPROTFILE                     dbm.utl
UTILITY_PROTSIZE                      100
BACKUPHISTFILE                      dbm.knl
BACKUPMED_DEF                       dbm.mdf
MAXMESSAGE_FILES                    0
_SHMKERNEL                            16747
__PARAM_CHANGED___                    0
__PARAM_VERIFIED__                    2008-10-13 02:35:17
DIAG_HISTORY_NUM                      2
DIAG_HISTORY_PATH                     /var/opt/sdb/data/wrk/PERSEO/DIAGHISTORY
DIAGSEM                             1
SHOW_MAX_STACK_USE                    NO
SHOW_MAX_KB_STACK_USE                 NO
LOG_SEGMENT_SIZE                      17066
_COMMENT                              
SUPPRESS_CORE                         YES
FORMATTING_MODE                       PARALLEL
FORMAT_DATAVOLUME                     YES
OFFICIAL_NODE                         
LOAD_BALANCING_CHK                    0
LOAD_BALANCING_DIF                    10
LOAD_BALANCING_EQ                     5
HS_STORAGE_DLL                        libhsscopy
HS_SYNC_INTERVAL                      50
USE_OPEN_DIRECT                       NO
USE_OPEN_DIRECT_FOR_BACKUP            NO
SYMBOL_DEMANGLING                     NO
EXPAND_COM_TRACE                      NO
JOIN_TABLEBUFFER                      128
SET_VOLUME_LOCK                       YES
SHAREDSQL                             YES
SHAREDSQL_CLEANUPTHRESHOLD            25
SHAREDSQL_COMMANDCACHESIZE            262144
MEMORY_ALLOCATION_LIMIT               0
USE_SYSTEM_PAGE_CACHE                 YES
USE_COROUTINES                        YES
FORBID_LOAD_BALANCING                 NO
MIN_RETENTION_TIME                    60
MAX_RETENTION_TIME                    480
MAX_SINGLE_HASHTABLE_SIZE             512
MAX_HASHTABLE_MEMORY                  5120
ENABLE_CHECK_INSTANCE                 YES
RTE_TEST_REGIONS                      0
HASHED_RESULTSET                      YES
HASHED_RESULTSET_CACHESIZE            262144
CHECK_HASHED_RESULTSET                0
AUTO_RECREATE_BAD_INDEXES             YES
AUTHENTICATION_ALLOW                  
AUTHENTICATION_DENY                   
TRACE_AK                              NO
TRACE_DEFAULT                         NO
TRACE_DELETE                          NO
TRACE_INDEX                           NO
TRACE_INSERT                          NO
TRACE_LOCK                            NO
TRACE_LONG                            NO
TRACE_OBJECT                          NO
TRACE_OBJECT_ADD                      NO
TRACE_OBJECT_ALTER                    NO
TRACE_OBJECT_FREE                     NO
TRACE_OBJECT_GET                      NO
TRACE_OPTIMIZE                        NO
TRACE_ORDER                           NO
TRACE_ORDER_STANDARD                  NO
TRACE_PAGES                           NO
TRACE_PRIMARY_TREE                    NO
TRACE_SELECT                          NO
TRACE_TIME                            NO
TRACE_UPDATE                          NO
TRACE_STOP_ERRORCODE                  0
TRACE_ALLOCATOR                       0
TRACE_CATALOG                         0
TRACE_CLIENTKERNELCOM                 0
TRACE_COMMON                          0
TRACE_COMMUNICATION                   0
TRACE_CONVERTER                       0
TRACE_DATACHAIN                       0
TRACE_DATACACHE                       0
TRACE_DATAPAM                         0
TRACE_DATATREE                        0
TRACE_DATAINDEX                       0
TRACE_DBPROC                          0
TRACE_FBM                             0
TRACE_FILEDIR                         0
TRACE_FRAMECTRL                       0
TRACE_IOMAN                           0
TRACE_IPC                             0
TRACE_JOIN                            0
TRACE_KSQL                            0
TRACE_LOGACTION                       0
TRACE_LOCKMANAGER                     0
TRACE_LOGHISTORY                      0
TRACE_LOGPAGE                         0
TRACE_LOGTRANS                        0
TRACE_LOGVOLUME                       0
TRACE_MEMORY                          0
TRACE_MESSAGES                        0
TRACE_OBJECTCONTAINER                 0
TRACE_OMS_CONTAINERDIR                0
TRACE_OMS_CONTEXT                     0
TRACE_OMS_ERROR                       0
TRACE_OMS_FLUSHCACHE                  0
TRACE_OMS_INTERFACE                   0
TRACE_OMS_KEY                         0
TRACE_OMS_KEYRANGE                    0
TRACE_OMS_LOCK                        0
TRACE_OMS_MEMORY                      0
TRACE_OMS_NEWOBJ                      0
TRACE_OMS_SESSION                     0
TRACE_OMS_STREAM                      0
TRACE_OMS_VAROBJECT                   0
TRACE_OMS_VERSION                     0
TRACE_PAGER                           0
TRACE_RUNTIME                         0
TRACE_SHAREDSQL                       0
TRACE_SQLMANAGER                      0
TRACE_SRVTASKS                        0
TRACE_SYNCHRONISATION                 0
TRACE_SYSVIEW                         0
TRACE_TABLE                           0
TRACE_VOLUME                          0
CHECK_BACKUP                          NO
CHECK_DATACACHE                       NO
CHECK_KB_REGIONS                      NO
CHECK_LOCK                            NO
CHECK_LOCK_SUPPLY                     NO
CHECK_REGIONS                         NO
CHECK_TASK_SPECIFIC_CATALOGCACHE      NO
CHECK_TRANSLIST                       NO
CHECK_TREE                            NO
CHECK_TREE_LOCKS                      NO
CHECK_COMMON                          0
CHECK_CONVERTER                       0
CHECK_DATAPAGELOG                     0
CHECK_DATAINDEX                       0
CHECK_FBM                             0
CHECK_IOMAN                           0
CHECK_LOGHISTORY                      0
CHECK_LOGPAGE                         0
CHECK_LOGTRANS                        0
CHECK_LOGVOLUME                       0
CHECK_SRVTASKS                        0
OPTIMIZE_AGGREGATION                  YES
OPTIMIZE_FETCH_REVERSE                YES
OPTIMIZE_STAR_JOIN                    YES
OPTIMIZE_JOIN_ONEPHASE                YES
OPTIMIZE_JOIN_OUTER                   YES
OPTIMIZE_MIN_MAX                      YES
OPTIMIZE_FIRST_ROWS                   YES
OPTIMIZE_OPERATOR_JOIN                YES
OPTIMIZE_JOIN_HASHTABLE               YES
OPTIMIZE_JOIN_HASH_MINIMAL_RATIO      1
OPTIMIZE_OPERATOR_JOIN_COSTFUNC       YES
OPTIMIZE_JOIN_PARALLEL_MINSIZE        1000000
OPTIMIZE_JOIN_PARALLEL_SERVERS        0
OPTIMIZE_JOIN_OPERATOR_SORT           YES
OPTIMIZE_QUAL_ON_INDEX                YES
DDLTRIGGER                            YES
SUBTREE_LOCKS                         NO
MONITOR_READ                          2147483647
MONITOR_TIME                          2147483647
MONITOR_SELECTIVITY                   0
MONITOR_ROWNO                         0
CALLSTACKLEVEL                        0
OMS_RUN_IN_UDE_SERVER                 NO
OPTIMIZE_QUERYREWRITE                 OPERATOR
TRACE_QUERYREWRITE                    0
CHECK_QUERYREWRITE                    0
PROTECT_DATACACHE_MEMORY              NO
FILEDIR_SPINLOCKPOOL_SIZE             10
TRANS_HISTORY_SIZE                    0
TRANS_THRESHOLD_VALUE                 60
ENABLE_SYSTEM_TRIGGERS                YES
DBFILLINGABOVELIMIT                   70L80M85M90H95H96H97H98H99H
DBFILLINGBELOWLIMIT                   70L80L85L90L95L
LOGABOVELIMIT                         50L75L90M95M96H97H98H99H
AUTOSAVE                              1
BACKUPRESULT                          1
CHECKDATA                             1
EVENT                                 1
ADMIN                                 1
ONLINE                                1
UPDSTATWANTED                         1
OUTOFSESSIONS                         3
ERROR                                 3
SYSTEMERROR                           3
DATABASEFULL                          1
LOGFULL                               1
LOGSEGMENTFULL                        1
STANDBY                               1
USESELECTFETCH                        YES
USEVARIABLEINPUT                      NO
UPDATESTAT_PARALLEL_SERVERS           0
UPDATESTAT_SAMPLE_ALGO                1
SIMULATE_VECTORIO                     NEVER
COLUMNCOMPRESSION                     YES
TIME_MEASUREMENT                      NO
CHECK_TABLE_WIDTH                     NO
MAX_MESSAGE_LIST_LENGTH               100
SYMBOL_RESOLUTION                     YES
PREALLOCATE_IOWORKER                  NO
CACHE_IN_SHARED_MEMORY                NO
INDEX_LEAF_CACHING                    2
NO_SYNC_TO_DISK_WANTED                NO
SPINLOCK_LOOP_COUNT                   30000
SPINLOCK_BACKOFF_BASE                 1
SPINLOCK_BACKOFF_FACTOR               2
SPINLOCK_BACKOFF_MAXIMUM              64
ROW_LOCKS_PER_TRANSACTION             50
USEUNICODECOLUMNCOMPRESSION           NO
FBM_CLUSTER_MODE                      MIXED
objects ddl's :
CREATE TABLE "TRANSACCION"."TRANSACCION"
     "TRNS_ID"  Integer  NOT NULL  DEFAULT SERIAL (2141016),
     "PROD_ID"  Integer,
     "TITR_ID"  Integer,
     "TRNS_IDTRANSACCION"  Integer,
     "TRNS_VALOR"  Fixed (17,2),
     "TRNS_ESTADO"  Varchar (2) ASCII  DEFAULT '1',
     "TRNS_REGISTRADOPOR"  Integer,
     "TRNS_FECHAREGISTRO"  Timestamp,
     PRIMARY KEY("TRNS_ID"),
     CONSTRAINT "TRNS_ESTADO_CTR" CHECK     "TRNS_ESTADO " IN (0,1,2),
     FOREIGN KEY "PRODUCTO_TRANSACCION"     ("PROD_ID") REFERENCES "PRODUCTO"."PRODUCTO" ("PROD_ID") ON DELETE  RESTRICT,
     FOREIGN KEY "TIPOTRANSACCION_TRANSACCION"     ("TITR_ID") REFERENCES "TRANSACCION"."TIPOTRANSACCION" ("TITR_ID") ON DELETE  RESTRICT
COMMENT ON TABLE "TRANSACCION" IS 'TABLA CONTIENE LOS REGISTROS DE LAS TRANSACCIONES QUE SE REALIZAN EN LA OPERACION LOGISTICA DE MOVILRED'
COMMENT ON COLUMN "TRANSACCION"."TRNS_ID" IS 'LLAVE PRIMARIA DE LA TABLA TRANSACCION.TRANSACCION'
COMMENT ON COLUMN "TRANSACCION"."PROD_ID" IS 'LLAVE FORANEA  DE LA TABLA PRODUCTO.PRODUCTO'
COMMENT ON COLUMN "TRANSACCION"."TITR_ID" IS 'LLAVE FORANEA  DE LA TABLA TRANSACCION.TIPOTRANSACCION'
COMMENT ON COLUMN "TRANSACCION"."TRNS_IDTRANSACCION" IS 'CAMPO QUE TRAE EL ID DE LAS DIFERENTES   TRANACCIONES QUE SE REALIZAN LAS CUALES PRIMARY KEYS'
COMMENT ON COLUMN "TRANSACCION"."TRNS_VALOR" IS 'CAMPO CONTIENE EL VALOR POR EL CUAL FUE GENERADO LA TRANSACCION'
COMMENT ON COLUMN "TRANSACCION"."TRNS_ESTADO" IS 'PRIMERA TRANSACCION SIEMPRE SERA ESTADO 0 (FALLIDA) POR SER PRIMERA INSERCION AUN NO SE HA VERIFICADO CON EL OPERADOR'
COMMENT ON COLUMN "TRANSACCION"."TRNS_REGISTRADOPOR" IS 'CAMPO CONTIENE EL ID DEL USUARIO QUE REALIZO EL REGISTRO'
COMMENT ON COLUMN "TRANSACCION"."TRNS_FECHAREGISTRO" IS 'CAMPO CONTIENE FECHA Y HORA DE GENERACION DEL REGISTRO'
CREATE TABLE "RECARGA"."RECARGA"
     "RECA_ID"  Integer  NOT NULL  DEFAULT SERIAL (2141016),
     "DISP_ID"  Integer,
     "TERC_ID"  Integer,
     "ESRC_ID"  Integer,
     "RECA_VALOR"  Fixed (15,2),
     "RECA_FECHATRANSACCION"  Timestamp,
     "RECA_RESPUESTA"  Varchar (10) ASCII,
     "USUA_ID"  Integer,
     "OPER_ID"  Integer,
     "RECA_NUMERO"  Varchar (30) ASCII,
     "RECA_AUTORIZACION"  Varchar (100) ASCII,
     "RECA_REGISTRADOPOR"  Integer,
     "RECA_FECHAREGISTRO"  Timestamp,
     PRIMARY KEY("RECA_ID"),
     FOREIGN KEY "TERCERO_RECARGA"     ("TERC_ID") REFERENCES "CLIENTE"."TERCERO" ("TERC_ID") ON DELETE  RESTRICT,
     FOREIGN KEY "DISPOSITIVO_RECARGA"     ("DISP_ID") REFERENCES "DISPOSITIVO"."DISPOSITIVO" ("DISP_ID") ON DELETE  RESTRICT,
     FOREIGN KEY "ESTADORECARGA_RECARGA"     ("ESRC_ID") REFERENCES "RECARGA"."ESTADORECARGA" ("ESRC_ID") ON DELETE  RESTRICT
COMMENT ON TABLE "RECARGA" IS 'TABLA CONTIENE LAS SOLICITUDES DE RECARGA QUE SE HAN REALIZADO  CON SU RESPECTIVO ESTADO, MONTO, OPERADOR Y PUNTO DE VENTA '
COMMENT ON COLUMN "RECARGA"."RECA_ID" IS 'LLAVE PRIMARIA DE LA TABLA   RECARGA'
COMMENT ON COLUMN "RECARGA"."DISP_ID" IS 'CAMPO CONTIENE EL ID DE   DISPOSITIVO  Y ES LLAVE FORANEA DE LA TABLA DISPOSITIVO.DISPOSITIVO'
COMMENT ON COLUMN "RECARGA"."TERC_ID" IS 'CAMPO CONTIENE EL ID DE   TERCERO  Y ES LLAVE FORANEA DE LA TABLA TERCERO.TERCERO'
COMMENT ON COLUMN "RECARGA"."ESRC_ID" IS 'CAMPO CONTIENE EL ID DE   ESTADO DE LA RECARGA   Y ES LLAVE FORANEA DE LA TABLA  RECARGA.ESTADORECARGA'
COMMENT ON COLUMN "RECARGA"."RECA_VALOR" IS 'CAMPO ALMACENA EL VALOR POR EL CUAL FUE REALIZADA LA RECARGA  '
COMMENT ON COLUMN "RECARGA"."RECA_FECHATRANSACCION" IS 'CAMPO ALMACENA LA FECHA EN LA CUAL FUE REALIZADA LA RECARGA  '
COMMENT ON COLUMN "RECARGA"."RECA_RESPUESTA" IS 'CAMPO ALMACENA LA RESPUESTA DEL OPERADOR PARA LA RECARGA SEA EFECTIVA O NO'
COMMENT ON COLUMN "RECARGA"."USUA_ID" IS 'CAMPO CONTIENE EL ID DE  USUARIO NO TIENE RELACION DIRECTA CON USUARIO.USUARIO PERO TOMA LA INFORMACION DE LA TABLA  '
COMMENT ON COLUMN "RECARGA"."OPER_ID" IS 'CAMPO CONTIENE EL ID DEL OPERADOR '
COMMENT ON COLUMN "RECARGA"."RECA_NUMERO" IS 'CAMPO ALMACENA EL NUMERO TELEFONICO AL CUAL SE REALIZO LA RECARGA  '
COMMENT ON COLUMN "RECARGA"."RECA_AUTORIZACION" IS 'SI LA RECARGA ES EFECTIVA OPERADOR ENVIA NUMERO DE AUTORIZACION ESTE CAMPO ALMACENA ESE NUMERO '
COMMENT ON COLUMN "RECARGA"."RECA_REGISTRADOPOR" IS 'CAMPO CONTIENE EL ID DEL USUARIO QUE REALIZO EL REGISTRO'
COMMENT ON COLUMN "RECARGA"."RECA_FECHAREGISTRO" IS 'CAMPO CONTIENE FECHA Y HORA DE GENERACION DEL REGISTRO'
CREATE TABLE "OPERADOR"."OPERADOR"
     "OPER_ID"  Integer  NOT NULL  DEFAULT SERIAL (5),
     "OPER_DESCRIPCION"  Varchar (50) ASCII,
     "OPER_ESTADO"  Varchar (1) ASCII,
     "OPER_REGISTRADOPOR"  Integer,
     "OPER_FECHAREGISTRO"  Timestamp,
     "TERC_ID"  Integer,
     PRIMARY KEY("OPER_ID"),
     CONSTRAINT "OPER_ESTADO_CK" CHECK     "OPER_ESTADO " IN ('0','1'),
     FOREIGN KEY "TERC_OPER_FK"     ("TERC_ID") REFERENCES "CLIENTE"."TERCERO" ("TERC_ID") ON DELETE  RESTRICT
COMMENT ON TABLE "OPERADOR" IS 'TABLA CONTIENE LA DESCRIPCION DE LOS OPERADORES '
COMMENT ON COLUMN "OPERADOR"."OPER_ID" IS 'LLAVE PRIMARIA DE LA TABLA OPERADOR.OPERADOR'
COMMENT ON COLUMN "OPERADOR"."OPER_DESCRIPCION" IS 'CAMPO CONTIENE EL NOMBRE O DESCRIPCION DEL OPERADOR'
COMMENT ON COLUMN "OPERADOR"."OPER_ESTADO" IS 'CAMPO CONTIENE EL ESTADO DEL OPERADOR  1-ACTIVO/0-INACTIVO  '
COMMENT ON COLUMN "OPERADOR"."OPER_REGISTRADOPOR" IS 'CAMPO CONTIENE EL ID DEL USUARIO QUE REALIZO EL REGISTRO'
COMMENT ON COLUMN "OPERADOR"."OPER_FECHAREGISTRO" IS 'CAMPO CONTIENE FECHA Y HORA DE GENERACION DEL REGISTRO'
i try to reproduce th problem but is not possible. and yesterday appear that message
2008-11-18 10:09:53    31 ERR     5 Join     violation of internal data structure
2008-11-18 10:11:14    34 ERR 51080 SYSERROR -9045 BD Root check
2008-11-18 10:11:35    33 ERR 51080 SYSERROR -9045 BD Root check
2008-11-18 10:26:06    32 ERR 51080 SYSERROR -9211 KB Stack type illegal
2008-11-18 10:26:06    32 ERR     5 Join     violation of internal data structure
2008-11-18 10:39:11    31 ERR 51080 SYSERROR -9045 BD Root check
and in this time is the last time that they appear, just now.
thanks for your time

Similar Messages

  • Asset acquisition-Table error

    While doing an Asset posting from MM Side, the following error is happening:
    "No accounts have been entered for depreciation area 01 account allocation 31000 (Chart of accounts 1000)". 
    "Table Error"
    I have assigned accounts in AO90 for the acquisition/depreciation accounts.  Still I dont not understand why this error is happening ?  Please give some helpful inputs.

    Hi,
    in the IMG Fixed Asset Accounting you have several check and consistency reports. Run them, maybe you get some hints what could be missing in your configuration.
    Regards,
    Markus

  • Another User Modified Table Error.

    Dear All,
            My Client is using SAP B1 2007 B PL 11, When he is updating the Freight Amount in the Freight Window at that time he is getting the Error of Another User Modified Table Error.
           Plz guide me solving this issues.
      Regards
    Hitesh Parsawala

    Hi Hitesh ,
    This problem occurs when 2 users access the same form simultaneously .
    So just restart the SAP , It will work ..
    Hope it Helps
    Thanks
    -- Ashish Ranjan

  • SRKIM: Synchronize Wf Local Tables Errors: Ora-01400

    PURPOSE
    Synchronize Wf Local Tables 수행 시 발생한 ora-01400 error 를 해결한다.
    Problem Description
    Synchronize Wf Local Tables 수행 시 아래와 같은 error 가 발생하였다.
    ERROR
    FNDWFLSC module: Synchronize WF LOCAL tables
    Current system time is 31-AUG-2005 09:39:54
    **Starts**31-AUG-2005 09:39:54
    **Ends**31-AUG-2005 09:40:33
    ORA-12801: error signaled in parallel query server P000
    ORA-01400: cannot insert NULL into
    ("APPLSYS"."WF_LOCAL_ROLES_STAGE"."DISPLAY_NAME")
    STEPS
    The issue can be reproduced at will with the following steps:
    Submit the concurrent program Synchronize WF LOCAL tables.
    Log file shows error.
    Workaround
    N/A
    Solution Description
    해당 error 는 per_all_people_f table 의 global_name 이 null 이기 때문에 발생하는 error 로 가장 간단하게는 아래와 같이 처리 하면 된다.
    update per_all_people_f
    set global_name = full_name
    where global_name is null;
    commit;
    위의 작업 후 다시 Synchronize WF LOCAL tables process 를 수행 한다.
    해당 issue 에 대한 원인은 note. 397219.1 - Why Are There NULL Values For global_name In 를 참조 하도록 한다.
    Reference Documents
    Note 375508.1 - Synchronize Wf Local Tables Errors: Ora-01400: Cannot

    Hi Hussein,
    Thanks for reply. Please find the below details.
    RELEASE_NAME
    12.1.3
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Linux **** 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
    Conc Req Log file
    Application Object Library: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    FNDWFLSC module: Synchronize WF LOCAL tables
    Current system time is 19-JUN-2012 05:49:20
    **Starts**19-JUN-2012 05:49:20
    **Ends**19-JUN-2012 05:49:20
    ORA-14501: object is not partitioned
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    0
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 19-JUN-2012 05:49:20
    ---------------------------------------------------------------------------

  • Mutation table error

    i am trying to updata any row at the time i am getting mutating table error for some triggers
    fired on that table.what is the resonn and how to solve this problem,plz..help

    Here's a good resource
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:290416059674

  • Solve mutating table error

    Hi,
    I want a solution for mutating table error. I am a newbie in oracle.
    I'll explain my scenario.
    There are two tables TEACHER and STUDENT
    both are linked using the field 'tid'. the foreign key relation is given as ON DELETE CASCADE
    so if i delete a row from teacher , the corresponding rows in student get deleted, but i want to back up all the students who comes under that teacher, who is getting deleted.
    I tried in TRIGGER, but getting mutating table error.
    Please help
    Thanks in advance
    Divya

    This extract from an earlier post might be of help:
    You can solve this problem by using following thing
    1)create a view on same table with all fields
    and write trigger on table (insert,update or delete ) while inserting or updating or deleting row from table read from view.
    (Mutating error come when you are reading from one table and want to update,insert or delete row of same table).
    2)create a temporary table(but it is possible in 8i onword only) same as table on which you want to write trigger,while updating,inserting or deleting rows of table read from temporary table and after your work is over temporary table auotomatically drop (see proper command in oracle documentation to create temporary table).
    null

  • Mutating table error

    Hi All,
    I am getting the “ORA-04091 - mutating table error" when my trigger on a table "fnd_flex_values" fires. As I understand it, this error is occuring because, the users are trying to add rows to this table (it is an after insert trigger) and the trigger is trying to get values from the same table.
    Any suggestions on how to get around the mutating table error?
    My trigger code :
    CREATE OR REPLACE TRIGGER "APPS".ST_BU_PARENT_CC
    after insert on APPLSYS.FND_FLEX_VALUES REFERENCING OLD AS OLD NEW AS NEW
    for each row
    Declare
    v_flex_value    varchar2(150) :=null;
    v_desc          varchar2(2) := null;
    v_createdby     number      :=null;
    v_lstupdby      number      :=null;
    v_lstupdlogin   number      :=null;
    begin
      if inserting then
         select a.last_update_login,a.last_updated_by,a.created_by,a.flex_value,
                   rtrim(substr(description,instr(b.description,',')+1,5))
         into v_lstupdlogin,v_lstupdby,v_createdby,v_flex_value,v_desc
         from fnd_flex_values a,
                 fnd_flex_values_tl b
            where a.flex_value_id = b.flex_value_id
            and   a.flex_value_set_id = :new.flex_value_set_id
         and   a.flex_value_set_id = 1009635
            and   (a.flex_value like '1%' or a.flex_value like '7%')
         order by flex_value asc;
         insert into applsys.fnd_flex_value_hierarchies
            values(:new.flex_value_set_id,v_desc||'STO',v_flex_value,v_flex_value,sysdate,v_lstupdby,sysdate,v_createdby,null,null,null);
            insert into applsys.fnd_flex_value_norm_hierarchy
            values(:new.flex_value_set_id,v_desc||'STO','P',v_flex_value,v_flex_value,sysdate,v_lstupdby,sysdate,v_createdby,v_lstupdlogin,null,null);
      end if;
      exception
        when no_data_found then
          raise;
    end;Thanks,
    Chiru

    >>
    Any suggestions on how to get around the mutating
    table error?
    This link by Tom Kyte should help you with the
    "mutating table" error.
    http://asktom.oracle.com/tkyte/Mutate/index.html
    pratzPratz,
    Thanks for the quick reply. I am trying to create a temp table (log_table) but having the "insufficient privilages" issues.
    Thanks,
    Chiru

  • I have a cd changer cdp-cx355 showing table error, think it was knocked out of alignment while being

    I have a cd changer cdp-cx355 showing table error, think it was knocked out of alignment while being moved how do you make sure its aligned

    Welcome to Apple Discussions, rnmed13
    Sorry you are still having problems.
    See if this post by parkersal helps you:
    http://discussions.apple.com/message.jspa?messageID=4246676#4246676
    Jim
      Mac OS X (10.4.9)    G5 DP 1.8  External iSight

  • Key Figure units in Fact Table - Error

    All -
    When a run a report off of a cube, some row display 0 when there are corresponding values in my cube.  The report doesn't agree with LISTCUBE.  I have ran transaction RSRV on my cube and tested the "Key figure units in fact tables of Infocube" and I get an error saying that 1380 units are missing from fact table.
    <b>Diagnosis
    In the fact table /BIC/FEU_FRCTS records have been found that contain values other than zero for key figures that have units, but that have no value for the unit of the key figure. Since the value of the unit has to correspond to the value of the key figure, this inidicates an error when the data was loaded. The values of the units have not been loaded into BW correctly. Choose Details to display the incorrect records.</b>
    Does anyone know what this error means? How do I solve this problem?
    Thanks,
    Nyrvole

    hi Nyrvole,
    as the message said, you have keyfigures with unit but the unit value not filled, click 'detail' as suggested to check which keyfigure(s) involved, that go to rsd2 type in that keyfigure and see which infoobject unit is used, then check transfer/update rules how this unit infoobject mapped, try correct the values and upload again.
    there is option 'repair' in rsrv but think in this case it can't fix the error, just try.
    hope this helps.

  • Associative array two variable comparison :update table error

    Hi,
    i am using associative array to update the version number of table
    -i declare two associative array to compare the column from two table (temp,main tables)values in loop
    -if id's of both variable(for temp and main table) are equal and column of either of table not matching then it should update the version no of temp table
    -if id's not equal i.e record only exists temp table then update null version number annd increment it by 1
    -following is the structure and procedure --it shows the matching and non matching records but for the update statement it not giving expected output i.e it updates all records irrespective of the condition provided
    -i tried to put condition in update as well as in the  if statement but it updates all record
    ....suggestion and help highly appreciate. thankx in advance !!!
    /*--table structure and data--*/
    CREATE TABLE "TEMP_TABLE"
       ( "ID" NUMBER NOT NULL ENABLE,
      "COL1" VARCHAR2(20 BYTE),
      "COL2" VARCHAR2(20 BYTE),
      "VERSION" NUMBER
       INSERT INTO TEMP_TABLE VALUES (101,'A','B',NULL);
       INSERT INTO TEMP_TABLE VALUES (102,'x','y',NULL);
       INSERT INTO TEMP_TABLE VALUES (103,'r','t',NULL);
       CREATE TABLE "MAIN_TABLE"
       ( "ID" NUMBER NOT NULL ENABLE,
      "COL1" VARCHAR2(20 BYTE),
      "COL2" VARCHAR2(20 BYTE),
      "VERSION" NUMBER
       INSERT INTO MAIN_TABLE VALUES (101,'A','B',1);
    /*------update version procedure----------*/
    DECLARE
      TYPE T_tmp_table IS TABLE OF tmp_table %ROWTYPE INDEX BY PLS_INTEGER;
      TYPE T_main_table IS TABLE OF main_table%ROWTYPE INDEX BY PLS_INTEGER;
      l_tmp_table T_tmp_table;
      l_main_table T_main_table;
      BEGIN
        SELECT * BULK COLLECT INTO l_tmp_table FROM tmp_table;
        SELECT * BULK COLLECT INTO l_main_table FROM main_table;
        FOR i IN 1 .. l_tmp_table.count
        LOOP
          FOR j IN 1 .. l_main_table.count
         LOOP
      if(l_tmp_table(i).ID = l_main_table(j).ID AND l_tmp_table(i).VERSION IS NULL) then     
      ---this first if loop updates temp table version irrespective of l_tmp_table.ID=l_main_table.ID orl_tmp_table. ID<>l_main_table.ID  .it display proper matching and non-matching records.
       dbms_output.put_line('matching ids from tmp and main are :'||l_tmp_table(i).ID||'  '||l_main_table(j).ID);
       UPDATE tmp_table SET VERSION = l_tmp_table(i).version +1;
       --where l_tmp_table(i).ID = l_main_table(j).ID     --
       end if;
      if (l_tmp_table(i).ID <> l_main_table(j).ID) then
       dbms_output.put_line('non matching ids from tmp and main are :'||l_tmp_table(i).ID||'  '||l_main_table(j).ID);
       UPDATE tmp_table SET VERSION = l_tmp_table(i).version +1;
       --where l_tmp_table(i).ID <> l_main_table(j).ID    
        end if;
              END LOOP;
              END LOOP;
        EXCEPTION
        WHEN OTHERS THEN
        DBMS_OUTPUT.PUT_LINE('OTHER');
    END;

    Hello user8937641
    I think there is a problem with the logic of your SQL-Code.
    But maybe in this formatted structure you can see where your problem is. -> I can not say it because I do not know what is the requirement.
    I hope it helps...
    /*------update version procedure----------*/
    DECLARE
      TYPE T_tmp_table IS TABLE OF tmp_table %ROWTYPE INDEX BY PLS_INTEGER;
      TYPE T_main_table IS TABLE OF main_table%ROWTYPE INDEX BY PLS_INTEGER;
      l_tmp_table T_tmp_table;
      l_main_table T_main_table;
      BEGIN
        SELECT * BULK COLLECT INTO l_tmp_table FROM tmp_table;
        SELECT * BULK COLLECT INTO l_main_table FROM main_table;
        FOR i IN 1 .. l_tmp_table.count
        LOOP
          FOR j IN 1 .. l_main_table.count
          LOOP
            IF     l_tmp_table(i).ID = l_main_table(j).ID
               AND l_tmp_table(i).VERSION IS NULL
             THEN
                 ---this first if loop updates temp table version irrespective of l_tmp_table.ID=l_main_table.ID orl_tmp_table. ID<>l_main_table.ID  .it display proper matching and non-matching records.
                 dbms_output.put_line('matching ids from tmp and main are :'||l_tmp_table(i).ID||'  '||l_main_table(j).ID);
                 UPDATE tmp_table
                    SET version = l_tmp_table(i).version +1;
                  WHERE id = l_tmp_table(i).ID
            END IF;
            IF l_tmp_table(i).ID <> l_main_table(j).ID
             THEN
               dbms_output.put_line('non matching ids from tmp and main are :'||l_tmp_table(i).ID||'  '||l_main_table(j).ID);
               -- Maybe you do not need this update:
               UPDATE tmp_table
                  SET version = l_tmp_table(i).version +1;
                WHERE id =  l_tmp_table(i).ID
            END IF;
            COMMIT;
           END LOOP;
        END LOOP;
      EXCEPTION WHEN OTHERS THEN
        DBMS_OUTPUT.PUT_LINE('Error at Executing the PLSQL-Block - ' || SQLERRM);
    END;

  • INSTEAD OF trigger on view to update a table. error in 4.2apex tabular rpt

    I have created a view (LANDINGS_VIEW') that I am hoping to use to add/modify data over several tables. I am using INSTEAD OF trigger to update/insert into the underlying tables. I am receiving the error:
    •ORA-01858: a non-numeric character was found where a numeric was expected ORA-06512: at "SAFIS.LANDINGS_V_IO_UPD_TRG", line 4 ORA-04088: error during execution of trigger 'SAFIS.LANDINGS_V_IO_UPD_TRG' (Row 1)I am only setting PRICE = 300.
    any thoughts? Am I setting this up propertly? thanks for your help!!
    Karen
    The LANDING_VIEW is set up as follows:
    -- Start of DDL Script for View SAFIS.LANDINGS_VIEW
    -- Generated 03-May-2013 10:25:38 from [email protected]
    CREATE OR REPLACE VIEW landings_view (
       landing_seq,
       dealer_rpt_id,
       unit_measure,
       reported_quantity,
       landed_pounds,
       dollars,
       disposition_code,
       grade_code,
       species_itis,
       market_code,
       price,
       area_fished,
       sub_area_fished,
       lease_num,
       gear_code,
       de,
       ue,
       dc,
       uc,
       local_area_code,
       fins_attached,
       explanation,
       late_report,
       modified_data,
       nature_of_sale,
       hms_area_code,
       sale_price,
       deleted )
    AS
    select l.LANDING_SEQ,
           l.DEALER_RPT_ID,
           l.UNIT_MEASURE,
           l.REPORTED_QUANTITY,
           l.LANDED_POUNDS,
           l.DOLLARS,
           l.DISPOSITION_CODE,
           l.GRADE_CODE,
           l.SPECIES_ITIS,
           l.MARKET_CODE,
           l.PRICE,
           l.AREA_FISHED,
           l.SUB_AREA_FISHED,
           l.LEASE_NUM,
           l.GEAR_CODE,
           l.DE,
           l.UE,
           l.DC,
           l.UC,
           l.LOCAL_AREA_CODE,
           a.fins_attached,
           a.explanation,
           a.late_report,
           a.modified_data,
           a.nature_of_sale,
           a.hms_area_code,
           a.sale_price,
           a.deleted
      from landings l,
           landings_hms a
      where  l.dealer_rpt_id = v('P110_DEALER_RPT_ID') and
            l.dealer_rpt_id = a.dealer_rpt_id(+) and
            l.landing_seq = a.landing_seq(+)
    -- Triggers for LANDINGS_VIEW
    CREATE OR REPLACE TRIGGER landings_v_io_upd_trg
    INSTEAD OF
      UPDATE
    ON landings_view
    REFERENCING NEW AS NEW OLD AS OLD
    DECLARE
       v_first_day   date;
       BEGIN
    update landings set landing_seq = :old.landing_seq,
                              dealer_rpt_id = :old.dealer_rpt_id,
                              unit_measure = :new.unit_measure,
                              reported_quantity = :new.reported_quantity,  
                            --  landed_pounds = :new.landed_pounds,
                              dollars = :new.dollars,
                              disposition_code= :new.disposition_code, 
                              grade_code = :new.grade_code,
                              species_itis =  :new.species_itis,
                               market_code = :new.market_code,
                              price =  :new.price,
                              area_fished = :new.area_fished,
                              sub_area_fished = :new.sub_area_fished,
                           --   lease_num = :new.lease_num,
                              gear_code = :new.gear_code,
                              de = :new.de,
                              ue = :new.ue,
                              dc = :new.ue,
                              uc = :new.uc,
                              local_area_code =  :new.local_area_code ;     
        /*  update landings_hms  set dealer_rpt_id = :old.dealer_rpt_id,
                                 landing_seq = :old.landing_seq,
                                 fins_attached = :new.fins_attached,
                                 explanation = :new.explanation,
                                 late_report = :new.late_report,
                                 modified_data = :new.modified_data,
                                 nature_of_sale = :new.nature_of_sale,
                                 hms_area_code = :new.hms_area_code,
                                 sale_price = :new.sale_price,
                                 de = sysdate,
                                 ue = :new.ue,
                                 dc = :new.dc,
                                 uc = :new.uc ;                         
    end;
    -- End of DDL Script for Trigger SAFIS.LANDINGS_KEH_V_IO_TRG
    CREATE OR REPLACE TRIGGER landings_v_io_trg
    INSTEAD OF
      INSERT
    ON landings_view
    REFERENCING NEW AS NEW OLD AS OLD
    DECLARE
       v_first_day   date;
       BEGIN
    insert into landings_keh (landing_seq,
                              dealer_rpt_id,
                              unit_measure,
                              reported_quantity,
                              landed_pounds,
                              dollars,
                              disposition_code,
                              grade_code,
                              species_itis,
                              market_code,
                              price,
                              area_fished,
                              sub_area_fished,
                              lease_num,
                              gear_code,
                              de,
                              ue,
                              dc,
                              uc,
                              local_area_code)      
       values ( landings_seq.NEXTVAL,
                :new.dealer_rpt_id,
                :new.unit_measure,
                :new.reported_quantity,
                :new.landed_pounds,
                :new.dollars,
                :new.disposition_code,
                :new.grade_code,
                :new.species_itis,
                :new.market_code,
                :new.price,
                :new.area_fished,
                :new.sub_area_fished,
                :new.lease_num,
                :new.gear_code,
                sysdate,
                :new.ue,
                :new.dc,
                :new.uc,
                :new.local_area_code)  ;
       insert into landings_hms (dealer_rpt_id,
                                 landing_seq,
                                 fins_attached,
                                 explanation,
                                 late_report,
                                 modified_data,
                                 nature_of_sale,
                                 hms_area_code,
                                 sale_price,
                                 de,
                                 ue,
                                 dc,
                                 uc,
                                 deleted)
           values (:new.dealer_rpt_id,
                   landings_seq.CURRVAL,
                   :new.fins_attached,
                   :new.explanation,
                   :new.late_report,
                   :new.modified_data,
                   :new.nature_of_sale,
                   :new.hms_area_code,
                   :new.sale_price,
                   sysdate,
                   :new.ue,
                   :new.dc,
                   :new.uc,
                   :new.deleted);
    end;
    -- End of DDL Script for Trigger SAFIS.LANDINGS_KEH_V_IO_TRG
    -- End of DDL Script for View SAFIS.LANDINGS_VIEWbtw, I have succefully run the following update in sqlplus.
    update landings set landing_seq = 8604583,
    dealer_rpt_id = 2660038,
    unit_measure = 'LB',
    reported_quantity = 3,
    -- landed_pounds = :new.landed_pounds,
    dollars = 900,
    disposition_code= '001',
    grade_code = '10',
    species_itis = '160200',
    market_code = 'UN',
    price = 30,
    area_fished = null,
    sub_area_fished =null,
    -- lease_num = :new.lease_num,
    gear_code = '050',
    de = sysdate,
    ue = 'keh',
    dc = null,
    uc = 'keh',
    local_area_code = null
    where landing_seq = 8604583; I am using apex 4.2
    Edited by: KarenH on May 3, 2013 10:29 AM
    Edited by: KarenH on May 3, 2013 10:31 AM
    Edited by: KarenH on May 3, 2013 11:04 AM
    Edited by: KarenH on May 3, 2013 4:09 PM

    could it be so simple?
    when I created the tabular form on my view, LANDINGS_VIEW, the APPLYmru was automatically generated, referencing the view name LANDINGS_VIEW. I modified that to indicate the table name (LANDINGS). I am not certain why that would work, but it seems to so far.
    this post was helpful: Re: instead of trigger on view
    I am now testing to make certain both the underlying tables can be updated, LANDINGS and LANDINGS_HMS

  • Dbms_sql  in a different schema from query table-error  ** ORA-00942

    Oracle Experts,
    I think I am having problems with using DBMS_SQL in which the function was created in one schema and the query table was created in a different schema.
    We have 2 schemas: S1, S2
    We have 2 tables:
    T1 in Schema S1
    T2 in Schema S2
    We have a function F1 created by DBA in schema S1 that uses the dbms_sql as:
    CREATE OR REPLACE FUNCTION S1.F1(v1 in VARCHAR2) return NUMBER IS
    cursor1 INTEGER;
    BEGIN
    cursor1 := dbms_sql.open_cursor;
    dbms_sql.parse(cursor1, v1, dbms_sql.NATIVE);
    dbms_sql.close_cursor(cursor1);
    return (0);
    EXCEPTION
    when others then
    dbms_sql.close_cursor(cursor1);
    return (1) ;
    END;
    I am using jdeveloper 11G. We have an Oracle DB 11g.
    We have a java program which uses jdbc to talk to our Oracle DB.
    Basically, in my java program, I call function F1 to check if the query is valid.
    If it is, it returns 0. Otherwise, returns 1:
    oracle.jdbc.OracleCallableStatement cstmt = (oracle.jdbc.OracleCallableStatement) connection.prepareCall ("begin ? := S1.F1 (?); end;");
    cstmt.registerOutParameter (1, java.sql.Types.INTEGER);
    cstmt.setString(2, "Select * from S2.T2");
    cstmt.execute ();
    Since the table that I run the query is T2, created in different schema than F1 was created in, I have the error:
    ** ORA-00942: table or view does not exist
    So my questions are these:
    - I am using Oracle DB 11g, if I run the query on a table that created in a different schema from the one that the function (which uses dbms_sql) was created in, I would get the error ORA-00942?
    - If I runs the query on table T1 in the same schema as the function F1, would I have the same problem(The reason I ask is I cannot create any table in schema S1 because the DBA has to do it; I am not a DBA)
    - This is not a problem, but a security feature because of SQL injection?
    - How to resolve this issue other than creating the table in the same schema as the function that utilizes DBMS_SQL?
    Regards,
    Binh

    Definer rights (default) stored objects run under owner's security domain and ignore role based privileges. So regardless what user you are logged in as, function S1.F1 always executes as user S1 and ignores user S1 roles. Therefore exeuting statement within S1.F1:
    Select * from S2.T2requires user S1 to have SELECT privilege on S2.T2 granted to S1 directly, not via role.
    SY.

  • Create table error

    hi
    While creating table (only structure) i m gettting this error
    ERROR at line 2:
    ORA-01401: inserted value too large for column
    ON CUSVAA (INST_NO,
    ERROR at line 2:
    ORA-00942: table or view does not exist
    i m only creating structure not inserting any thing.... this scripts contains
    create table command
    and create index command..
    second error i can understand but i m totaly confused with ora 01401 i m not inserting any thig though it is giving me this error..
    please help

    Try creating the table with the following
    CREATE TABLE CUSVAA
    (CODE CHAR (2) DEFAULT 00,
    DELI CHAR (1) DEFAULT 0,
    INST_NO CHAR (3) NOT NULL,
    CUST_NO CHAR (16) NOT NULL,
    RECNO CHAR (4) NOT NULL,
    TITLE_CODE CHAR (2) DEFAULT (LPAD(CHR(0),002,CHR(0))),
    NAME1 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    NAME2 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    NAME3 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    ADD1 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    ADD2 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    ADD3 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    ADD4 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    POSTCODE CHAR (10) DEFAULT (LPAD(CHR(0),010,CHR(0))),
    PHONE_NO_RES CHAR (12) DEFAULT (LPAD(CHR(0),012,CHR(0))),
    PHONE_NO_BUS CHAR (12) DEFAULT (LPAD(CHR(0),012,CHR(0))),
    FAX_NO CHAR (12) DEFAULT (LPAD(CHR(0),012,CHR(0))),
    TELEX_NO CHAR (12) DEFAULT (LPAD(CHR(0),012,CHR(0))),
    EFFE_DATE NUMBER (9) DEFAULT (0),
    EXPI_DATE NUMBER (9) DEFAULT (0),
    CITY_CODE CHAR (4) DEFAULT (LPAD(CHR(0),004,CHR(0))),
    LAST_MAINT_DATE NUMBER (9) DEFAULT (0))
    PCTFREE 005
    PCTUSED 090
    INITRANS 5
    STORAGE (
    PCTINCREASE 0
    TABLESPACE USERS
    CREATE UNIQUE INDEX CUSVAAPK
    ON CUSVAA (INST_NO,
    CUST_NO,
    RECNO)
    PCTFREE 005
    INITRANS 5
    STORAGE (
    PCTINCREASE 0
    TABLESPACE USERS
    The specification of the defaults for the first two columns were changed
    Regards

  • Partitioned nested table error while dropping one partition

    All,
    I created a partitioned table which is also a nested table as you can see below. I got FK constraint error while attempting to drop a partition, however, I could not find the FK in order to disable it since it's underlying table emp_list_p which is not visiable to applications. How could I drop the partition in this case?
    Thanks,
    Jianhui
    SQL>desc emp_t
    Name Null? Type
    ENO NUMBER
    ENAME VARCHAR2(30)
    SAL NUMBER
    SQL>desc emp_list_t
    emp_list_t TABLE OF EMP_T
    Name Null? Type
    ENO NUMBER
    ENAME VARCHAR2(30)
    SAL NUMBER
    SQL>l
    1 create table dept_p
    2 (dno number,
    3 dname varchar2(30),
    4 emplist emp_list_t )
    5 NESTED TABLE emplist store as emp_list_p
    6 partition by range (dno)
    7 (
    8 partition p1 values less than (2),
    9 partition p2 values less than (3)
    10* )
    SQL>/
    Table created.
    SQL>insert into dept_p (select * from dept);
    2 rows created.
    SQL>select * from dept_p;
    DNO DNAME
    EMPLIST(ENO, ENAME, SAL)
    1 HR
    EMP_LIST_T(EMP_T(1, 'scott', 1000), EMP_T(2, 'brain', 2000))
    2 SALES
    EMP_LIST_T(EMP_T(3, 'frank', 800))
    2 rows selected.
    SQL>alter table dept_p drop partition p1;
    alter table dept_p drop partition p1
    ERROR at line 1:
    ORA-02266: unique/primary keys in table referenced by enabled foreign keys
    SQL>l
    1 select constraint_name, constraint_type, table_name
    2 from user_constraints
    3 where r_constraint_name=(select constraint_name
    4* from user_constraints where table_name='DEPT_P' and constraint_type in ('P','U'))
    SQL>/
    no rows selected

    SQL> create type emp_t as object(
      2  ENO NUMBER,
      3  ENAME VARCHAR2(30),
      4  SAL NUMBER)
      5  /
    Type created.
    SQL> create type emp_list_t as table of emp_t;
      2  /
    Type created.
    SQL> desc emp_list_t
    emp_list_t TABLE OF EMP_T
    Name                                      Null?    Type
    ENO                                                NUMBER
    ENAME                                              VARCHAR2(30)
    SAL                                                NUMBER
    SQL> create table dept_p
      2  (dno number,
      3  dname varchar2(30),
      4  emplist emp_list_t )
      5  NESTED TABLE emplist store as emp_list_p
      6  partition by range (dno)
      7   (
      8   partition p1 values less than (2),
      9   partition p2 values less than (3)
    10   )
    11  /
    Table created.
    SQL> insert into dept_p values(1, 'HR',
      2  EMP_LIST_T(EMP_T(1, 'scott', 1000), EMP_T(2, 'brain', 2000)));
    1 row created.
    SQL>
    SQL> insert into dept_p values(2, 'SALES',EMP_LIST_T(EMP_T(3, 'frank', 800)));
    1 row created.
    SQL> select * from dept_p;
           DNO DNAME
    EMPLIST(ENO, ENAME, SAL)
             1 HR
    EMP_LIST_T(EMP_T(1, 'scott', 1000), EMP_T(2, 'brain', 2000))
             2 SALES
    EMP_LIST_T(EMP_T(3, 'frank', 800))
    SQL> alter table dept_p drop partition p1;
    alter table dept_p drop partition p1
    ERROR at line 1:
    ORA-02266: unique/primary keys in table referenced by enabled foreign keys
    SQL> select constraint_name,table_name,constraint_type from user_constraints
      2  where table_name = 'DEPT_P';
    CONSTRAINT_NAME                TABLE_NAME                     C
    SYS_C008224                    DEPT_P                         U
    SQL> select index_name from user_constraints
      2  where table_name = 'DEPT_P';
    INDEX_NAME
    SYS_C008224
    SQL> select index_name,column_name from user_ind_columns
      2  where index_name = 'SYS_C008224';
    INDEX_NAME                     COLUMN_NAME
    SYS_C008224                    EMPLIST
    SQL>
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
    With the Partitioning, OLAP and Data Mining options
    If you look closely, there is a unique index on dept_p.  Oracle does not advertise it.
    One of the options is that you may have to delete the rows in the partition first,
    then drop the partition.

  • ABAP Database Table error

    Hi Gurus,
    While creating the database table it giving the error that SAP System has status 'not modifiable'.
    Pls help us.
    Regards
    Sachin Patil
    Moderator message: please search for available information before asking.
    Edited by: Thomas Zloch on Dec 1, 2010 5:23 PM

    Hi,
    When u creating the field for standard table u must use the APPEND STRUCTURE using that option we can create fields for that table.
    STEP1:GOTA DB TABLE
    STEP2:FIND THE APPENDSTURCTURE OPTION ON APPLICATION TOOLBAR.
    STEP3:CREATE ONE STRUCTURE START WITH 'ZSTR'.
    STEP4:ADD YOUR FIELDS INTO THAT STRUCTURE.
    STEP5:ACTIVATE THAT STRUCTURE.
    regards,
    MURALII

  • External Table Error

    While Creating an external table I got following error
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "missing": expecting one of: "badfile, byteordermark, characterset, column, data, delimited, discardfile, disable_directory_link_check, exit, fields, fixed, load, logfile, language, nodiscardfile, nobadfile, nologfile, date_cache, processing, readsize, string, skip, territory, varia¿gÀ"
    KUP-01007: at line 2 column 14
    ORA-06512: at
    My CREATE TABLE Syntax is as follow
    CREATE TABLE APPL_NOTE_EXT
    CUS_ID NUMBER(10),
    TEXT VARCHAR2(2000 ),
    PAGE_NUM NUMBER(3)
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY EXT_TABLE
    ACCESS PARAMETERS
    RECORDS DELIMITED BY newline
    MISSING FIELD VALUES ARE NULL
    FIELDS
    CUS_ID POSITION (2:10) ,
    TEXT POSITION (39:1737),
    PAGE_NUM POSITION (13:14)
    LOCATION ('APPNOTES.TXT')
    REJECT LIMIT Unlimited
    NOPARALLEL
    NOMONITORING;

    This is the result I obtained after creating the table with your script:
    Table created.
    SQL> desc APPL_NOTE_EXT
    Name                                      Null?    Type
    CUS_ID                                             NUMBER(10)
    TEXT                                               VARCHAR2(2000)
    PAGE_NUM                                           NUMBER(3)The only issue I faced was the directory object. I had to create it. May be you don't have privileges on the specified ext_table directory. Please verify.
    ~ Madrid

Maybe you are looking for

  • Two iPods on same internet

    My son and I each have iPods. I am not sure how to seperate them from each other. Every time I add a song to my iPod it also adds to my sons when he plugs his iPod in to the same computer. How do I seperate these? Please help!

  • Multiple SSID channel question

    I have 2 (for now) Aironet 1231g access points setup. They each have two SSIDs being broadcast on each one, both are the same two SSIDs. The question is, can can two different ssids from a single ap broadcast on the same channel. That means I would h

  • Result Set is getting close in 12 Min

    Hi, I am facing one issue here with the JDBC. I am doing a query to the oracle db , where I have more the 80K records in our one of table. Once I recieved the data in resultset. I am iterating them in batch of length 1024 from the result set. But I a

  • User Profiles Synchronization Error Event id 5553 - Every hour

    I am getting these 2 events logged in the event viewer when the user profile synch is attempted:  First event: Second Event: (although we don't always get this error with the one above) failure trying to synch site 6c02f82c-2029-4ca0-990b-d14786b95d8

  • Pros/Cons of Local Workplace Install

    I currently have local developers running their own Netweaver Workplace instances (J2EE + MAXDB + NWDS).  I can see supporting these local environments to be a headache.  For example it takes 2 hours just to apply SP STACK11 to one pc assuming their