Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Ingres > Re: [Info-Ingre...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 5944 of 6067
Post > Topic >>

Re: [Info-Ingres] BEFORE rules to alter value in row to be inserted.

by Karl & Betty Schendel <schendel@[EMAIL PROTECTED] > Jul 3, 2008 at 09:29 AM

On Jul 3, 2008, at 8:45 AM, Martin Bowes wrote:

> Hi All,
>
>
>
> I quote from the SQL reference guide…
>
> If the rule uses the BEFORE keyword, it fires before the INSERT is
>
> executed. This can be used to alter the value of the name or addr  
> columns
>
> (for example, after validating them against another table).
>
>
>
> How do I get a procedure to alter the value of a column in a row  
> (yet to be inserted in the table)?
>

Use OUT or INOUT procedure parameters.  The syntax ought to be doc'ed
in the SQL reference -- if not, I can dig around a little.

Karl
 




 1 Posts in Topic:
Re: [Info-Ingres] BEFORE rules to alter value in row to be inser
Karl & Betty Schendel  2008-07-03 09:29:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Aug 29 18:27:44 CDT 2008.