How to add Foreign key in a table after the creation of the
table?
Answer Posted / sagar98
ALTER TABLE <table_name>
ADD CONSTRAINT <fk_name> FOREIGN KEY (column_name)
REFERENCES <table_name_where_this_column_acts_as_PK>
(Column_name)
| Is This Answer Correct ? | 19 Yes | 0 No |
Post New Answer View All Answers
Which is faster joins or subqueries?
How can check sql version from command line?
Which certification is best for sql?
What is multiple columns?
How many sql core licenses do I need?
what are the advantages of using stored procedures? : Sql dba
First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.
What is trigger point?
Define a temp table?
Define union, minus, union all, intersect ?
Mention what pl/sql package consists of?
What is delimiter sql?
How do I view a procedure in sql?
define sql insert statement ? : Sql dba
Can a procedure in a package be overloaded?