Subject | Re: [ib-support] variable not updating in SP |
---|---|
Author | Woody |
Post date | 2002-05-16T00:37:54Z |
From: "csswa" <csswa@...>
"NotFound" just before you execute this. In that way, you can tell whether
or not it is actually finding the index for the current table or not. If it
isn't, you can start looking at things such as case, etc.
Woody (TMW)
> SELECT RDB$FIELD_NAMEThe first thing I would try would be to set the variable to something like
> FROM RDB$INDEX_SEGMENTS
> WHERE RDB$INDEX_NAME =
> (
> SELECT RDB$INDEX_NAME
> FROM RDB$INDICES
> WHERE (RDB$INDEX_NAME STARTING WITH 'RDB$PRIMARY')
> AND (RDB$RELATION_NAME = :VAR_TABLENAME)
> )
> INTO :VAR_PKNAME; <----------*** VARIABLE NOT REFRESHING
"NotFound" just before you execute this. In that way, you can tell whether
or not it is actually finding the index for the current table or not. If it
isn't, you can start looking at things such as case, etc.
Woody (TMW)