Test the connection by using tnsping command.
Search This Blog
Sunday, February 17, 2013
Thursday, February 7, 2013
connect to the database from oracle client
connect as scott user
C:>sqlplus scott/tiger@db1
connect as system user
C:>sqlplus system/password@db1
connect as sys user
C:>sqlplus sys/password@db1 as sysdba
We do not need the listener file in the client machine to connect to the database.
C:>sqlplus scott/tiger@db1
connect as system user
C:>sqlplus system/password@db1
connect as sys user
C:>sqlplus sys/password@db1 as sysdba
We do not need the listener file in the client machine to connect to the database.
Monday, February 4, 2013
Details about environment variables in windows
We do not have oratab file in windows. Go to start->run->type "regedit".
The registry will be displayed.
Expand the folder called [HKEY_LOCAL_MACHINE]\SOFTWARE\ORACLE.
Click on "KEY_*********", in the right hand side, we can find the details about environment variables.
Another way to find out is, in the command prompt, type "set". The environment file will be displayed.
Tuesday, January 29, 2013
Loading records from one oracle database to another using oracle sql developer tool
The source and the destination databases are in different OS platforms.
go to table->data(record)
In one of the records, do a right click
click on "export"
tick 'export data'
format: insert
line terminator: environment default
save as single file
browse and choose the destination folder to place the output file
Encoding: Cp1252/default
click next
click finish
you will see a script
click on "run script"
Connection: destination connection
click "ok"
Subscribe to:
Posts (Atom)