Wrox Programmer Forums
|
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 3rd, 2011, 10:08 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default Relations

Hei!

How do I «order/set» the relation between to tables when creating tables through a script and an SQL-query using «create table...»?

The primary key, «col_primary» in tbl2, become a foreign key, as «col_foreign», in my tbl1.

Thank you for taking time answering this one!

grstad
__________________
Internet has become favorable with that tool...thank you Tim Berners-Lee!





Similar Threads
Thread Thread Starter Forum Replies Last Post
data relations synchronization igalk474 ADO.NET 0 July 21st, 2007 05:36 AM
Standard Implementation of Embeded relations sal XML 1 August 13th, 2005 04:34 AM
tables relations helkayal SQL Server 2000 4 April 19th, 2005 03:18 PM
Relations (Urgent plz) Samikaraeen Pro VB.NET 2002/2003 0 July 15th, 2004 03:50 AM
get table-relations from database GARAK ADO.NET 0 February 12th, 2004 07:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.