f2s_get_int

Applies to: Oracle, MS SQL, MySql/MariaDB, PostgreSQL Drivers

Syntax

f2s_get_int  {variable}

Parameter

Description

variable

uChar[] array to hold the mock .INT file contents

Description

This command returns the contents of the INT file generated from the restructuring done inside of f2s_scripting_mode block into a uChar array.

Example

   handle hUser
   integer iNewColumn
   uChar [] INTFile
   uChar [] SQLScript

   move Users.File_Number to hUser

   set_attribute f2s_scripting_mode of _f2s_ActiveDriverID to true
   Structure_Start hUser
     move 0 to iNewColumn
     Create_field hUser at iNewColumn
     Set_Attribute DF_FIELD_NAME of hUser iNewColumn to "Start_Date"
     Set_Attribute DF_FIELD_TYPE of hUser iNewColumn to DF_DATE
   Structure_end hUser
   set_attribute f2s_scripting_mode of _f2sActiveDriverID to false

   f2s_get_int INTFile
   f2s_get_sql_script SQLScript

Replaces

GET_INT_CHUNK