IMPDP / EXPDP unknown command
Hi,
I don't use oracle databases for a long time and I am not a DBA. Now I am using it again with the following environment: there is a server with a huge database Oracle 10g EE and I am developing an application that uses a part of this. I have Oracle 10g XE on my development machine and I want to use expdp/impdp to copy the tables I am interested in into my machine.
My problem is that I get a SP2-0042 error telling me that the command is unknown (in both server and dev machine). From what I understood the datapump should be available in both versions. Does anyone can help me?
Thank you,
Rui
Expdp/impdp are separate utilities and not subcommands in sqlplus. I recommend you read the documentation.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/part_dp.htm#i436481
Werner
Similar Messages
-
"SP2-0734: unknown command..." error while importing a dump file
hello,
i want to import a dump file into my database named orcl, and i come accross the same error after executing the import command. my import command is:
SQL> imp mvdemo/mvdemo file=mvdemo.dmp full=y ignore=y
i use oracle 10g enterprise edition.
i created the user mvdemo/mvdemo.
the error i see in my screen is:
SP2-0734: unknown command beginning "imp mvde..." - rest of line ignored.
for a long period of time, i havent used oracle dbms. before, i remember that i used enterprise manager in import/export processes. however, i am not able to find the enterprise manager in 10g options now. do i have to install the enterprise manager seperately in oracle 10g enterprise edition? may this problem be relational with this matter?
if someone could answer, i would be greatful.
best regardsImport is run from the command prompt, not the SQL prompt.
-
Error: Could not complete your request because an unknown command was encountered.
I've been working on a file in FreeHand 11 for a few months
now, and for some reason after saving and closing the file about a
week ago, I can no longer open it - on either of my computers (both
PCs, one running XP, one running Vista). When I attempt to do so, I
am presented with the following error message:
Could not complete your request because an unknown command
was encountered.
Is there any possible way to fix this?Haha. I know. I was stupid... The last backup of the file is
four months old. Unfortunately I've done quite a lot of work on it
since then...
One interesting thing though, is that I can still see the
thumbnail picture in Windows Explorer. Also, I'm able to open the
file with Fireworks, but none of the hidden layers (most of my
work) are there.
I just tried to open it again on my desktop. Same error
message (but in German)...:
"Ihre Anforderung konnte nicht ausgeführt werden. Ein
unbekannter Fehler ist aufgetreten." :S -
Sql select with concate of columns SP2-0734: unknown command beginning
I am running a ksh script that does some dumpster diving and pull records out.
It is basically reading a file does a select and at the end, you will see $i.
AND ORD_ORDER.ADV_ORDER_TEXT_FIELD_568='$';
I can run the script manually. (without the while loop)
But, when I run it thru the script I get a whack of errors.
SP2-0734: unknown command beginning "FROM ADVXR..." - rest of line ignored.
SP2-0734: unknown command beginning "ADVXRT_HDB..." - rest of line ignored.
SP2-0734: unknown command beginning "ADVXRT_HDB..." - rest of line ignored.
SP2-0734: unknown command beginning "ADVXRT_HDB..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
What I need it to do is pull the selected records out and place in a file.
Script
cat $TICKETS_MISMATCH |while read i
do
$SQLPLUS -silent "advxrt_hdb/$LOGONID@hdb" <<EOF >$TICKETS_MISMATCH_FULL
set feedback off
set verify off
set echo off
set heading off
set pagesize 7010
SELECT ORD_ORDER.ADV_ORDER_TEXT_FIELD_568
|| ','
|| ORD_ORDER.ORDER_NUM
|| ','
|| ORD_ORDER.ADV_ORDER_SUMMARY_FIELD_012
|| ','
|| LAB_USER.NAME
|| ','
|| LAB_USER.LOGON_ID
|| ','
|| LAB_USER.ADV_EXTENDED_USER_FIELD_001
|| ','
|| TO_CHAR(MOBILECOMP1_SR.ADV_COMPLETION_TIME_FIELD_001, 'HH24:MI:SS')
|| ','
|| TO_CHAR(MOBILECOMP1_SR.ADV_COMPLETION_DATE_FIELD_001, 'DD-MON-YYYY')
|| ','
|| MOBILECOMP1_SR.ADV_COMPLETION_NOTES_FIELD_001
|| ','
|| MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_003
|| ','
|| MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_013
|| ','
|| MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_014
|| ','
|| MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_023
|| ','
|| ORD_JOB_CODE.NAME
|| ','
|| ROUND(ASN_ASSIGNMENT.TOTAL_TIME_EN_ROUTE / 60,0)
|| ','
|| ROUND(ASN_ASSIGNMENT.TOTAL_TIME_ON_SITE / 60,0)
FROM ADVXRT_HDB.LAB_USER,
ADVXRT_HDB.SR_REPORT,
ADVXRT_HDB.ASN_ASSIGNMENT,
ADVXRT_HDB.ORD_ORDER,
ADVXRT_HDB.MOBILECOMP1_SR,
ADVXRT_HDB.ORD_JOB_CODE
WHERE (ASN_ASSIGNMENT.ASSIGNMENT_ID = SR_REPORT.ASSIGNMENT)
AND (ASN_ASSIGNMENT.FOR_ORDER = ORD_ORDER.ORDER_ID)
AND (MOBILECOMP1_SR.MOBILE_COMP1_ID = SR_REPORT.RECORD_NUMBER)
AND (ORD_ORDER.JOB_CODE = ORD_JOB_CODE.JOB_CODE_ID)
AND (SR_REPORT.USER_ID = LAB_USER.USER_ID(+))
AND ORD_ORDER.COMPLETED BETWEEN ((TO_DATE('${date_entered} 00:00:00','YYYY-MM-DD HH24:MI:SS')) - ((SELECT DECODE
(UTC_OFFSET, NULL, 0, UTC_OFFSET) FROM TZ_UTC_TO_LOCAL TZ WHERE (TO_DATE
('${date_entered} 00:00:00','YYYY-MM-DD HH24:MI:SS') BETWEEN TZ.STARTS_UTC AND
TZ.ENDS_UTC)AND TZ.TIME_AUTHORITY = 1000264000000000000000000013))/(24*60*60))
AND
((TO_DATE('${date_entered} 11:59:59','YYYY-MM-DD HH24:MI:SS')) - ((SELECT DECODE
(UTC_OFFSET, NULL, 0, UTC_OFFSET) FROM TZ_UTC_TO_LOCAL TZ WHERE (TO_DATE
('${date_entered} 11:59:59','YYYY-MM-DD HH24:MI:SS') BETWEEN TZ.STARTS_UTC AND
TZ.ENDS_UTC)AND TZ.TIME_AUTHORITY = 1000264000000000000000000013))/(24*60*60))
AND ORD_ORDER.ADV_ORDER_TEXT_FIELD_568='${i}';
exit;
EOF
doneSQL> DEFINE sqlplusrelease
DEFINE SQLPLUSRELEASE = "1002000200" (CHAR)
cat $TICKETS_MISMATCH |while read i
do
$SQLPLUS -silent "advxrt_hdb/$LOGONID@hdb" <<EOF >>$TICKETS_MISMATCH_FULL
set feedback off
set verify off
set echo off
set heading off
set pagesize 7010
SET SQLBLANKLINES ON
SELECT ORD_ORDER.ADV_ORDER_TEXT_FIELD_568
|| ','
|| ORD_ORDER.ORDER_NUM
|| ','
|| ORD_ORDER.ADV_ORDER_SUMMARY_FIELD_012
|| ','
|| LAB_USER.NAME
|| ','
|| LAB_USER.LOGON_ID
|| ','
|| LAB_USER.ADV_EXTENDED_USER_FIELD_001
|| ','
|| TO_CHAR(MOBILECOMP1_SR.ADV_COMPLETION_TIME_FIELD_001, 'HH24:MI:SS')
|| ','
|| TO_CHAR(MOBILECOMP1_SR.ADV_COMPLETION_DATE_FIELD_001, 'DD-MON-YYYY')
|| ','
|| MOBILECOMP1_SR.ADV_COMPLETION_NOTES_FIELD_001
|| ','
|| MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_003
|| ','
|| MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_013
|| ','
|| MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_014
|| ','
|| MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_023
|| ','
|| ORD_JOB_CODE.NAME
|| ','
|| ROUND(ASN_ASSIGNMENT.TOTAL_TIME_EN_ROUTE / 60,0)
|| ','
|| ROUND(ASN_ASSIGNMENT.TOTAL_TIME_ON_SITE / 60,0)
FROM ADVXRT_HDB.LAB_USER,
ADVXRT_HDB.SR_REPORT,
ADVXRT_HDB.ASN_ASSIGNMENT,
ADVXRT_HDB.ORD_ORDER,
ADVXRT_HDB.MOBILECOMP1_SR,
ADVXRT_HDB.ORD_JOB_CODE
WHERE (ASN_ASSIGNMENT.ASSIGNMENT_ID = SR_REPORT.ASSIGNMENT)
AND (ASN_ASSIGNMENT.FOR_ORDER = ORD_ORDER.ORDER_ID)
AND (MOBILECOMP1_SR.MOBILE_COMP1_ID = SR_REPORT.RECORD_NUMBER)
AND (ORD_ORDER.JOB_CODE = ORD_JOB_CODE.JOB_CODE_ID)
AND (SR_REPORT.USER_ID = LAB_USER.USER_ID(+))
AND ORD_ORDER.COMPLETED BETWEEN ((TO_DATE('${date_entered} 00:00:00','YYYY-MM-DD HH24:MI:SS')) - ((SELECT DECODE
(UTC_OFFSET, NULL, 0, UTC_OFFSET) FROM TZ_UTC_TO_LOCAL TZ WHERE (TO_DATE
('${date_entered} 00:00:00','YYYY-MM-DD HH24:MI:SS') BETWEEN TZ.STARTS_UTC AND
TZ.ENDS_UTC)AND TZ.TIME_AUTHORITY = 1000264000000000000000000013))/(24*60*60))
AND
((TO_DATE('${date_entered} 11:59:59','YYYY-MM-DD HH24:MI:SS')) - ((SELECT DECODE
(UTC_OFFSET, NULL, 0, UTC_OFFSET) FROM TZ_UTC_TO_LOCAL TZ WHERE (TO_DATE
('${date_entered} 11:59:59','YYYY-MM-DD HH24:MI:SS') BETWEEN TZ.STARTS_UTC AND
TZ.ENDS_UTC)AND TZ.TIME_AUTHORITY = 1000264000000000000000000013))/(24*60*60))
AND ORD_ORDER.ADV_ORDER_TEXT_FIELD_568='${i}';
exit
EOF
done -
How to redirect imp/exp or impdp/expdp output
Hello,
I'm sorry for that, if this forum not the right place for this posting, but I hope that some one has this problem too.
I've an application written in C# (an windows.forms app) that calls imp/exp or impdp/expdp (depends on user). I need the output of this tools in my app.
Thank a lot for any help.user9099355 wrote:
Hello,
I'm sorry for that, if this forum not the right place for this posting, but I hope that some one has this problem too.
I've an application written in C# (an windows.forms app) that calls imp/exp or impdp/expdp (depends on user). I need the output of this tools in my app.
Thank a lot for any help.EXPDP/IMPDP:-
[oracle@adg disks]$ expdp system/manager schemas=scott directory=DATA_PUMP_DIR logfile=scot_exp.log
Export: Release 11.2.0.1.0 - Production on Tue Oct 4 14:36:54 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** schemas=scott directory=DATA_PUMP_DIR logfile=scot_exp.log
[oracle@adg disks]$ cd /u01/app/oracle/admin/adg/dpdump/
[oracle@adg dpdump]$ ls -lt scot_exp.log
-rw-r--r-- 1 oracle dba 1965 Oct 4 14:38 scot_exp.log
[oracle@adg dpdump]$exp/imp:-
[oracle@adg dpdump]$ exp system/manager file=exp_schema.log log=exp_schema_trad.log owner=scott
Export: Release 11.2.0.1.0 - Production on Tue Oct 4 14:38:53 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion)
[oracle@adg dpdump]$ ls -lt exp_schema_trad.log
-rw-r--r-- 1 oracle dba 1774 Oct 4 14:39 exp_schema_trad.log
[oracle@adg dpdump]$or
nohup exp system/manager file=exp_schema.dmp owner=scott > exp_schema_test.log
+[oracle@adg dpdump]$ ls -ltr exp_schema_test.log+
-rw-r--r-- 1 oracle dba 1922 Oct 4 14:40 exp_schema_test.log
+[oracle@adg dpdump]$+ -
hi my problem is that i am creating a maze game. the maze is a 2d array of integers. and fed in threw a reader and loaded.
static void play(){
try {
//creates a buffered reader
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
//boolean varible is set to true when the program is running until exit is typed
boolean running = true;
while (running){
//a new String varible which is used for input
String line = in.readLine();
//when the game is being played a line string says you typed. + line
//the +line is what the user typed
System.out.println("You typed "+line);
//if the user types south call the south method;
if(line.startsWith("south")){
south();
//if the user types east call the east method
else if(line.startsWith("east")){
east();
//if the user types west call the west method
else if(line.startsWith("west")){
west();
//if the user types north then call the north method
//this is not case sensitive
else if(line.equalsIgnoreCase("north")){
north();
// check if they have reached the goal
if(currentX == goalX && currentY == goalY)
System.out.println("You have reached the goal!");
//print out the maze after each turn(this was only used for testing purposes)
print();
//if the user types exit then change the value of running to false and exit the java console
//it also calls the equalsIgnoreCase this method will allow entry in any case
if (line.equalsIgnoreCase("exit")){
running = false;
// else
// System.out.print( "Unknown command: " + line );
the problem is that if the user types in an invalid command i want to display this error message.
when i run the program however i get the error every time even though the move happens the error message is still displayed. i only want the error message to display when an invalid command is typed
i am a beginner so please use basic language.
thanks jonUse the code formatting tags when you post code.
hi my problem is that i am creating a maze gameTrue, if you weren't creating a game, you'd probably have no problem.
threw a readerWhere did you throw it?
i am a beginner so please use basic language. Put your "unknown command output" and exit check blocks directly after the check for "north" -
Strange SP2-0042: unknown command in sqlplus
Hello everyone,i was attemptting to execute a sql statement from an external file. But i got "SP2-0042: unknown command "ï»? - rest of line ignored.". It's works with ANSI but can not based on UTF8 encoding.My file only contains as following :
spo db_changesfff.log
SPO OFF
Anyone has ideas?thanks in advance!!We had this problem as well and we noticed that the script file that contained the UTF-8 had two FF FE magic numbers at the beginning of the file. View your file in HEX mode of your text editor and verify that a single FF FE is at the beginning of the file. We created our UTF-8 file using Notepad. This seems to put two FF FE's in the file header. When we removed one set of FF FE, everything worked just fine.
-
Mysql Unknown Command Error:
Hi, I have a New website jokes.randhawaworld.com but i am
hacing severe mysql errors and that are related to:
Error Executing Database Query.
Communication link failure: Unknown command
I ceated a Support Ticket and They said they enabled the
Robust Exception handling to dig around. I checked and my queries
were causing trouble, i changed the values of some queries to
hardcore it they worked but when they were made dynamic it
generated error. Slowly all my queries were getting errors. May be
my 1 query could be wrong not all.
Can anyone please tell what is going wrong with Me.
vist at: jokes.randhawaworld.com to see its contents
Also I made the website using AJAX but no sign of Ajax is
shown on the webpage. i am in a shared host with hostingtoaz
Plz guide me
Thanksnightwolf666 wrote:
> Hi, I have a New website jokes.randhawaworld.com but i
am hacing severe mysql
> errors and that are related to:
>
> Error Executing Database Query.
> Communication link failure: Unknown command
Using cfgoogle returns
http://gm22.net/2006/09/22/communication-link-failure-unknown-command/
Mack -
Unknown Command when opening a file
When I try to open a file created in freehand it tells me
"could not complete your request because an unknown command was
encountered." I get this message on a lot of files. However, when I
go to "my computer" and open the folder containing the file you can
see the thumbnail and the file is there. I need help.> When I try to open a file created in freehand it tells
me "could not complete
> your request because an unknown command was
encountered." I get this message
> on a lot of files. However, when I go to "my computer"
and open the folder
> containing the file you can see the thumbnail and the
file is there. I need
> help.
In most cases, it seems, it is about fonts. FreeHand can't
find the font used in the document and stumbles in the replace
function (dialog). Also FreeHand saves information about default
printer (?!?!) and may get confused there too.
If you know the fonts used, install, if not reduce the number
of installed fonts to minimum. Also try to import into new document
like Judy suggested.
If you have (access to) Illustrator CS3 try to open the files
with it. If it works you'll know at least the file is ok.
Thumbnail is probably the last survivor when the rest of the
file gets corrupted.
Jukka -
Unknown command beginning "shutdown i
Hi dbaguru,
Can any one provide me solution. i unable to shutdown my dabase it showing below message when i make my database into downmode.
SQL*Plus: Release 8.0.6.0.0 - Production on Tue Aug 19 14:19:58 2008
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter user-name: sys as sysdba
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
unknown SET option beginning "SQLPLUSCOM..."
SQL> shutdown immediate
unknown command beginning "shutdown i..." - rest of line ignored.It looks like you are using Sqlplus from Oracle 8 to shutdown an Oracle 9 database.
I think you should logout and check your environment to make sure you are using the correct sqlplus to connect to the correct database. -
EXEC DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE -- Unknown Command ??
Hi,
I am trying to create queues as explained here
http://www.akadia.com/services/ora_advanced_queueing.html
but I am running into this problem.
Any ideas how to solve it?
Thanks!!
EXEC DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
privilege => 'ENQUEUE_ANY',
grantee => 'my_aq_user_role',
admin_option => FALSE
Error starting at line 1 in command:
EXEC DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
Error report:
ORA-06550: rad 1, kolumn 41:
PLS-00103: Påträffade symbolen ";" då en av följande förväntades:
+ case mod new not null <an identifier>
<a double-quoted delimited-identifier> <a bind variable>
table continue avg count current exists max min prior sql
stddev sum variance execute multiset the both leading
trailing forall merge year month day hour minute second
timezone_hour timezone_minute timezone_region timezone_abbr
time timestamp interval date
<a string literal with character set specification>
<a nu
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
Error starting at line 2 in command:
privilege => 'ENQUEUE_ANY',
Error report:
Unknown Command
Error starting at line 3 in command:
grantee => 'my_aq_user_role',
Error report:
Unknown Command
Error starting at line 4 in command:
admin_option => FALSE
Error report:
Unknown Command
Error starting at line 5 in command:
Error report:
Unknown CommandLook at this example.
SQL> ed
Wrote file afiedt.buf
1 begin
2 DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
3 privilege => 'ENQUEUE_ANY',
4 grantee => 'HR',
5 admin_option => FALSE
6 );
7* end;
SQL> /
PL/SQL procedure successfully completed.
SQL> EXEC DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('ENQUEUE_ANY','HR',FALSE);
PL/SQL procedure successfully completed.
SQL> exec DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(privilege => 'ENQUEUE_ANY',grantee => 'HR',admin_option => FALSE);
PL/SQL procedure successfully completed.
SQL> EXEC DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
BEGIN DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(; END;
ERROR at line 1:
ORA-06550: line 1, column 41:
PLS-00103: Encountered the symbol ";" when expecting one of the following:The problem is when you copied the example, you copied with "enter" character. -
hello all..
while trying opening a file created in MAC, in my p.c i got a
unknown command error.
the strange thing is that in the preview i can see the file
but i can't open it.
i send this fle to my friend and he opend it in his p.c with
no problem
what can i do ????????
please help me...OK,
There are two places to check. Actually two type of places to check.
1) Go to the iChat > Preferences > Alerts section.
Check every potential setting in the top drop down with whether it has a AppleScript setting checked in the box below.
2) Click once on every Buddy (in turn) then hit the Apple key and I together to get the Info card up.
Go to the Alerts tab.
Repeat 1) (This is because you can set the Alerts Individually as well as Globally in 1) )
Once you have found and removed any setting to Use one of the AppleScripts you can then use the iChat > Preferences > Alerts section to open the Scripts Folder and open the Scripts with AppleScript Editor (Just Double Click them) and check them for changes (there is an Auto Accept that is phrased to cope with all types of chats and Screen Sharing invites there is also an Auto decline)
If this fails to work you will have to delete com.apple.ichat.plist
This will mean making your Settings again in all the Preferences as you Lose Alerts settings, Font choice, Font Colour, Bubble colour, whether the Menu Bar icon is showing, Whether Transcripts are Saved and so on. You also lose any Personal or Individually set Alerts.
Outside of the Preferences you will also lose any Saved Status Messages you have Created.
You will not lose your Buddy List or your Buddy pic or those of your Buddies.
(You may lose Animation if set it.)
My guess would be that the choice for Message Sent has an Applescript check against it and that the AppleScript it is connected to is nothing to do with Sending.
8:27 PM Monday; December 1, 2008 -
SP2-0042: unknown command "UNION" - rest of line ignored.
I used sql script for creating DB structure on Oracle 8 with no errors.
I got "SP2-0042: unknown command "UNION" - rest of line ignored" error on Oracle 9i.
Do you anybody tell me whats wrong ?Sorry, I had technical problems to access this formu to response.
My script (part):
CREATE VIEW ARVALUE
AS
SELECT IDVALUE FROM DBVALUE;
CREATE VIEW AWVALUE
AS
SELECT DBVALUE.IDVALUE FROM DBVALUE, AWOBJECT
WHERE DBVALUE.IDOBJECT = AWOBJECT.IDOBJECT;
CREATE VIEW BSOBJECTUSAGE
AS
SELECT IDOBJECT_CHILD AS IDOBJECT, IDOBJECT_PARENT AS REFERRER
FROM OBJECTREF
WHERE OBJECTREF.ACTIVE <> 0
UNION
SELECT IDOBJECT_TEMPLATE AS IDOBJECT, IDOBJECT AS REFERRER
FROM DBVALUE
WHERE (DBVALUE.ACTIVE <> 0) AND (STORAGETYPE = 2)
UNION
SELECT IDOBJECT_DIAGEXT AS IDOBJECT, IDOBJECT AS REFERRER
FROM DBVALUE
WHERE (DBVALUE.ACTIVE <> 0) AND (STORAGETYPE = 5);
Log file (part)
View created.
View created.
SP2-0042: unknown command "UNION" - rest of line ignored.
SP2-0042: unknown command "UNION" - rest of line ignored.
no rows selected
View created.
if I understand, better
is:
CREATE VIEW BSOBJECTUSAGE
AS
SELECT IDOBJECT_CHILD AS IDOBJECT, IDOBJECT_PARENT AS REFERRER
FROM OBJECTREF
WHERE OBJECTREF.ACTIVE <> 0
UNION SELECT IDOBJECT_TEMPLATE AS IDOBJECT, IDOBJECT AS REFERRER
FROM DBVALUE
WHERE (DBVALUE.ACTIVE <> 0) AND (STORAGETYPE = 2)
UNION SELECT IDOBJECT_DIAGEXT AS IDOBJECT, IDOBJECT AS REFERRER
FROM DBVALUE
WHERE (DBVALUE.ACTIVE <> 0) AND (STORAGETYPE = 5); -
Unknown command beginning "recover da..." - rest of line ignored
Hi.
I have one corrupted datafile (status column from v$datafile have value 'RECOVER' for it and I get ORA-01113, ORA-01110 when I try to get it online). It seems I need manually recover datafile via 'RECOVER DATAFILE' command. However when I issue it in SQL*Plus I get: 'unknown command beginning "recover da..." - rest of line ignored.'.
I have Oracle 8.0.5 Database.
ThxIs this production server If yes 'DON'T touch and get away from that key board' in tom words.
and take a oracle support if you are not familer with recover command.
In case its your testing enviornment the you can take the corrupt datafile offline restore the new from latest backup and for this you should have all archive log from the date of last backup.
after restoring datafile use recover command.
http://www.iselfschooling.com/mc4articles/mc4recovery.htm
go through following link for step by step recovery. -
hei!
I have a simple SessionBean, deployed to remote OC4J.(the bean is tested locally and is fine)
using Jdeveloper, I create a client to call my sessionBean methods.
If I create the client to run agains the embedded oc4j, it works fine.
If I create a client that runs agains the remote oc4j, I get this error:
com.evermind.server.rmi.RMIConnectionException: Unknown command: 0
and a lot of
java.lang.Object com.evermind.server.rmi.RemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
appreciate your help
Regards
RTRussel ,
Have you started remote OC4J Server? Also can you able to browse
JNDI tree of Remote OC4J Server from JDeveloper?
Also provide following information in order to understand your problem fully
1. Which OC4J version you are using?
2. Platform in which you are testing your application?
3. Provide full stack trace of error that you are getting
Cheers
--Venky
Maybe you are looking for
-
Jspdynpage font color and legend
Ineed to change color of font in jspdynpage application.Any idea 2) when i click on the column heading it should show a popup showing legend for what it stands for? Any help will be appreaciated,
-
Archiving of shopping cart with attachments
Hi All, Can anyone explain archiving of shopping carts with context of attachments. We are storing the attachments added to the SC in SRM server itself. This is happening as per stanndard SAP. We are observing that a when we archive SC, the associate
-
How to download ios 4.3 on my ipod touch
i
-
Flash Player for Iphone out yet?
I was reading articles back in 2008 that Adobe was developing a Flash Player for the Iphone. However, the latest article I came across, dated April 2009 said basically it was up to Apple to say "We want Flash for the Iphone" Does anyone know what the
-
I have a simple roll-over and upon click I'd like for a small window to pop up. After I create the page and the roll-over and pop-up, I test it to find it isn't acting as expected. Instead of onr pop-up, I get at least three and they are all of diffe