Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 SQL Manual » SQL/PSM Functions » STMTRESULT |
STMTRESULT(<StatementName>) <StatementName> = Previously-executed statement
BOOLEAN
-- This function returns whether any errors -- were found when repairing the passed table name CREATE FUNCTION RepairTable(IN TableName VARCHAR COLLATE ANSI_CI, IN StructureOnly BOOLEAN) RETURNS BOOLEAN BEGIN DECLARE Stmt STATEMENT; PREPARE Stmt FROM 'REPAIR TABLE '+QUOTEDSTR(TableName,'"')+ IF(StructureOnly,' STRUCTURE ONLY',''); EXECUTE Stmt; RETURN STMTRESULT(Stmt); END
Deviation | Details |
Extension | This function is an ElevateDB extension. |
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |