Run the following Query:
SELECT * FROM V$VERSION

Technical notes, and other ideas.
Run the following Query:
SELECT * FROM V$VERSION
Refer: https://tomeuwork.wordpress.com/2014/05/12/how-to-install-oracle-sqlplus-and-oracle-client-in-mac-os/
Refer: https://halpjira01.flagship.hal.com:9443/confluence/pages/viewpage.action?pageId=46664178
Instructions for this setup were taken from this blog post and massaged to reflect the current version number of the Oracle application.
Download the following two files from the Oracle website: http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html
"Instant Client Package - Basic"
"Instant Client Package - SQL*Plus"
Extract the files and create the proper directory structure
Open the terminal and unzip the downloaded files
$ unzip -qq instantclient-basic-macos.x64-12.1.0.2.0.zip
$ unzip -qq instantclient-sqlplus-macos.x64-12.1.0.2.0.zip
These will be extracted into a single directory: instantclient_12_1
Create the expected directory structure
$ mkdir -p /Applications/oracle/product/instantclient_64/12.1.0.2.0/{bin,lib,jdbc/lib,rdbms/jlib,sqlplus/admin,network/admin}
Transfer files over to the new directory
$ ORACLE=/Applications/oracle/product/instantclient_64/12.1.0.2.0
mv ojdbc* $ORACLE/jdbc/lib/
mv x*.jar $ORACLE/rdbms/jlib
mv glogin.sql $ORACLE/sqlplus/admin
mv *dylib* $ORACLE/lib/
mv *README $ORACLE
mv ./* $ORACLE/bin/
Add tnsnames.ora to /Applications/oracle/product/instantclient_64/12.1.0.2.0/network/admin/
You should be able to get this file from another dev
Set up the environment variables
$ cd ~ && vi ~/.bash_profile
Add the following exports to .bash_profile
export ORACLE_HOME=/Applications/oracle/product/instantclient_64/12.1.0.2.0
export PATH=$ORACLE_HOME/bin:$PATH
export DYLD_LIBRARY_PATH=$ORACLE_HOME/lib
Update .bash_profile
$ source ~/.bash_profile
After all that, you should now be able to run SQL*Plus from the command line.
Open a Windows command prompt
C:> sqlplus XXX@PRDWEB2
If your password requires changes you will be prompted; however, if you want to change the password, then just type password.
This is untried but SQL Developer has a "Reset Password" option, if you right click your connection item
Different databases have different ways of concatenating strings. In Oracle or Postgres, try this:
SELECT SUM(K.Score)
FROM Wreck_it_Ralph WIR, Keyword k
WHERE t_text LIKE '%' || k.word || '%'
From a worksheet:
alter session set nls_date_format='DD-MON-RR HH:MI:SS '
Online Formatter
https://www.dpriver.com/pp/sqlformat.htm
ALTER USER MYUSERID
IDENTIFIED BY "new#password"
REPLACE "old#password"
Or type password in a SQL worksheet and run the script.
Use rownum to keep the returned rows at a reasonable result
select * from mytable
where rownum < 10
Reference Article: http://www.techonthenet.com/oracle/functions/index.php
COPY FROM szb/password@prdweb TO WEB_OWNER/WEB_OWNER@DEVWEB
INSERT WEB_OWNER.cc_applied_onboard USING SELECT * FROM WEB_OWNER.cc_applied_onboard
Editor not working, enter key / backspace / delete button not working – quick fix
To resolve the problem you have to go to:
Tools -> Preferences -> Accelerators -> Load Preset -> Default -> OK