Re: Breaking Long Query into multiple statements ?
- From: Mike McDowall <m.a.mcdowall@xxxxxx>
- Date: Thu, 26 May 2005 08:30:06 +0100
On Tue, 24 May 2005 09:30:09 -0700, "Ook" <no usenet spam at zoot al
dot com> wrote:
>
>"Andrew Howell" <ajh@work> wrote in message
>news:uqjNedDYFHA.2484@xxxxxxxxxxxxxxxxxxxxxxx
>> I may be wrong but hopefully you can extend this first limit with macro
>> substitution, eg:
>>
>> m.cmd="WHERE blah blah blah blah......."
>> SELECT blah blah blah blah....... &cmd
>>
>
>Unfortunately you can't do this. It will compile but will throw an error at
>runtime. The total length of the sql string is limited, and AFAIK can't be
>exceeded in any single query.
>
Are you sure ?
I do this in VFP5 (so the query can be generated dynamically) and I am
pretty sure I get big advantage in terms of length of statement.
Mike.
.
- Follow-Ups:
- Re: Breaking Long Query into multiple statements ?
- From: TonySper
- Re: Breaking Long Query into multiple statements ?
- References:
- Breaking Long Query into multiple statements ?
- From: Luqman
- Re: Breaking Long Query into multiple statements ?
- From: Andrew Howell
- Re: Breaking Long Query into multiple statements ?
- From: Ook
- Breaking Long Query into multiple statements ?
- Prev by Date: Re: Wordpad automation?
- Next by Date: Re: check file exist on not
- Previous by thread: Re: Breaking Long Query into multiple statements ?
- Next by thread: Re: Breaking Long Query into multiple statements ?
- Index(es):