Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can someone show some oracle sql stmt, I want to compare that with MYSQL in linux rh 9.0

1 view
Skip to first unread message

developer

unread,
Aug 9, 2003, 6:52:23 PM8/9/03
to
can someone show some oracle sql stmt, I want to compare that with MYSQL in
linux?
thanks!


DJ

unread,
Aug 9, 2003, 7:26:32 PM8/9/03
to

"developer" <deve...@earth.com> wrote in message
news:bh3u2u$sr...@imsp212.netvigator.com...

select * from emp;

happy now?

SQl is SQL is SQL, which ever db you use (in most cases), its a standard


Hans Forbrich

unread,
Aug 9, 2003, 9:30:33 PM8/9/03
to
developer wrote:

Look at http://otn.oracle.com/sample_code/content.html for some samples.
Anything that starts with 'SELECT', 'INSERT', 'UPDATE' or 'DELETE' is a SQL
statement. While you are there, yo might want to search for the DDL on 'EMP,
DEPT' and possibly check for 'schema definitions for SCOTT & HR' to help
understand the table definitions.

<soapbox>

Just be aware, the way many developer work:

- in a MySQL or PostgreSQL environment you typically a) write external programs
to interact with the database.

- in Oracle you can: a) write external programs to interact with the database;
b) write 'internal' programs to work inside the database space; c) have the
external programs in 'a)' leverage these extension; d) extend the database by
leveraging these internal programs; e) have external programs leverage the
extended database; and f) have the extended database interact with external
programs on it's own.

So far I have not found how to easily replicate the extra Oracle capabilities
in MySQL or PostgrSQL. AFAICT most of the others sem to stop at 'c)'.

</soapbox>

developer

unread,
Aug 9, 2003, 11:05:31 PM8/9/03
to

Hans Forbrich <forb...@telusplanet.net> wrote in message
news:3F359E32...@telusplanet.net...

normally I write php and use dbtools to interact with mysql table. I have
not use oracle before.

q1. is there any version of oracle suitable for installation in rh 9.0 ( the
server is co-location) and I have server with similar capacity at home for
testing.

q2. what is the external language for interact? ( the external language in
web-based is php) then apache to do the web -based programming.

( my first lanaguage is not english)
developer
>


Hans Forbrich

unread,
Aug 10, 2003, 12:32:20 AM8/10/03
to
developer wrote:

>
> normally I write php and use dbtools to interact with mysql table. I have
> not use oracle before.
>
> q1. is there any version of oracle suitable for installation in rh 9.0 ( the
> server is co-location) and I have server with similar capacity at home for
> testing.

You can download the latest version of Oracle free-of-charge from
http://otn.oracle.com. I strongly encourage using the latest version as the
older ones will all be out-of-full-support soon.

The latest version is Oracle9i Release 2. It is suitable for rh AS-2.1 and
other certified combinations (as well as Windows, every unix that matters,
etc.). People have tried to install on rh9 and there seem to be some install
headaches - suggest you web-search on 'oracle install red hat'

>
> q2. what is the external language for interact? ( the external language in
> web-based is php) then apache to do the web -based programming.

I suspect you are in for a bit of a learning curve. Please look at the sample
code and the documentation areas of http://otn.oracle.com. I strongly encourage
you to read chapters 1-3 of the Oracle Concepts Manual found in the
documentation section (http://otn.oracle.com >> documentation >> database >>
version >> view >> list all books >> Concepts)

Please note that the database comes with a built-in Apache web server and that
server has a number of mods that are very useful to working with Oracle. Also
note these mods are not easily moved to other versions of Apache.

There are a number of FAQs around - web-search ORACLE FAQ and check them out.


Norman Dunbar

unread,
Aug 11, 2003, 5:14:31 AM8/11/03
to
Morning Hans,

>> - in Oracle you can: a) write external programs to interact with the
database;
>> b) write 'internal' programs to work inside the database space; c)
have the
>> external programs in 'a)' leverage these extension; d) extend the
database by
>> leveraging these internal programs; e) have external programs
leverage the
>> extended database; and f) have the extended database interact with
external
>> programs on it's own.

<BEGIN RANT>
Stop using 'leverage' - I'd rather set COMPRESS=Y on an exp tahn use
leverage as a verb in a sentence !!!!! :o)
The word is 'use' - why extend a three letter word just for the sake of
it !
That makes me soooooooo angry.
<END RANT>

Right having said that, I'm off round Billy's place for a coffeee :o)

Cheers,
Norm.


quarkman

unread,
Aug 11, 2003, 7:57:13 AM8/11/03
to
On Mon, 11 Aug 2003 10:14:31 +0100, Norman Dunbar <Norman...@lfs.co.uk>
wrote:

Has he architected you a nice cup to drink it from??

Or will you be leveraging the cheap china?

~QM

Norman Dunbar

unread,
Aug 11, 2003, 9:01:34 AM8/11/03
to
Hi Quarkman,

(up, down or strange by the way ?)

>> Has he architected you a nice cup to drink it from??

>> Or will you be leveraging the cheap china?

In the words of 'the brigadier' from Monty Python :
"Stop it, stop it now"


Cheers,
Norm.

-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman...@LFS.co.uk
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------

Noons

unread,
Aug 11, 2003, 9:06:21 AM8/11/03
to
"Norman Dunbar" <Norman...@lfs.co.uk> wrote in message
news:E2F6A70FE45242488C86...@lnewton.leeds.lfs.co.uk...

> (up, down or strange by the way ?)

charmed.

>
> >> Has he architected you a nice cup to drink it from??
>
> >> Or will you be leveraging the cheap china?
>
> In the words of 'the brigadier' from Monty Python :
> "Stop it, stop it now"

I feel so leveraged...

--
Cheers
Nuno Souto
wizo...@yahoo.com.au.nospam


Norman Dunbar

unread,
Aug 11, 2003, 9:43:11 AM8/11/03
to
Damn, I knew I'd forgotten one !
:o)

Cheers,
Norm.

-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman...@LFS.co.uk
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------

Paul Drake

unread,
Aug 11, 2003, 10:34:07 AM8/11/03
to
Norman Dunbar <Norman...@lfs.co.uk> wrote in message news:<E2F6A70FE45242488C86...@lnewton.leeds.lfs.co.uk>...


"Exploit" is far better than "leverage" or "utilize".
It makes it seem like something or someone is being taken advantage
of. ;)

I think that the game Scrabble (TM) should have more of the letter
"Z", just to make things a bit more interesting.

Paul

Hans Forbrich

unread,
Aug 11, 2003, 10:40:56 AM8/11/03
to
Norman Dunbar wrote:

>
> <BEGIN RANT>
> Stop using 'leverage' - I'd rather set COMPRESS=Y on an exp tahn use
> leverage as a verb in a sentence !!!!! :o)
> The word is 'use' - why extend a three letter word just for the sake of
> it !
> That makes me soooooooo angry.
> <END RANT>

Apologies, cap'n. I'll try to exploit 'em in the future.

Hans Forbrich

unread,
Aug 11, 2003, 11:06:07 AM8/11/03
to
Norman Dunbar wrote:

> <BEGIN RANT>
> Stop using 'leverage' - I'd rather set COMPRESS=Y on an exp tahn use
> leverage as a verb in a sentence !!!!! :o)
> The word is 'use' - why extend a three letter word just for the sake of
> it !
> That makes me soooooooo angry.
> <END RANT>
>

Apologies, cap'n. Those three letter words ... I'll try to exploit 'em
iffn I visit again. That certainly would be better'n having you edge
t'wards four letter words.

Niall Litchfield

unread,
Aug 11, 2003, 11:07:07 AM8/11/03
to
"Norman Dunbar" <Norman...@lfs.co.uk> wrote in message
news:E2F6A70FE45242488C86...@lnewton.leeds.lfs.co.uk...
> Damn, I knew I'd forgotten one !
> :o)

