On Sat, Dec 01, 2001 at 01:19:47PM -0500, Thomas A.Lowery wrote: > This is a good idea. I'm wondering what other "Defaults" to allow for?
The attribute should be named 'ado_...', the underscore is part of the driver-private name prefix. Beware of the performance cost of all these extra little attributes. It's a cost paid by all even if not used. Tim. > Any which should be inherent to child handles? > > Tom > > On Fri, Nov 30, 2001 at 02:11:56PM +0000, Jacqui Caren wrote: > > Rather than code prepare and do attrs across the entire > > application I 'hacked' a $dbh attribute named > > 'adoDefaultCursorType' > > > > This allows me to do > > > > $dbh->{adoDefaultCursorType} = 'adOpenStatic'; > > > > and I then automatically use Open Static cursors > > everywhere. Life is good and I get to go home and > > eat a hot meal :-) > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com >