how to run sql script in oracle
sqlplus username/password@service -- OR sqlplus / as sysdba
SQL> SELECT sysdate FROM dual;
SQL> @C:Usersfolderscript.sql
-- OR
SQL> START C:Usersfolderscript.sql
how to run sql script in oracle
sqlplus username/password@service -- OR sqlplus / as sysdba
SQL> SELECT sysdate FROM dual;
SQL> @C:Usersfolderscript.sql
-- OR
SQL> START C:Usersfolderscript.sql
oracle running queries
SELECT s.SID,
s.USERNAME,
sql.OPTIMIZER_MODE,
sql.CPU_TIME,
sql.ELAPSED_TIME,
sql.SQL_TEXT,
s.SERIAL#
FROM V$SQLAREA sql,
V$SESSION s
WHERE s.SQL_HASH_VALUE = sql.HASH_VALUE
AND s.SQL_ADDRESS = sql.ADDRESS
AND s.USERNAME IS NOT NULL;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us