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
How would you convert date into julian date format?
How can a function retun more than one value in oracle with proper example?
What is the difference between pl and sql?
Why should I use postgresql?
What are the datatypes available in pl/sql ?
What is the difference between rollback and rollback to statements?
How can we implement rollback or commit statement in a trigger?
What do you mean by dbms? What are its different types?
Does access use sql?
What is the difference between explicit and implicit cursors in oracle?
Is join same as left join?
What is difference between ms sql and mysql?
What is normalization in sql?
How do you get column names only for a table (sql server)?
what is oracle database ? : Sql dba