Article View: borland.public.interbase.sql
Article #668Re: Creating Strored Procedure at Runtime
From: Jeff Overcash (TeamB)
Date: Fri, 26 Oct 2007 14:20
Date: Fri, 26 Oct 2007 14:20
32 lines
2105 bytes
2105 bytes
Martijn Tonies wrote:
> Peter,
>
>> I can create many IB tables, triggers, generators, indexes, procedures etc
>> with run time sql calls but when I try to build the following stored
>> procedure I get an error :-
>>
>> Field 'AddressAutoNo' is of an unknown type.
>>
>> This is originating from the first variable after the 'values' statement
>> ie :AddressAutoNo
>>
>> If I cut the Value of quUpdateStructure.Sql ie quUpdateStructure.Sql[0]
> and
>> paste it into IBConsole it integrates just fine
>>
>> Any help greatly appreciated
>
> Set ParamCheck to False on the component.
>
>
Or you can use IBScript for building DDL. either would work.
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
Technical Details
Message-ID:
<4721f7ae$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!62.111.101.3.MISMATCH!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4721784e@newsgroups.borland.com> <4721dac7$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,ee7bb8d1327e66d4 X-Google-Attributes: gid114a0e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 26 Oct 2007 10:20:28 -0400 From: "Jeff Overcash (TeamB)" <jeffovercash@mindspring.com> Organization: TeamB User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 Newsgroups: borland.public.interbase.sql Subject: Re: Creating Strored Procedure at Runtime References: <4721784e@newsgroups.borland.com> <4721dac7$1@newsgroups.borland.com> In-Reply-To: <4721dac7$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 66.32.248.104 Message-ID: <4721f7ae$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1193408430 66.32.248.104 (26 Oct 2007 07:20:30 -0700) Lines: 32 X-Authenticated-User: overcash Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!62.111.101.3.MISMATCH!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail