Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting Field type 1

Status
Not open for further replies.

audiopro

Programmer
Apr 1, 2004
3,165
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top