This I hate to relate,
but I have to tell thee,
You've forgotten three.

up,down,top,bottom,strange and charmed are the 6 'flavours' of quark.There
are on the other hand only 3 colours for quarks but these *do* have
anti-colours for the anti-quarks.

Makes exploiting the word leverage where the word use would be better
utilized seem marvellously clear.

errm, I'll get me coat.

--
Niall Litchfield
Oracle DBA
Audit Commission UK

ctc...@hotmail.com

unread,
Aug 11, 2003, 2:37:15 PM8/11/03
to


select smp.id,
corr(
(select val from a where a.expID=exp.id and a.smpID=2),
(select val from a where a.expID=exp.id and a.smpID=smp.id)
)
from
(select distinct expID as id from a) exp,
(select distinct smpID as id from a) smp
group by smp.id


You're welcome.

Xho

--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service New Rate! $9.95/Month 50GB

quarkman

unread,
Aug 11, 2003, 6:30:34 PM8/11/03
to
On Mon, 11 Aug 2003 14:01:34 +0100, Norman Dunbar <Norman...@lfs.co.uk>
wrote:

> Hi Quarkman,


>
> (up, down or strange by the way ?)


Charmed, actually!

Next you'll be talking about my bottom.

Uggggh.

:-)

>
>>> Has he architected you a nice cup to drink it from??
>
>>> Or will you be leveraging the cheap china?
>
> In the words of 'the brigadier' from Monty Python :
> "Stop it, stop it now"

I agree. This is just getting silly.

~QM

quarkman

unread,
Aug 11, 2003, 6:39:25 PM8/11/03
to

I feel a gluon coming on.

Funny thing about quarks. Named after James Joyce's line in Ulysses, "A
quark, a quark/For Muster Mark" (and hence "quark" rhymes with "Mark") they
nevertheless should be pronounced as 'qwarwks', because Murray Gell-Mann
who invented them decided he knew better than James Joyce.

It's a bit like "Lye-nux" versus "Lin-ucks", I suppose.

Me? I'm a 'qwahrk' man, and hate Lyenux. I make my own choices.

~QM

Keld Nielsen

unread,
Aug 11, 2003, 6:57:24 PM8/11/03
to

"quarkman" <quar...@myrealbox.com> wrote in message
news:oprtrijz0tzkogxn@haydn...

Great to have you back.


Nuno Souto

unread,
Aug 11, 2003, 10:35:24 PM8/11/03
to
quarkman <quar...@myrealbox.com> wrote in message news:<oprtrijz0tzkogxn@haydn>...
>
> I feel a gluon coming on.
>

Don't get me started on Higgins boson.

Which caused Eliza Doolitle to burst into
raucuous singing: "Just you wait, Henry Higgins!"

<donning the anti-muons>

>
> ~QM

you got mail at yahoo, dude.

Cheers
Nuno Souto
wizo...@yahoo.com.au.nospam

quarkman

unread,
Aug 12, 2003, 2:05:26 AM8/12/03
to

Ah. I'd forgotten that. I shall check immediately.

Cheers
HJR

Norman Dunbar

unread,
Aug 12, 2003, 6:53:27 AM8/12/03
to
Morning Niall,

three, four - who cares.

I always expected the 'Large Hadron Collider' to be mis-spelt in a
science mag one day :o)
Conjurs up a horrid picture though !!!


Cheers,
Norm.

PS. Stick with being a DBA, the poetry isn't all that great !

-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman...@LFS.co.uk
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------

-----Original Message-----
From: Niall Litchfield [mailto:n-litc...@audit-commission.gov.uk]
Posted At: Monday, August 11, 2003 4:07 PM
Posted To: server
Conversation: can someone show some oracle sql stmt, I want to compare
that with MYSQL in linux rh 9.0

Norman Dunbar

unread,
Aug 12, 2003, 6:51:15 AM8/12/03
to
Nice one !

Cheers,
Norm.

