SQL. What is this o...
 

Subscribe now and choose from over 30 free gifts worth up to £49 - Plus get £25 to spend in our shop

SQL. What is this operator?

11 Posts
9 Users
0 Reactions
77 Views
 Earl
Posts: 1902
Free Member
Topic starter
 

I've just been sent a SQL that a user run every day. I'm not even sure what DB it is.

Is it a left outer join syntax?. Can someone confirm please.

Where
Table1.Field1 (+)= Table2.Field2


 
Posted : 20/06/2022 9:29 am
Posts: 7758
Full Member
 

That is plain weird.
Ask them what DB it is. I assume its some weird proprietary thing.

Looks like its Oracle and an outer join but here is the listing.
I am scared to look at it in case they bill me.
oracle weirdness


 
Posted : 20/06/2022 9:36 am
Posts: 3573
Full Member
 

Not come across it before but left outer join in Oracle by the looks of it.


 
Posted : 20/06/2022 9:37 am
Posts: 8819
Free Member
 

Definitely left outer join for Oracle. Could just use "LEFT OUTER JOIN" to make it more generally user friendly to read....


 
Posted : 20/06/2022 9:45 am
Posts: 13594
Free Member
 

I am scared to look at it in case they bill me.

Too late, they've ordered a full audit of your entire company for which you will be billed...


 
Posted : 20/06/2022 9:50 am
Posts: 10848
Full Member
 

Could just use “LEFT OUTER JOIN” to make it more generally user friendly to read….

But then the developer wouldn't be able to add the Oracle surcharge!


 
Posted : 20/06/2022 9:53 am
Posts: 30446
Full Member
 

The "OUTER" doesn't do anything here, IIRC. It's just for readability.


 
Posted : 20/06/2022 10:04 am
 Earl
Posts: 1902
Free Member
Topic starter
 

I don't have access to the user and the original developer is long gone.

I've been asked to analyse the SQL and tell the business what it does and how it works Classic stuff huh.

So std Left join.

Much thanks folks.


 
Posted : 20/06/2022 10:27 am
Posts: 6857
Free Member
 

That'll be £850 + VAT payable to STW please.


 
Posted : 20/06/2022 10:53 am
 Earl
Posts: 1902
Free Member
Topic starter
 

Hmmm. Seams to be at the std hourly rate for a Oracle consultant.

Let my just put my 15% on....


 
Posted : 20/06/2022 4:21 pm
Posts: 13594
Free Member
 

Hmmm. Seams to be at the std hourly rate for a Oracle consultant.

You didn't read the contract - that's the daily recurring fee for answering the question. The fee recurs until you relinquish all Oracle licenses regardless of whether or not you continue to use that structure.


 
Posted : 20/06/2022 7:04 pm
Posts: 43554
Full Member
 

Smooth.


 
Posted : 20/06/2022 7:42 pm