f_switchdb_check.srf 342 B

1234567891011121314
  1. $PBExportHeader$f_switchdb_check.srf
  2. global type f_switchdb_check from function_object
  3. end type
  4. forward prototypes
  5. global function integer f_switchdb_check ()
  6. end prototypes
  7. global function integer f_switchdb_check ();int flag=0
  8. select switch_chkflag into :flag from sys_DB_version;
  9. if isnull(flag) then flag=0
  10. return flag
  11. end function