Subject | Re: [firebird-support] Question: RDB$SYSTEM_FLAG = 0 No Results |
---|---|
Author | Mark Rotteveel |
Post date | 2019-02-26T16:41:25Z |
On 26-2-2019 17:29, Robert Tulloch tultalk@... [firebird-support]
wrote:
RDB$SYSTEM_FLAG IS NULL`
Or, just query without the condition and check what the actual value of
RDB$SYSTEM_FLAG is.
Mark
--
Mark Rotteveel
wrote:
> IB 6It is possible it has NULL instead of 0. So try `RDB$SYSTEM_FLAG = 0 OR
>
> Interesting:
>
> If I run
>
> select cast (RDB$RELATION_NAME as varchar(32)) AS TABLE_NAME, cast
> (RDB$INDEX_NAME as varchar(32)) AS INDEX_NAME, RDB$STATISTICS from
> rdb$indices where 0 = 0 AND RDB$SYSTEM_FLAG = 1 order by RDB$STATISTICS DESC
>
> The result set is all the system tables. Running RDB$SYSTEM_FLAG = 0
> returns zilch.
>
> Makes NO sense.
>
> I checked the RDB$SYSTEM_FLAG parameter and it is correct for the two
> different kinds of tables.
RDB$SYSTEM_FLAG IS NULL`
Or, just query without the condition and check what the actual value of
RDB$SYSTEM_FLAG is.
Mark
--
Mark Rotteveel