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 meant by urlencode and urldocode? : Sql dba
How do I make sql search faster?
Differentiate pl/sql and sql?
Does a user_objects view have an entry for a trigger?
What are the basic techniques of indexing?
What is view? Can we update view
what are the t string functions available in tsql? : Transact sql
How is data stored on a disk?
what is 'mysqlcheck'? : Sql dba
what is the functionality of the function htmlentities? : Sql dba
Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?
difference between anonymous blocks and sub-programs.
What is a behavioral trigger?
what is a record in a database ? : Sql dba
what is the difference between truncate and delete statement? : Transact sql