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 / amit

Suppose your 2 databases are name as PROD1 and PROD2
1) How can create a table in particular database?
=> First you have to connect to the database where you want
to create table with given login and password.
and then if you have create permission than you can use
following sql
CREATE TABLE "table_name"
("column 1" "data_type_for_column_1",
"column 2" "data_type_for_column_2",
... )

2) select * from tab; will show you how many tables,view or
synonyms are there in your schema.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between inner join and left join?

539


What does the file extension accdb stand for?

545


what is online transaction processing (oltp)? : Sql dba

523


tell me about various levels of constraint. : Sql dba

526


What are the different types of joins in sql?

579






What is database white box testing and black box testing?

634


Which type of cursor is used to execute the dml statement?

527


What has stored procedures in sql?

593


Write a sql query to get the third highest salary of an employee from employee_table?

630


How many unique keys can a table have?

550


What is spool?

588


What is query execution plan in sql?

563


What is scalar function?

564


what is single byte over head in oracle..?

1864


What are the built in functions of sql?

555