SQL*Plus Quick Reference Release 8.1.5 A66735-01 |
|
SQL*Plus Quick Reference, 7 of 10
Use the following commands to access and copy data between tables on different databases.
CONN[ECT] [[
logon
] [AS [SYSOPER|SYSDBA]]]
username[/password] [@net_service_name]|/
Connects a given username to Oracle. If you omit net_service_name, connects you to the default database. If you omit username and/or password, SQL*Plus prompts you for them. CONNECT followed by a slash (/) connects you using a default (OPS$) logon.
DISC[ONNECT]
COPY {FROM
username
[
/password
]@
net_service_name
|TO
username
[
/password
]@
net_service_name
|FROM
username
[
/password
]@
net_service_name
TO
username
[
/password
]@
net_service_name
} {APPEND|CREATE|INSERT|REPLACE}
destination_table
[(
column
,
column
...)] USING
query
PASSW[ORD] [
username
]
|
Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|