Monday, September 1, 2014

Relationships

You can create relationships using T-SQL statements to add foreign keys to relevant tables.


It will look like



ALTER TABLE <TableName> ADD CONSTRAINT <Constraintname> FOREIGNKEY (<TableCOlumn>) REFERENCES <REferredTable>(<Refrred Column>)





Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://ift.tt/19nLNVq http://ift.tt/1iEAj0c


No comments:

Post a Comment