Link to home
Start Free TrialLog in
Avatar of damixa
damixaFlag for Denmark

asked on

excel macro to generate sql code

I need a macro code that looks into an excel file and looks at two columns

Column A (ODSName) which has the field name

Column B (Field type) which has the field type (VARchar, INT etc)

I just need some simple excel macro that generates the sql code to create the table

for example

CREATE TABLE customer
(First_Name char(50),
Last_Name char(50),
Address char(50),
City char(50),
Country char(25),
Birth_Date date)



Avatar of damixa
damixa
Flag of Denmark image

ASKER

:)
ASKER CERTIFIED SOLUTION
Avatar of Patrick Matthews
Patrick Matthews
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial