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
What is the least restrictive isolation level? : Transact sql
Show the cursor attributes of pl/sql.
What are schema-level triggers?
What does the hierarchical profiler does?
What is clustered and nonclustered index in sql?
What is a mutating table and a constraining table?
What is the most common sql injection tool?
how many groups of data types? : Sql dba
Can we join more than 2 tables in sql?
What do we need to check in database testing?
What is data type in sql?
When do we use triggers?
Which is better join or inner query?
How to disable a trigger name update_salary?
What is the basic structure of an sql?