[fwlug] MySQL field parameter: "default "as defined:"

Travis Paul travis at actionowl.org
Sat May 29 17:53:26 CDT 2010


I think you're right wade I was trying to find a way to provide a MySQL
function as a default parameter so I could avoid calling time() from php but
I don't think that is possible.

Thanks

On Sat, May 29, 2010 at 6:39 PM, Wade Crick <9112643 at live.com> wrote:

>  from my understanding when I use it, it is the value that would be set if
> you don't declare a value when you do an INSERT query.
>
> again, from my understanding.
>
> -wade
>
> ------------------------------
> From: travis at actionowl.org
> Date: Sat, 29 May 2010 14:48:27 -0400
> To: fwlug at fortwaynelug.org
> Subject: [fwlug] MySQL field parameter: "default "as defined:"
>
>
> Does anyone know what this field option is for?
> My first guess was that you could specify a MySQL function such as NOW() or
> MAKETIME() but I received an Error from phpMyAdmin when trying specify those
> function.
>
> Thanks
>
> _______________________________________________
> Fwlug mailing list
> Fwlug at fortwaynelug.org
> http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://fortwaynelug.org/pipermail/fwlug_fortwaynelug.org/attachments/20100529/0155df30/attachment.html>


More information about the Fwlug mailing list