Time:
Scotland: Wed, 1:31 pm
Rhode Island: Wed, 8:31 am
Florida: Wed, 8:31 am
New Mexico: Wed, 6:31 am
California: Wed, 5:31 am

Click here to visit Livelife365.com

Click here to visit nmdarts.com



Buy this Ad Space.

180px wide.

Please get in touch with KH@ if you are interested and make an offer.

CLICK HERE TO GET AUCTION BAR NOW
US$10 per year - Save $100s!
The Fabulously Unfair
WebX Auction Bar. For Ebay etc.
Ro-Sham-Bo the opposition. Laugh like Eric Cartman when you win! CLICK HERE NOW!


More information and sign-up.

WebXpertz Hosting.
Custom fit from $5pm. PHP/MySQL
You'll save money, we'll save money. Seems fair to me. Interested? If so Please PM me here and tell me what you need. Thanks!


Please click here for more information


For continued disscussion on this topic : keys?


Theodore
04-13-2004, 09:09 PM
I have a table name flextable with columns containing:
timestamp: application: module: users: comments: batchdate: batchtime.

I created a second table name license with columns containing:
free_license: application: batchdate: batchtime:

Question:
Data for column "free_license" for the second table will be parse from a text file.
I would also like to have data store from flextable into application,batchdate and batchtime columns and as foreign key.
What would reccomend to accomplish this task?I could be wrong in this stratagy but that is why I am here.
thanks
-t

cpradio
04-14-2004, 12:06 AM
To make foreign keys in MySQL, you need to convert the table from the ISIAM format to INNODB, i know this is easily possible using phpMyAdmin, but have no idea how to do it in shell

Vincent Puglia
04-14-2004, 11:41 PM
Hi,

Let me preface this with: I've never used mySQL, so what I'm going to say here may be way offbase. That said:
Why are you defining those columns for the second table? You should be able to display them directly from the 1st table. Define a database that contains the 2 tables.

flextable with columns containing:
timestamp: application: module: users: comments: batchdate: batchtime.

license with columns containing:
free_license: key2flextable

and then simply select the appropriate columns based on the key with a join

Vinny