I have 2 Databases. How can create a table in particular
database? How can i know the list of tables presented each
database?( in oracle 10g)

Answer Posted / priya

login to one database like
sqlplus username@databasename/password

After enter into sql
create table databasename.tablename
and to call select * from databasename.tablename

then to connect to other user

connect dbuser/pwd (not sure of this statement .. It should
be something like this please google it otherwise)

and to list the tables particular to database:
select * from tab; fetch the result from that particular
database which is connected

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I get sql certification?

697


How do I make my sql query run faster?

662


What are pl/sql cursors?

728


Why is pl sql needed?

676


what are the differences between binary and varbinary? : Sql dba

716






What is a variable in sql?

718


What is mdb stand for?

731


What is pl sql and why it is used for?

797


How sql query is executed?

782


Why select is used in sql?

688


differentiate between float and double. : Sql dba

755


What is sqlcontext?

714


How to get list of all tables from a database?

842


What is execute immediate?

718


When to use inner join and left join?

693