Unknown table names in 10G
Hi,
I recently installed 10g on windows and created a databse. I only created one table in my schema "T" but when I do select * fom tab I get all these. Any idea what they are ?
BIN$4slr2AIkQGmj2B8iyLX/0Q==$0 TABLE
BIN$PugCzbrBQ+SLa8xfb9jc7A==$0 TABLE
BIN$UBfhfP2RSJ6MSbcHHhCrtQ==$0 TABLE
T TABLE
Thanks,
Asha
for the current schema owner
purge recyclebin
for all tables, if you are the dba
purge dba_recyclebin
and there are other options
http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10739/tables.htm#i1010137
These tables are a good thing to get rid of, even though Oracle will purge them, since they also get indluded in your RMAN backups, and can increase backupset sizes. We've encountered problems bumping up against the space limit set for our flash recovery area due to this, even though Oracle claims it will delete tables in the recycle bin when this becomes an issue.
-Chuck
Similar Messages
-
SQLError: [-4004] (at 30) Unknown table name:DBPROCEDURES
Hi Guys,
1) I conducted a homogenous liveCache Copy from TPC System TSP to TSQ
2) Now when attempting to start liveCache in TSQ, I encountered the following error when starting liveCache:
/sapdb/data/wrk/LCQ/lcinit.log
START ****************************
liveCache LCQ (restart)
Tue Oct 30 16:20:53 SST 2007
installation path: /sapdb/LCQ/db
operating system : HP-UX
OK State OFFLINE
starting LCQ into ADMIN
OK
OK DBMServer 7.5.0 Build 021-123-084-954
starting LCQ into ONLINE
OK
creating liveCache application procedures
ERR
-24964,ERR_EXECUTE: error in program execution
1024,/sapdb/LCQ/db/bin/x_python /sapdb/LCQ/db/env/lapps.py -R /sapdb/LCQ/db -d L
CQ -u SUPERDBA,*
Installing APPS
Traceback----
File "/sapdb/LCQ/db/env/installib.py", line 378, in connectAndInstall
installRoutine (session, options)
File "/sapdb/LCQ/db/env/lapps.py", line 48, in install
"APPS"
File "/sapdb/LCQ/db/env/installib.py", line 163, in include
install (session, options)
File "/sapdb/LCQ/db/env/APPS.py", line 78, in install
delPackages = getExistingPackages (options.db, sapuser[0], sapuser[1])
File "/sapdb/LCQ/db/env/APPS.py", line 187, in getExistingPackages
return getExistingPackagesExecSQL (dbname, username, password)
File "/sapdb/LCQ/db/env/APPS.py", line 194, in getExistingPackagesExecSQL
cursor = session.sql (
Error----
sql.SQLError: sql.SQLError: [-4004] (at 30) Unknown table name:DBPROCEDURES
ERROR : liveCache LCQ not restarted (see /sapdb/data/wrk/LCQ/lcinit.log)
Tue Oct 30 16:21:14 SST 2007
END *****************************
Can anyone advice? Thanks.
Regards,
SimonHi Simon,
did you load the system tables after you performed the system copy?
Regards,
Melanie -
Unknown table name :INFO_STATE
Hi,
on 7.6 on Win 2003, when in GUI DBM , when I want to connect to DB I receive :
-24988 SQL error [info STATE -d]; -4004, Unknown table name : INFO_STATE
Any idea ?
Thank you.Hello,
see:
[http://maxdb.sap.com/doc/7_7/45/11cbd6459d7201e10000000a155369/content.htm|http://maxdb.sap.com/doc/7_7/45/11cbd6459d7201e10000000a155369/content.htm]
load_systab [-u <sysdba_user>,<sysdba_user_password>]
Regards, Michael -
Unknown table name:PERSON
Hi,
I created a table in dbmcli :
C:\>dbmcli.exe -d MAXDB2 -u DBADMIN,pwd -c sql_execute CREATE TABLE person (pno FIXED(6), name CHAR(20), city
CHAR(20))
OK
C:\>dbmcli.exe -d MAXDB2 -u DBADMIN,pwd -c sql_execute select count(*) from person
OK
END
0
But when query in SQL STUDIO, I receive :
--- Error -
Auto Commit: On, SQL Mode: Internal, Isolation Level: Committed
Base table not found;-4004 POS(23) Unknown table name:PERSON
select count( *) from person
What is wrong ?
Thank you.Hi BIG136,
if you run a command like
dbmcli -u dbadmin,<pw> -d <db name> -c sql_execute <any command>
the command is executed as user dbm. This is the reason why you do not see the table in SQL Studio as dbadmin. Run instead
dbmcli -u dbadmin,<pw> -d <db name> -uSQL dbadmin,<pw> -c sql_execute <any command>
and the table will be also found in SQL Studio as user dbadmin. To execute an SQL command with dbmcli you normally first open a session, execute the command and then release the session. Because this is hardly possible with a single command line you should use -uSQL option which does all this for you at once.
Regards,
Steffen -
Hello.
After opening the SQL studio I get the following error.
Error -
Auto Commit: On, SQL Mode: Internal, Isolation Level: Committed
Base table not found;-4004 POS(21) Unknown table name:SYS_MYAUTOSUPPOSE.
SELECT SUPPOSE FROM SYSDBA.SYS_MYAUTOSUPPOSE WHERE TYPE = 0
I've checked - such table does not exist.
Should I create it manually?
If so, what are its parameters (columns)?
Thank Yyou, LUCAS.Hello,
the table SYS_MYAUTOSUPPOSE is a SQL Studio system table which was used in a previous version of SQL Studio (7.5). In new database releases the table does not exist. Please install the newest SQL Studio. The newest version of SQL Studio does not need the table SYS_MYAUTOSUPPOSE.
Regards
Wolfgang -
SAP* locked!Unlocking from DB level says unknown table USR02
Hi,
The user SAP* is locked.
I tried to unlock it at DB(MAXDB) by query:
sql_execute update <db_schema>.USR02 set UFLAG=0 where BNAME='SAP*' and MANDT=u2019000u2019
It says:
ERR
-24988,ERR_SQL: SQL error
-4004,Unknown table name:USR02
Anything can be done here to unlock the SAP* user?
Thanks in advance!Below are 2 scripts that will a) show the status of a user and b) unlock that user.
Note, this was used in MSSQL.
--This script is used to determine the status of users in a system,
--the codes are as follows:
--0 --> not locked
--32 --> globally locked by administrator
--64 --> locally locked by administrator
--128 --> locked due to incorrect loggins
Use '<SID>'
go
setuser '<sid>'
go
select * from USR02
To unlock a user execute the script below.
Update USR02 set UFLAG=0 where BNAME = '<USER>' and MANDT = '<CLIENT>' -
Limit on length of table name?
I created a table named LEARNING_PLAN_COURSE_MAPPING in SAP DB, when I deleted a record in it through EJB, it failed, following is the log.
Any advice will be appreciated.
12:14:07,947 ERROR [STDERR] javax.ejb.FinderException: Find failed: com.sap.dbtech.jdbc.ex
ceptions.DatabaseException: SAP DBTech SQL: [-4004] (at 42) Unknown table name:LEARNING_PLAN_COU_V17Q1UI checked, the Max table name length limitation is 32. But how to modify it? I'd like to enlarge it from 32 to 64. Maybe I should ask on SAP DB forum.
-
ORACLE 10g : Datapump-Import : Error: unknown parameter name 'REMAP_TABLE'
Hi,
I am working on Oracle 10g. When executed import datapump script in the UNIX box with option “RMAP_TABLE” I received the error “unknown parameter name 'REMAP_TABLE' “Can you please give me solution for it?
Scripts :-
impdp eimsexp/xyz TABLES=EIMDBO.DIVISION DIRECTORY=DATAMART_DATA_PUMP_DIR DUMPFILE=expdp_DATAMART_tables_%u_$BATCH_ID.dmp LOGFILE=impdp_DATAMART_tables.log REMAP_TABLE=EIMDBO.DIVISION:EIM2DBO:YR2009_DIM_DIVISION
Note :- The YR2009_DIM_DIVISION table is available in the target database. It is without partition table. The EIMDBO.DIVISION is partition table.
Thanks,See your post here
ORACLE 10g : Datapump-Import : Error: unknown parameter name 'REMAP_TABLE'
Srini -
SYS.SYSNTJ6LP..... table names in Oracle 10g R2 database
Can anyone inform me as to what / where the following tables came from - and also why a developer would us == in a table name?
SYS.SYSNTJ6LPx94kVxXgRAAAAAAAAA==
SYS.SYSNTJ6LPx94mVxXgRAAAAAAAAA==
SYS.SYSNTJ6LPx94oVxXgRAAAAAAAAA==
Thank you in advance,Recycle Bin:
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/tables.htm#sthref2383
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/tables.htm#sthref2388
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/tables.htm#sthref2392
Message was edited by:
Kamal Kishore -
Unknown table--- BIN$q9sxdXaDQgWvL8DWKxQFbw==$0
I found the following unknown table in my scott/tiger instance.this table is named as
BIN$q9sxdXaDQgWvL8DWKxQFbw==$0
i am unable to run desc command or drop command on this table
looking for some help regarding this
thanks and regardsHi,
Oracle introduce the concept of Recyclebin in 10g,whenever u drop the tables from schema then it automatically move to recyclebin and its names has changes with bin+some uq identifier,now in 10g ,after droping the tables from schema u can easily recover it by issuing one command.
and if u want to be purge this table then use
PURGE TABLE BIN$q9sxdXaDQgWvL8DWKxQFbw==$0;
http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10739/tables.htm#sthref2018
Kuljeet -
Unknown parameter name 'ENCRYPTION'
Hi All,
I've made a dmp file using expdp for a table containing encrypted coulums.
But when I tried to use ENCRYPTION parameter to enable encryption of data in dump file sets the command pormpt gives this error:
unknown parameter name 'ENCRYPTION'
My DB Version: 10.2.1.0.1Dev. Musbah wrote:
It stills giving the same error: unknown parameter name 'ENCRYPTION'
Does this parameter can't be used in DB 10g Release 2?Please see the docs or the help with the command. There is no such parameter in data pump.
C:\Documents and Settings\admin>expdp help=y
Export: Release 10.2.0.1.0 - Production on Tuesday, 01 December, 2009 14:02:13
Copyright (c) 2003, 2005, Oracle. All rights reserved.
The Data Pump export utility provides a mechanism for transferring data objects
between Oracle databases. The utility is invoked with the following command:
Example: expdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp
You can control how Export runs by entering the 'expdp' command followed
by various parameters. To specify parameters, you use keywords:
Format: expdp KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
Example: expdp scott/tiger DUMPFILE=scott.dmp DIRECTORY=dmpdir SCHEMAS=scott
or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
USERID must be the first parameter on the command line.
Keyword Description (Default)
ATTACH Attach to existing job, e.g. ATTACH [=job name].
COMPRESSION Reduce size of dumpfile contents where valid
keyword values are: (METADATA_ONLY) and NONE.
CONTENT Specifies data to unload where the valid keywords are:
(ALL), DATA_ONLY, and METADATA_ONLY.
DIRECTORY Directory object to be used for dumpfiles and logfiles.
DUMPFILE List of destination dump files (expdat.dmp),
e.g. DUMPFILE=scott1.dmp, scott2.dmp, dmpdir:scott3.dmp.
ENCRYPTION_PASSWORD Password key for creating encrypted column data.
ESTIMATE Calculate job estimates where the valid keywords are:
(BLOCKS) and STATISTICS.
ESTIMATE_ONLY Calculate job estimates without performing the export.
EXCLUDE Exclude specific object types, e.g. EXCLUDE=TABLE:EMP.
FILESIZE Specify the size of each dumpfile in units of bytes.
FLASHBACK_SCN SCN used to set session snapshot back to.
FLASHBACK_TIME Time used to get the SCN closest to the specified time.
FULL Export entire database (N).
HELP Display Help messages (N).
INCLUDE Include specific object types, e.g. INCLUDE=TABLE_DATA.
JOB_NAME Name of export job to create.
LOGFILE Log file name (export.log).
NETWORK_LINK Name of remote database link to the source system.
NOLOGFILE Do not write logfile (N).
PARALLEL Change the number of active workers for current job.
PARFILE Specify parameter file.
QUERY Predicate clause used to export a subset of a table.
SAMPLE Percentage of data to be exported;
SCHEMAS List of schemas to export (login schema).
STATUS Frequency (secs) job status is to be monitored where
the default (0) will show new status when available.
TABLES Identifies a list of tables to export - one schema only.
TABLESPACES Identifies a list of tablespaces to export.
TRANSPORT_FULL_CHECK Verify storage segments of all tables (N).
TRANSPORT_TABLESPACES List of tablespaces from which metadata will be unloaded.
VERSION Version of objects to export where valid keywords are:
(COMPATIBLE), LATEST, or any valid database version.
The following commands are valid while in interactive mode.
Note: abbreviations are allowed
Command Description
ADD_FILE Add dumpfile to dumpfile set.
CONTINUE_CLIENT Return to logging mode. Job will be re-started if idle.
EXIT_CLIENT Quit client session and leave job running.
FILESIZE Default filesize (bytes) for subsequent ADD_FILE commands
HELP Summarize interactive commands.
KILL_JOB Detach and delete job.
PARALLEL Change the number of active workers for current job.
PARALLEL=<number of workers>.
START_JOB Start/resume current job.
STATUS Frequency (secs) job status is to be monitored where
the default (0) will show new status when available.
STATUS[=interval]
STOP_JOB Orderly shutdown of job execution and exits the client.
STOP_JOB=IMMEDIATE performs an immediate shutdown of the
Data Pump job.And AFAIK= As Far As I Know
http://www.google.co.in/search?rlz=1C1GGLS_en-ININ355IN355&sourceid=chrome&ie=UTF-8&q=afaik
HTH
Aman.... -
Writing procedure using table name as parameter
I want to write a procedure to sample size any table. It could be employees, departments, etc. It will not know anything about the table (what table, columns, datatypes) until it is called.
I want to invoke it sample_size(table_name_in, table_name_out, sample_sz).
Table_out will be created and empty. It will determine the columns to be selected from table_in.
It is a given that all columns in table_out exist in table_in with same name/datatypes.
Pseudocoding:
determine increment using size of table_in and sample_sz
build out_var list from table_out
select out_list from table_in
for (rows in table_in) loop by increment
insert into table_out
end for
I wrote function to get cursor:
create or replace
FUNCTION get_cursor
(table_nm IN VARCHAR2,
flds IN VARCHAR2)
RETURN sys_refcursor
IS
cur sys_refcursor;
vQry VARCHAR2(4000);
BEGIN
vQry := 'SELECT ' || flds || ' FROM ' || table_nm;
OPEN cur FOR vQry;
RETURN cur;
END get_cursor;
What I cannot figure out is how to define rowtype in calling procedure:
PROCEDURE
sample_size( table_in IN VARCHAR2,
table_out IN VARCHAR2,
sample_sz IN NUMBER )
IS
c1 sys_refcursor;
vInto VARCHAR2(4000);
BEGIN
-- code to get variables desired into variable vInto (I know how to do this)
c1 := get_cursor(table_in,vInto);
LOOP
FETCH c1;
EXIT WHEN c1%NOTFOUND;
-- code to decide wether to insert row into table_out
END LOOP;
CLOSE c1;
END sample_size;
I get error on FETCH c1; line:
Error(47,15): PLS-00103: Encountered the symbol ";" when expecting one of the following: . into bulk
All discussions I found about subject will have something similar to:
Rec emp%rowtype
and then
fetch c1 into Rec
None of the discussions showed me how to process an unknown table.
If tomorrow someone tells me to sample_size table CITIES, I want to use function without having to change it.
This is my first post. I hope I gave enough information. Thanks for any answer.Welcome to the forum.
If yours is not an exercise why you don't want to use just
<tt><b>[url http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_10002.htm#SQLRF01702]select * from table_name {sample_clause}</b></tt> ;)
Regards
Etbin -
Report data binding error unknown column name
Hi,
I am having a problem with the new 7.02 update of Report
Builder. The issue is it's not finding my SQL query.
I have wrote my query initally in the advance mode, and it
doesn't seem to reconize it. Is there an issue with this?
I did manage to fix one of my reports by using the basic mode
and selecting all my tables and seting my linkage and criteria.
I have other computers that i have not updated to 7.02 and
they do not have this issue. Below is the error:
Error Occurred While Processing Request
Report data binding error Unknown column name : work_phone.
Please try the following:
Check the ColdFusion documentation to verify that you are
using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
.NET CLR 1.1.4322; .NET CLR 2.0.50727)
Remote Address 127.0.0.1
Referrer
Date/Time 13-Jul-06 02:33 PM
Stack Trace (click to expand)
coldfusion.runtime.report.Report$ReportDataBindingException:
Report data binding error Unknown column name : work_phone.
at
coldfusion.runtime.report.Report.runReport(Report.java:420)
at
coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
at
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at
coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
This report works in 7.01. So all query variables match with
a variable in the SQL select statement.
Anyone have any Ideas??
Thanks,
DanielThank you very much for help.
The "Unknown column name " is a field still used in my
report, so I can't remove it.
After I clear the query in the report and reopen the report
and apply the same query back to it, I get different error message:
Element TASKNUM is undefined in QUERY.
The error occurred in : line 1
-1 : Unable to display error's location in a CFML template.
I know for sure this "Element TASKNUM is undefined in QUERY."
is defined in query. each time it complains something different. I
get really confused.
Thanks again.
Yueming -
Unknown Column Name "XYZ" not detemined untill runtime.Select query.
Hi,
I have written a query in ABAP.I am getting following error.Can some one help me resolve this.There is a column "LANDX" in standard table T005 of PI which i need to get values from. The problem is that the column is visible only at runtime and not otherwise.How can i fetch data from this coulmn writing a select query for this.
Query written is:
SELECT landx from T005 into table it_t005.
Error:
"Unknown column name "XYZ" not determined untill runtime,you cannot specify a field list."Hi Deepika u were right. that there is a landx field but it is included in that table.
so u cant exactly get it.
now u can get ur country name and iso code just like this.
tables: t005t , t005.
data: BEGIN OF it OCCURS 100,
landx like t005t-landx,
intca like t005-intca,
END OF it.
SELECT t005t~landx t005~intca into CORRESPONDING FIELDS OF TABLE it
from T005t
INNER JOIN t005 on ( t005t~land1 = t005~land1 ).
it is fulfilling ur need.
Edited by: Matt on Feb 3, 2009 7:49 AM - Please don't use txtspk -
Dynamic Table name in Inner Join in 4.6c
data: tab1(10) type c value 'MARA',
tab2(10) type c value 'MAKT'.
data: dbtab1(10) type c,
dbtab2(10) type c .
dbtab1 = tab1.
dbtab2 = tab2.
DATA: BEGIN OF itab occurs 0,
matnr TYPE mara-matnr,
maktx type makt-maktx,
END OF itab.
DATA: column_syntax TYPE string,
dbtab_syntax TYPE string.
PARAMETERS: p_matnr TYPE mara-matnr.
dbtab_syntax = '( (dbtab1) AS t1 '
&' INNER JOIN (dbtab2) AS t4 ON t1MATNR = t4MATNR )'.
SELECT matnr maktx
FROM (dbtab_syntax)
INTO TABLE itab WHERE t4~matnr = p_matnr.
Got the following error:
"A table name, specified in an SQL command, is unknown"
It seems not able to read dynamic table name in dbtab_syntax.
thanks
anya
Moderation Message: Duplicate Post.
Edited by: kishan P on Nov 29, 2010 11:17 AMHi,
Check this link.
[http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb39c4358411d1829f0000e829fbfe/frameset.htm]
[Re: accessing dynamic internal table's fields??;
hope it'll help u.
Regards,
Sneha.
Edited by: sneha kumari on Jun 18, 2009 1:57 PM
Maybe you are looking for
-
0vtype =20 (plan data) not populating to cube but present in psa
Hello Experts, I have a requirement in BW 3.5 where in I need to create a report on multiprovider which should give the actual data,plan data and the difference between actual and plan data for some key figures. The data flow is like this There are t
-
I cant get Fourth Elephant (Insider for SQL Developer)
hi,guys please, help me. I want to user insider for sql developer of fourth elephant. but I cant access http://fourthelephant.com/sqldeveloper/download/ who used it? thanks.
-
Sharepoint 2007 - Turning off warning notification + additional check in/out information
Scenario: Open file at 9am, leave open (to read) till 12p, then check out. Upon checking out, it will give you a warning to use the most current version. If the warning is ignored, the 9am version + whatever changes you will make will overwrite the n
-
Creating a component in Flash CS5
Hi, How can I create a component using Flash CS5? I have tried to follow various documents I have found on google and went about it in the following way: 1. I created an empty FLA. 2. I created a MovieClip containing some graphics, and named the Movi
-
hi, I have Acrobat 10, use it on 2 computers as per the license. I am giving one computer away, would like to keep my Acrobat 10 access and use on a different laptop. I have the serial numbers etc. How do I do it? Can I do it?