-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman...@LFS.co.uk
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------

-----Original Message-----
From: Hans Forbrich [mailto:forb...@telusplanet.net]
Posted At: Monday, August 11, 2003 4:06 PM
Posted To: server

Conversation: can someone show some oracle sql stmt, I want to compare
that with MYSQL in linux rh 9.0

Norman Dunbar

unread,
Aug 12, 2003, 6:54:27 AM8/12/03
to
Hi Nuno,

wasn't it the Higgs Boson and not Mrs Higgin's Bosom ?

Cheers,
Norm.

-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman...@LFS.co.uk
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------


-----Original Message-----
From: wizo...@yahoo.com.au (Nuno Souto)
[mailto:wizo...@yahoo.com.au]
Posted At: Tuesday, August 12, 2003 3:35 AM
Posted To: server
Conversation: can someone show some oracle sql stmt, I want to compare
that with MYSQL in linux rh 9.0

Subject: Re: OT particle physics and english, was something about redhat
etc

Noons

unread,
Aug 12, 2003, 9:50:23 AM8/12/03
to
"Norman Dunbar" <Norman...@lfs.co.uk> wrote in message
news:E2F6A70FE45242488C86...@lnewton.leeds.lfs.co.uk...

> wasn't it the Higgs Boson and not Mrs Higgin's Bosom ?
>

I always thought there was something
suss about those "H"s that blew off candles:
a normal, proper person would have set the house
on fire after a coupla gins!

And don't get me started on the rain in Spain
that falls mainly on the plane: someone was
low-flying around the sherry cabinet!

