On 9/10/08 11:11 AM, "Dennis Cote" <[EMAIL PROTECTED]> wrote:
> Josh Millstein wrote:
>> On 9/9/08 11:46 AM, "Igor Tandetnik" <[EMAIL PROTECTED]> wrote:
>>> Josh Millstein <[EMAIL PROTECTED]>
>>> wrote:
Is there anyway to perform a trim to everything that is entered into
a table inste
On 9/10/08, Josh Millstein <[EMAIL PROTECTED]> wrote:
> The trim before I put data in was based on using a programming language and
> not the db language. I want to do it all in sql syntax
>
What Igor suggested *is* SQL syntax
INSERT INTO table (col) VALUES (trim())
>
>
> On 9/9/08 12:52 PM,
Josh Millstein wrote:
> On 9/9/08 11:46 AM, "Igor Tandetnik" <[EMAIL PROTECTED]> wrote:
>> Josh Millstein <[EMAIL PROTECTED]>
>> wrote:
>>> Is there anyway to perform a trim to everything that is entered into
>>> a table instead of trimming before I put data in?
>>
>> update mytable set myfield=tri
Yes, automatically like using triggers. That is exactly what I'm talking
about
On 9/9/08 2:03 PM, "Enrique Ramirez" <[EMAIL PROTECTED]> wrote:
> I'm guessing he means like automatically (IE using triggers).
>
> Which also would be my answer (use triggers).
>
> On Tue, Sep 9, 2008 at 1:52 PM,
The trim before I put data in was based on using a programming language and
not the db language. I want to do it all in sql syntax
On 9/9/08 12:52 PM, "P Kishor" <[EMAIL PROTECTED]> wrote:
> On 9/9/08, Josh Millstein <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> Is there anyway to perform a trim
On 9/9/08 11:46 AM, "Igor Tandetnik" <[EMAIL PROTECTED]> wrote:
> Josh Millstein <[EMAIL PROTECTED]>
> wrote:
>> Is there anyway to perform a trim to everything that is entered into
>> a table instead of trimming before I put data in?
>
> I'm not sure I understand the question. Are you perhaps t
I'm guessing he means like automatically (IE using triggers).
Which also would be my answer (use triggers).
On Tue, Sep 9, 2008 at 1:52 PM, P Kishor <[EMAIL PROTECTED]> wrote:
> On 9/9/08, Josh Millstein <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> Is there anyway to perform a trim to everything t
On 9/9/08, Josh Millstein <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is there anyway to perform a trim to everything that is entered into a table
> instead of trimming before I put data in?
aren't "perform a trim to everything that is entered into a table" and
"trimming before I put data in" the sa
Josh Millstein <[EMAIL PROTECTED]>
wrote:
> Is there anyway to perform a trim to everything that is entered into
> a table instead of trimming before I put data in?
I'm not sure I understand the question. Are you perhaps thinking of
update mytable set myfield=trim(myfield);
Igor Tandetnik
__
Hello,
Is there anyway to perform a trim to everything that is entered into a table
instead of trimming before I put data in?
Thanks,
Josh
--
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite
10 matches
Mail list logo