From: Adam M. <ad...@tu...> - 2002-10-21 15:53:05
|
+1 from me on sqlInsert() with idColumn, returnMaxId, and table name as sequence name. Adam > Probably not. I wasn't aware that PEAR changed the name behind the > scenes. So just using $table_name in the php code should work great. > > Thanks for the heads-up. > > Don. > > On Mon, 21 Oct 2002, Matthew McNaney wrote: > >> >> > I'm wondering if using the table_name as the sequence name will work >> on all db systems. I don't know explicitly if it won't work, but >> could there be a possibility of naming collisions? >> > >> > Perhaps using "seq_$table_name" would suit? >> >> I just noticed that PEAR saves the sequence tables as >> sequenceName_seq >> >> So prefixing creates: >> >> seq_sequenceName_seq >> >> >> Do we still want the prefix? >> >> Matt >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Phpwebsite-developers mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >> > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------- Adam Morton Developer - Web Technology Group Appalachian State University http://phpwebsite.appstate.edu |