Ang: SQL Loader Commit Point?

2001-12-03 Thread Roland . Skoldblom


Well,

you can runt the sqllodader again and then include this line after the name ofthe 
control file.

 log = C:\temp\error.log

and that creates a logfile where you can see what has happened. The problem you are 
having can be caused
 by invalid length of the datafield in the database, or you have tried to insert a 
nullvalue inthe database where there is a constraint.

Hope this helps

Roland









Ken Janusz <[EMAIL PROTECTED]>@fatcity.com den 2001-12-03 13:33 PST

Sänd svar till [EMAIL PROTECTED]

Sänt av:  [EMAIL PROTECTED]


Till: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
Kopia:

I am working on a control script that I have restricted to only loading 5
records as a test.  Basically I am taking data from the load file and
putting it into a table SQL Loader runs and gives me this.

-

SQL*Loader: Release 8.1.7.0.0 - Production on Mon Dec 3 15:22:26 2001

(c) Copyright 2000 Oracle Corporation.  All rights reserved.

Commit point reached - logical record count 5

--

When I do a select on this table I get no rows selected.

I don't get an error message from SQL Loader.

So any ideas as to what the problem is?

Thanks,
Ken Janusz, CPIM
Database Conversion Lead
Sufficient System, Inc.
Minneapolis, MN

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ken Janusz
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).









--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: how to pass argument to a dos batch program from sqlplus

2001-12-03 Thread Nirmal Kumar Muthu Kumaran
Title: RE: how to pass argument to a dos batch program from sqlplus





Have you been tried for it?


It'll work fine.



-Original Message-
From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, December 04, 2001 5:25 AM
To: Multiple recipients of list ORACLE-L
Subject:    how to pass argument to a dos batch program from sqlplus


Hello List,
I need to pass several arguments to a dos batch program which is being
called from sqlpus through HOST command.  
Example: host mybatch.bat myargument myargument
Would such idea work?
Thank you.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]


Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California    -- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).





Listener

2001-12-03 Thread Roland . Skoldblom

Hallo,

Can anybody tell me simply how the listener works?

Thanks in advance

Roland S



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: Anybody heard Oracle will remove the JVM from Oracle in

2001-12-03 Thread Steven Lembark



-- Jared Still <[EMAIL PROTECTED]>

>
>> DBI is your friend :-) Now that they've combined svrmgrl
>> into the sqlplus engine there isn't anything you can't
>> do through DBD::Oracle (or the shell if really necessary).
>
> Yeah, this has some very cool implications.  It would be possible
> to start and stop your databases remotely via DBI/DBD::Oracle.
>
> Centralized remote management ala Perl!
>
> Throw in some Apache and some mod_perl, write a fairly
> decent app...
>
> Hmmm...   Like OEM but manageable.  :{)

The current Oracle distro. comes with Apache and mod_perl.
Throw in CPAN and the database can almost run itself.


--
Steven Lembark   2930 W. Palmer
Workhorse Computing   Chicago, IL 60647
+1 800 762 1582
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Steven Lembark
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: Anybody heard Oracle will remove the JVM from Oracle in future

2001-12-03 Thread Steven Lembark



-- Jared Still <[EMAIL PROTECTED]>

>> Unlikely they'll actually dump java. If Oracle would simply
>> SUPPORT DBI it'd be worth something...

> I think they do.  Isn't it included now in the 9i version of iAS ?

It is there. What I don't know is how well supporte it is.
Say you call up with a question on why DBI isn't handling
the placeholders properly or can't execute a database
startup. Are they going to work through a solution or just
tell you to email the dbi list?

Or has anyone tried this and gotten some sort of result yet?

--
Steven Lembark   2930 W. Palmer
Workhorse Computing   Chicago, IL 60647
+1 800 762 1582
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Steven Lembark
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: _delete_me=true

2001-12-03 Thread Deepak Thapliyal

gee what is ping? oh yeah maybe thomas needs to know
that;)

its been a long day .. dont mind !!!


--- "Mercadante, Thomas F" <[EMAIL PROTECTED]>
wrote:
> Gee, how do I unsubscribe?  Oh-yeah!  Its at the
> bottom of every piece of
> mail!!!  
> Holy Cow BatMan!
> 
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).
> 
> 
> -Original Message-
> Sent: Monday, December 03, 2001 1:30 PM
> To: Multiple recipients of list ORACLE-L
> 
> 
> Does he think - UNSUBSCRIBE?
> 
> :-))
> On Mon  3. December 2001 18:55, you wrote:
> > _delete_me=true
> >
> > __
> > Do You Yahoo!?
> > Buy the perfect holiday gifts at Yahoo! Shopping.
> > http://shopping.yahoo.com
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: Jan Pruner
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California-- Public Internet
> access / Mailing Lists
>

> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: Mercadante, Thomas F
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California-- Public Internet
> access / Mailing Lists
>

> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).


__
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Deepak Thapliyal
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: simple sql problem

2001-12-03 Thread Nirmal Kumar Muthu Kumaran
Title: RE: simple sql problem





Hi...


You cann't run sql statement in command line directly However you can in case of script file.


Make the query as a script file.  Then run it on SQLPLUS.


-- c:\test.sql
-
select * from emp
/
exit
/
--


c:\> sqlplus -s scott/tiger@oranir @c:\test


This will work.


HTH.



Rgds,
Nirmal,

-Original Message-
From:   Viraj Luthra [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, December 04, 2001 8:11 AM
To: Multiple recipients of list ORACLE-L
Subject:    simple sql problem


Hello all,


Why cannot I do :-


sqlplus -s scott/tiger select * from emp;


or sqlplus -s scott/tiger "select * from emp;"


Both the cases I get :-


Usage: SQLPLUS [] [[/] [@]]    
   [@ [] [] ...]    
where  ::= { -s | -? }   
-s for silent mode and -? to obtain version number   



What is wrong above? I need to run the query from command line. How do I modify this :-


sqlplus -s scott/tiger select * from emp;



Rgds,




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Viraj Luthra
  INET: [EMAIL PROTECTED]


Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California    -- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).





RE: simple sql problem

2001-12-03 Thread Tatireddy, Shrinivas (MED, Keane)

try this


$ echo "select * from emp;" | sqlplus scott/tiger

srinivas

-Original Message-
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 2:31 AM
To: Multiple recipients of list ORACLE-L


You can't have the SQL statements on the command line.  You must put
them
in
a script file (eg myscript.sql) and execute it with the @ sign.
Thus,
sqlplus -s scott/tiger @myscript[note the SPACE between the "tiger"
and
the "@"].
Hemant



"Viraj Luthra" <[EMAIL PROTECTED]>  04/12/2001 01:10 PM
Sent by: [EMAIL PROTECTED]

Please respond to ORACLE-L
 

 To: Multiple recipients of list ORACLE-L
<[EMAIL PROTECTED]>   
 cc: (bcc: CHITALE Hemant Krishnarao/Prin DBA/CSM/ST Group)

 Subject: simple sql problem

 

 

 






Hello all,

Why cannot I do :-

sqlplus -s scott/tiger select * from emp;

or sqlplus -s scott/tiger "select * from emp;"

Both the cases I get :-

Usage: SQLPLUS [] [[/] [@]]
   [@ [] [] ...]
where  ::= { -s | -? }
-s for silent mode and -? to obtain version number


What is wrong above? I need to run the query from command line. How do I
modify this :-

sqlplus -s scott/tiger select * from emp;


Rgds,



--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Viraj Luthra
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




[This e-mail is confidential and may also be privileged. If you are not
the
intended recipient, please delete it and notify us immediately; you
should
not copy or use it for any purpose, nor disclose its contents to any
other
person. Thank you.]

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Tatireddy, Shrinivas (MED, Keane)
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: simple sql problem

2001-12-03 Thread Viraj Luthra

 Jared,

Using the 2nd option:-

sqlplus system/manager@orcl815 <   234567  Disconnected from Oracle8i Release 8.1.5.0.0 - 
Production
With the Java option   
 
PL/SQL Release 8.1.5.0.0 - Production  
 



But if I use the 1st option :-

eg

echo "SELECT a.username,  substr(sql_text,1,100), 
substr(sql_text,101,250),substr(sql_text,601,250),substr(sql_text,851,250),
substr(sql_text,1101,250)
FROM dba_users a, v$session, v$sqlarea where parsing_user_id=user_id AND 
address=sql_address(+)
and sid=15;"|sqlplus system/manager

I get this error:-

SQL>   234  FROM dba_users a, v, v where parsing_user_id=user_id AND 
address=sql_address(+)  
 * 
  
ERROR at line 3:   
  
ORA-00942: table or view does not exist
  
   
  

But if I execute the query on its own, I get proper results.

So in both cases I am not able to get results.

What am I doing wrong?

Rgds,
--

On Mon, 3 Dec 2001 21:38:36   
 Jared Still wrote:
>
>The way you're doing it sqlplus is trying to parse the SQL 
>as a command line argument, which will not work.
>
>Try these:
>
>1.
>
>echo "select * from dual;" | sqlplus scott/tiger
>
>2.
>
>sqlplus scott/tiger