(What the heck was this about? I've got all
the hadrons spinning the wrong way...

Pass the coffee, Billy!

Niall Litchfield

unread,
Aug 12, 2003, 5:50:27 PM8/12/03
to
"Norman Dunbar" <Norman...@lfs.co.uk> wrote in message
news:E2F6A70FE45242488C86...@lnewton.leeds.lfs.co.uk...
> Morning Niall,

>
> PS. Stick with being a DBA, the poetry isn't all that great !

You should see the DBAing :(

--
Niall Litchfield
Oracle DBA
Audit Commission UK

*****************************************
Please include version and platform
and SQL where applicable
It makes life easier and increases the
likelihood of a good answer
******************************************


Billy Verreynne

unread,
Aug 13, 2003, 1:21:30 AM8/13/03
to
"Noons" <wizo...@yahoo.com.au> wrote

> Pass the coffee, Billy!

Make your own coffee dammit - you're not getting mine! [mad laughter]

--
Billy

Norman Dunbar

unread,
Aug 13, 2003, 4:48:15 AM8/13/03
to
Hi Niall,

ah well, mine terminates on Friday this week. I'm no longer required
here :o(
B*gg*r !

Cheers,
Norm.

-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman...@LFS.co.uk
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------


-----Original Message-----
From: Niall Litchfield [mailto:niall.li...@dial.pipex.com]
Posted At: Tuesday, August 12, 2003 10:50 PM
Posted To: server
Conversation: can someone show some oracle sql stmt, I want to compare
that with MYSQL in linux rh 9.0
Subject: Re: can someone show some oracle sql stmt, I want to compare
that with MYSQL in linux rh 9.0

Niall Litchfield

unread,
Aug 13, 2003, 7:51:46 AM8/13/03
to
that sucks. Hope you get something else soon.


--
Niall Litchfield
Oracle DBA
Audit Commission UK

Norman Dunbar

unread,
Aug 13, 2003, 8:01:45 AM8/13/03
to
Thanks Niall.
I'm sure someone somewhere must want a half decent DBA - don't they ?

My wife has a list of jobs as long as both my arms - most of which
involve stuiff I don't like - gardening, painting & decorating, ironing,
cooking, shopping .......

I can always write a book I suppose :o)

Cheers,
Norm.

PS. I'll still be lurking around somewhere.

-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman...@LFS.co.uk
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------


-----Original Message-----
From: Niall Litchfield [mailto:n-litc...@audit-commission.gov.uk]
Posted At: Wednesday, August 13, 2003 12:52 PM
Posted To: server
Conversation: can someone show some oracle sql stmt, I want to compare
that with MYSQL in linux rh 9.0
Subject: Re: can someone show some oracle sql stmt, I want to compare
that with MYSQL in linux rh 9.0

Noons

unread,
Aug 13, 2003, 9:07:40 AM8/13/03
to
yes please.
and don't let the wife lure you into doing
all those yourself! ;)
Hope you're back into it soon.

--
Cheers
Nuno Souto
wizo...@yahoo.com.au.nospam
"Norman Dunbar" <Norman...@lfs.co.uk> wrote in message
news:E2F6A70FE45242488C86...@lnewton.leeds.lfs.co.uk...
>

Norman Dunbar

unread,
Aug 13, 2003, 10:27:49 AM8/13/03
to
Thanks Nuno.

I'll be checking this list almost every morning - when she's off to work
and I have a quiet hour or two to myself.
I have a few (lot of) applications on the go at the moment - just
waiting to hear is the worst bit.

Cheers,
Norm.

-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman...@LFS.co.uk
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------


-----Original Message-----
From: Noons [mailto:wizo...@yahoo.com.au]
Posted At: Wednesday, August 13, 2003 2:08 PM
Posted To: server
Conversation: can someone show some oracle sql stmt, I want to compare
that with MYSQL in linux rh 9.0
Subject: Re: can someone show some oracle sql stmt, I want to compare
that with MYSQL in linux rh 9.0

Brian Peasland

unread,
Aug 13, 2003, 10:46:53 AM8/13/03
to
I saw that there was a job in Mumbai in c.d.o.m!!! LOL!!

Cheers,
Brian

Norman Dunbar wrote:
>
> Thanks Nuno.
>
> I'll be checking this list almost every morning - when she's off to work
> and I have a quiet hour or two to myself.
> I have a few (lot of) applications on the go at the moment - just
> waiting to hear is the worst bit.
>
> Cheers,
> Norm.
>

> -------------------------------------
> Norman Dunbar
> Database/Unix administrator
> Lynx Financial Systems Ltd.
> mailto:Norman...@LFS.co.uk
> Tel: 0113 289 6265
> Fax: 0113 289 3146
> URL: http://www.Lynx-FS.com
> -------------------------------------
>
> -----Original Message-----

> From: Noons [mailto:wizo...@yahoo.com.au]
> Posted At: Wednesday, August 13, 2003 2:08 PM
> Posted To: server
> Conversation: can someone show some oracle sql stmt, I want to compare
> that with MYSQL in linux rh 9.0
> Subject: Re: can someone show some oracle sql stmt, I want to compare
> that with MYSQL in linux rh 9.0
>

> yes please.
> and don't let the wife lure you into doing
> all those yourself! ;)
> Hope you're back into it soon.

> --
> Cheers
> Nuno Souto
> wizo...@yahoo.com.au.nospam

> "Norman Dunbar" <Norman...@lfs.co.uk> wrote in message
> news:E2F6A70FE45242488C86...@lnewton.leeds.lfs.co.uk...
> >

> > PS. I'll still be lurking around somewhere.
> >

--
===================================================================

Brian Peasland
dba@remove_spam.peasland.com

Remove the "remove_spam." from the email address to email me.


"I can give it to you cheap, quick, and good. Now pick two out of
the three"

Noons

unread,
Aug 13, 2003, 9:37:23 PM8/13/03
to
Hey! Some of us like curries!!!!
<G>

--
Cheers
Nuno Souto
wizo...@yahoo.com.au.nospam

"Brian Peasland" <dba@remove_spam.peasland.com> wrote in message news:3F3A4F5D.39504573@remove_spam.peasland.com...

Norman Dunbar

unread,
Aug 14, 2003, 6:12:08 AM8/14/03
to
HAR HAR HAR !!
0 new messages