Sorry,  it doesn't mean setting default value during table creation right?
Because this approach will still might be interupted by user's value.
Thanks.
On 17 Sep 2013 21:57, "Stipe Tolj" <[email protected]> wrote:

> Am 17.09.2013 16:54, schrieb Willy Mularto:
>
>> Thanks for your review. The other approach is to override the sms_type
>> value during the INSERT.
>>
>
> yep, most DBMSs allow setting "default values", in case the INSERT
> statement does not insert a specific value for the field. That was my idea.
> It's cleaner, and leaves the value injection to the DB layer.
>
> Stipe
>
> --
> ------------------------------**------------------------------**-------
> Kölner Landstrasse 419
> 40589 Düsseldorf, NRW, Germany
>
> tolj.org system architecture      Kannel Software Foundation (KSF)
> http://www.tolj.org/              http://www.kannel.org/
>
> mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
> ------------------------------**------------------------------**-------
>
>

Reply via email to