I am creating a MySQL update query within a PERL script.
The target table contains 2 types of field, TEXT and BIGINT.
The field names are read from a stored array but I need to know the field type in order to enter the var as a number or a quoted text value.
I feel sure there must be a simple way of getting each field type but my searches have so far failed to unearth a suitable solution, can anyone help?
Keith
The target table contains 2 types of field, TEXT and BIGINT.
The field names are read from a stored array but I need to know the field type in order to enter the var as a number or a quoted text value.
I feel sure there must be a simple way of getting each field type but my searches have so far failed to unearth a suitable solution, can anyone help?
Keith