looks like it's "now()" SET NEW.created_dt = NOW();
http://stackoverflow.com/questions/168736/how-do-you-set-a-default-value-for-a-mysql-datetime-column

On Wed, Oct 13, 2010 at 7:16 AM, Branko Vukelic <[email protected]> wrote:

> I haven't used SET time_zone before, but you need need to do that on
> every query, the best way would be to modify the source to do that for
> you. The code base is not large, and it's very easy to navigate.
>
> On Wed, Oct 13, 2010 at 10:03 AM, andrei <[email protected]> wrote:
> >
> > What is the best way to "SET time_zone" for all web.database
> > connections?
> >
> > I use mysql dbn.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "web.py" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> [email protected] <webpy%[email protected]>.
> > For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
> >
> >
>
>
>
> --
> Branko Vukelić
>
> [email protected]
> [email protected]
>
> Check out my blog: http://www.brankovukelic.com/
> Check out my portfolio: http://www.flickr.com/photos/foxbunny/
> Registered Linux user #438078 (http://counter.li.org/)
> I hang out on identi.ca: http://identi.ca/foxbunny
>
> Gimp Brushmakers Guild
> http://bit.ly/gbg-group
>
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <webpy%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to