![]() |
SQL-J Language Reference
|
Reference Manual |
INSTANCEOF ExpressionAn INSTANCEOF expression evaluates to a BOOLEAN. It returns TRUE if the type of the expression is an implementation or subtype of the JavaClassName type. If the expression evaluates to NULL, the INSTANCEOF expression returns FALSE. SyntaxExpression INSTANCEOF [ JavaClassName | ClassAlias ] In the situation in which a class alias and a Java class name shared the same name, Cloudscape finds the Java class name first. INSTANCEOF Expression Examples
SELECT * FROM People
-- Adult is a class alias
-- Verifying the type of a class's field |
|
![]() Cloudscape Version 3.6 For information about Cloudscape technical support, go to: www.cloudscape.com/support/.Copyright © 1998, 1999, 2000 Informix Software, Inc. All rights reserved. |