phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] incrementing app_id


From: Bradley Bell
Subject: Re: [Phpgroupware-developers] incrementing app_id
Date: Wed, 19 Dec 2001 18:07:59 -0800
User-agent: Mutt/1.2.5i

Yes, but it doesn't really assign them... it just increments...

-brad

On Wed, Dec 19, 2001 at 07:35:53PM -0600, Michael Dean wrote:
> Looks like a diff to assign IDs to applications (something I've wanted
> for a long time :-).  But you're right about the identity field.  MSSQL
> will only allow explicit identity inserts if you set identity insert on
> for that particular table (which is only good for that connection).
> 
> I guess the best fix is to let the auto incrementing field do it's job
> and get rid of the explicit insert and the random number generation.
> 
> Mike
> 
> On Wed, 2001-12-19 at 19:21, Bradley Bell wrote:
> > What's the rationale behind this patch?
> > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpgroupware/setup/inc/class.setup.inc.php.diff?r1=1.9&r2=1.10
> > 
> > it doesn't work with mssql at least, because app_id is an identity
> > (auto-incrementing) column, as I assume it is with all the other db backends
> > as well.
> 
> 
> 
> _______________________________________________
> Phpgroupware-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-developers

-- 
Bradley Bell
Computer Support Analyst
University of Washington
Classroom Support Services



reply via email to

[Prev in Thread] Current Thread [Next in Thread]