Re: Breaking Long Query into multiple statements ?
- From: "Ook" <no usenet spam at zoot al dot com>
- Date: Tue, 24 May 2005 09:30:09 -0700
"Andrew Howell" <ajh@work> wrote in message
news:uqjNedDYFHA.2484@xxxxxxxxxxxxxxxxxxxxxxx
> "Luqman" <pearlsoft@xxxxxxxxxxxx> wrote in message
> news:uxRHGx8XFHA.2128@xxxxxxxxxxxxxxxxxxxxxxx
>> In foxpro for Dos, I have written a Select query, and surely divided each
>> line with semi colon, but still foxpro compiler raise error
>>
>> "compiled line too long."
>>
>> How can I break my query into multiple statements ?
>
> 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.
.
- Follow-Ups:
- Re: Breaking Long Query into multiple statements ?
- From: Mike McDowall
- 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
- Breaking Long Query into multiple statements ?
- Prev by Date: RE: Any recommended statistics package?
- Next by Date: Wordpad automation?
- Previous by thread: Re: Breaking Long Query into multiple statements ?
- Next by thread: Re: Breaking Long Query into multiple statements ?
- Index(es):
Relevant Pages
|
Loading