in reply to Re: variable typein thread variable type
DBI is OK has some sample code you might enjoy.