diff --git a/functions/sesam.xml b/functions/sesam.xml index 4192f137fb..7b617a64be 100644 --- a/functions/sesam.xml +++ b/functions/sesam.xml @@ -1,5 +1,5 @@ - + SESAM database functions SESAM @@ -1476,110 +1476,116 @@ if (!sesam_execimm ($stmt)) column(col), where col is between 0 and $arr["count"]-1. The returned value can be one of - - - integer - - - float - - - string - - - depending on the SQL type of the result. SESAM "multiple fields" - are "inlined" and treated like the respective number of columns, - each with the same php type. - - - - string $arr[col]["sqltype"] - - SQL variable type of the column data for - column(col), where col is - between 0 and $arr["count"]-1. The returned - value can be one of - - - "CHARACTER" - - - "VARCHAR" - - - "NUMERIC" - - - "DECIMAL" - - - "INTEGER" - - - "SMALLINT" - - - "FLOAT" - - - "REAL" - - - "DOUBLE" - - - "DATE" - - - "TIME" - - - "TIMESTAMP" - - - describing the SQL type of the result. SESAM "multiple fields" - are "inlined" and treated like the respective number of columns, - each with the same SQL type. - - - - string $arr[col]["length"] - - The SQL "length" attribute of the SQL variable in - column(col), where col is - between 0 and $arr["count"]-1. The "length" - attribute is used with "CHARACTER" and "VARCHAR" SQL types to - specify the (maximum) length of the string variable. SESAM - "multiple fields" are "inlined" and treated like the respective - number of columns, each with the same length attribute. - - - - string $arr[col]["precision"] - - The "precision" attribute of the SQL variable in - column(col), where col is - between 0 and $arr["count"]-1. The - "precision" attribute is used with numeric and time data types. - SESAM "multiple fields" are "inlined" and treated like the - respective number of columns, each with the same precision - attribute. - - - - string $arr[col]["scale"] - - The "scale" attribute of the SQL variable in - column(col), where col is - between 0 and $arr["count"]-1. The "scale" - attribute is used with numeric data types. SESAM "multiple - fields" are "inlined" and treated like the respective number of - columns, each with the same scale attribute. - - - - - + + + + integer + + + float + + + string + + + + depending on the SQL type of the result. SESAM "multiple + fields" are "inlined" and treated like the respective number + of columns, each with the same php type. + + + + string $arr[col]["sqltype"] + + SQL variable type of the column data for + column(col), where col + is between 0 and $arr["count"]-1. The + returned value can be one of + + + + "CHARACTER" + + + "VARCHAR" + + + "NUMERIC" + + + "DECIMAL" + + + "INTEGER" + + + "SMALLINT" + + + "FLOAT" + + + "REAL" + + + "DOUBLE" + + + "DATE" + + + "TIME" + + + "TIMESTAMP" + + + + describing the SQL type of the result. SESAM "multiple + fields" are "inlined" and treated like the respective number + of columns, each with the same SQL type. + + + + string $arr[col]["length"] + + The SQL "length" attribute of the SQL variable in + column(col), where col + is between 0 and $arr["count"]-1. The + "length" attribute is used with "CHARACTER" and "VARCHAR" + SQL types to specify the (maximum) length of the string + variable. SESAM "multiple fields" are "inlined" and treated + like the respective number of columns, each with the same + length attribute. + + + + string $arr[col]["precision"] + + The "precision" attribute of the SQL variable in + column(col), where col + is between 0 and $arr["count"]-1. The + "precision" attribute is used with numeric and time data + types. SESAM "multiple fields" are "inlined" and treated + like the respective number of columns, each with the same + precision attribute. + + + + string $arr[col]["scale"] + + The "scale" attribute of the SQL variable in + column(col), where col + is between 0 and $arr["count"]-1. The + "scale" attribute is used with numeric data types. SESAM + "multiple fields" are "inlined" and treated like the + respective number of columns, each with the same scale + attribute. + + + + + See the sesam_query function for an example