|
#1
|
|||
|
|||
|
If i have set up a primary key in one table and i want it to be the foreign key in another table in my database, how do i like it to the second table?
|
|
#2
|
||||
|
||||
|
You can use alter table. Something to the effect of:
Code:
alter table *tableName* add Foreign Key (column) references othertable(otherColumn)
__________________
Follow me on Twitter! http://twitter.com/mrw |
|
#3
|
|||
|
|||
|
Thanks, that worked great
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Primary Domain Name | spaguy | Shared Hosting Support | 7 | 09-16-2008 11:51 AM |
| HG supports .com as primary, is .co.uk ok | cumro25 | Shared Hosting Support | 3 | 05-12-2008 04:58 AM |
| Euro + foreign languages | Templateshop | Pre-Sales Questions | 3 | 09-13-2004 03:25 PM |
All times are GMT -5. The time now is 11:32 PM.









