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
What is the difference between sum and count in sql?
What is the trigger in sql?
define data blocks ? : Sql dba
How many types of relationship are there?
Explain the types of joins in sql?
List the different type of joins?
Enlist the advantages of sql.
Define tables and fields in a database
which command using query analyzer will give you the version of sql server and operating system? : Sql dba
Is there a 64 bit version of ssms?
How many subqueries can be nested in a statement?
What are the types of functions in sql?
What is crud sql?
What is difference between inner join and cross join?
How many unique keys can a table have?