473,395 Members | 1,458 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

SQL Query doubt

rsrinivasan
221 100+
Hi,
Good Morning To All..

I have doubt in my query..

My Query is,

select * from table1,table2, table3..
where table1.field=table2.field
and table2.field(+)=table3.field(+).
(my Query is very big. So i give only the model. Sorry for this...)

My query is looking like above..
I cant realize the (+) symbol in my Query. What is this?

Thanks,

Srinivasan r.
May 11 '07 #1
7 1952
debasisdas
8,127 Expert 4TB
R u sure the + symbol is on both the sides of the = operator.
May 11 '07 #2
rsrinivasan
221 100+
R u sure the + symbol is on both the sides of the = operator.
Hi,

No. It only on the right side of "=" operator.

Thanks,

Srinivasan r.
May 11 '07 #3
debasisdas
8,127 Expert 4TB
The + symbol is called the predicate or the outer join operator.

+ (predicate) can be specified only on one side.

The table on which the predicate is specified symbolises to select only matching records from that table and also non-matching from other table.
May 11 '07 #4
debasisdas
8,127 Expert 4TB
Specifying + to symbolise outer join is oracle 8 syntax.
It is still supported in 10g is only for backward compartability.

If the predicate is specified on the left side ---it is right outer join
If the predicate is specified on the right side ---it is left outer join.
May 11 '07 #5
rsrinivasan
221 100+
Specifying + to symbolise outer join is oracle 8 syntax.
It is still supported in 10g is only for backward compartability.

If the predicate is specified on the left side ---it is right outer join
If the predicate is specified on the right side ---it is left outer join.
Ok.. Thanks....
May 11 '07 #6
debasisdas
8,127 Expert 4TB
You are most welcome.

Feel free to post your doubts/queries in the forum,

But first give a try from your side

and if possible specifty what u have tried to solve the question.

In that case it will be easier for the EXPERTS of the forum in understanding and solving your problem

debasisdas
May 11 '07 #7
Hi,
Good Morning To All..

I have doubt in my query..

My Query is,

select * from table1,table2, table3..
where table1.field=table2.field
and table2.field(+)=table3.field(+).
(my Query is very big. So i give only the model. Sorry for this...)

My query is looking like above..
I cant realize the (+) symbol in my Query. What is this?

Thanks,

Srinivasan r.
The (+) symbol shows the syntax for OUTER JOIN. so whenever we are doing an outer join we use this operator...
Jun 15 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Brian Oster | last post by:
After applying security patch MS03-031 (Sql server ver 8.00.818) a query that used to execute in under 2 seconds, now takes over 8 Minutes to complete. Any ideas on what the heck might be going...
1
by: ED | last post by:
I currently have an ODBC query that hits an Oracle database. I want to bring back records for a given month based on a job completion date in the Oracle database. I would like to have the user...
25
by: frizzle | last post by:
Hi there, I have a mySQL system with a news publishing part in it: Admins can create new items with text in it, and they have an option to create 'fulltexts', so you'd get "read more ..." on the...
13
by: forbes | last post by:
Hi, I have a user that used the Query Wizard to create a query in Access. Now she claims that her master table is missing all the data that was excluded from the query. Can you create anything...
1
by: pai | last post by:
db_TBO db_TBT ----------------------------- -------------------------------------------------------- TBOID | Date TBTID | TBOID | Date...
1
by: Prabhua | last post by:
Can anybody clear my doubt in sql query. i want to display distinct company from the database where status is not empty. here company and status are columes. a.prabhu
29
by: wizofaus | last post by:
I previously posted about a problem where it seemed that changing the case of the word "BY" in a SELECT query was causing it to run much much faster. Now I've hit the same thing again, where...
0
by: krishnakant Mane | last post by:
hello all, I had previously mentioned my doubt and confusion about having a main() to be an entry point in my python based software. I am still having a particular doubt. I use cx freze for...
2
by: existential.philosophy | last post by:
This is a new problem for me: I have some queries that open very slowly in design view. My benchmark query takes about 20 minutes to open in design view. That same query takes about 20 minutes...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.