Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

JDBC Connection strings to connect to Oracle DB

OTG-467455Nov 8 2017 — edited Nov 9 2017

What are the various acceptable JDBC connection strings that can be used to connect to an Oracle database?

Which connection string is commonly used?

Please explain what the purpose of each different connection string is.

The reason for my asking this is I have seen some connection string incarnations I did not think could work.

This post has been answered by mNem on Nov 8 2017
Jump to Answer

Comments

Frank Kulash
Answer
Hi,

Here's one way:
WHERE   COLUMNA NOT LIKE '%ABC' 
AND 	(   COLUMNA NOT LIKE 'ABC%' 
	OR  COLUMNA  =	     'ABCD'
	)
AND 	COLUMNA NOT LIKE '%XYZ' 
AND 	COLUMNA NOT LIKE 'XYZ%' 
Marked as Answer by SeshuGiri · Sep 27 2020
1 - 1

Post Details

Added on Nov 8 2017
1 comment
2,829 views