Hi,
I think I'd like to store these values as strings
instead of [?]int or time types.
Is this string arithmetic? Can/should I do this?
(I see the second one won't work without single-quotes.)
mysql> select '3' - '1';
+-----------+
| '3' - '1' |
+-----------+
| 2 |
+-----------+
1 row in set (0.00 sec)
mysql> select time_format(subtime('6:10',':10'),'%H:%i');
+--------------------------------------------+
| time_format(subtime('6:10',':10'),'%H:%i') |
+--------------------------------------------+
| 06:00 |
+--------------------------------------------+
1 row in set (0.00 sec)
Thanks,
Jon
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]