[SOLVED] ADOBD : creating a database : sequence or auto-increment ?
Posted: Tue May 11, 2010 12:55 pm
Should I rather use :
OR
The first one looks easier to use to me, so what's the catch ?
Thanks in advance.
--
Redwarp
Code: Select all
$flds = "
ipwatch_id I AUTOINCREMENT PRIMARY,
(...)
";
Code: Select all
$flds = "
ipwatch_id I KEY,
(...)
";
(...)
$db->CreateSequence(cms_db_prefix().'module_iplock_watch_seq');
Thanks in advance.
--
Redwarp