Taylor,
Thursday, May 16, 2002, 4:22:37 PM, you wrote:

TL> Regarding mysql...
TL> 1) Are primary keys and foreign keys by default indexes for a table?

Yeah. Primary key is index by default. Foreign key constraints you can create only
on indexed column.

TL> 2) Do I have to use a special data other than float to allow for negative numbers, 
i.e. I want to be able to enter -1.76 and be able to later do math against that 
number...

What about decimal?
Look at:
     http://www.mysql.com/doc/C/o/Column_types.html

TL> Thanks,
TL> Taylor





-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to