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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win32::OLE generic create table subroutine

Status
Not open for further replies.

perltastic

Programmer
Sep 16, 2004
4
GB
Hi, another newbie here. Searched the archives and couldn't find anything on this one, so apologies if it has already been covered. I'm using Win32::OLE to work with sql database. I'm trying to have a subroutine where the only paramters I provide are the database connection to use, what to use as the primary key, the table name, and a hash with the column names, their types and size. Any gurus out there suggest how I can go about this? I can create a specific table, but stumped on a subroutine for creating a generic table.

Thanks in advance
Monty
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top