Welcome Guest, Not a member yet? Register   Sign In
how to named table name?
#3

[eluser]sankai[/eluser]
[quote author="w3bm" date="1227222062"]it should not matter how you name your tables.

its your own preference

if you setting up a many to many table the table that joins the other two should just contain the two primary key names

Code:
users
- user_id
- user_name

books
- book_id
- book_name

users_books
- ub_book_id
- ub_user_id
[/quote]

I got it!
thand you,w3bm.

:gulp: the topic on incorrect board,again.
sorry to admin!plz,move to the DataMapper board :down:


Messages In This Thread
how to named table name? - by El Forum - 11-20-2008, 10:17 AM
how to named table name? - by El Forum - 11-20-2008, 11:01 AM
how to named table name? - by El Forum - 11-20-2008, 06:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB