2010-08-18 11:36:36 PDT
Ok man, I am not very familiar with Java, but I found in your sourcodes this:
CREATE TEXT TABLE food_desc (NDB_No INTEGER PRIMARY KEY, FdGrp_Cd INTEGER, Long_Desc VARCHAR(200)," +
"Shrt_Desc VARCHAR(60), ComName VARCHAR(100) DEFAULT NULL, ManufacName VARCHAR(65) DEFAULT NULL," +
"Survey CHAR(1) DEFAULT NULL, Ref_desc VARCHAR(135) DEFAULT NULL, Refuse DECIMAL DEFAULT NULL," +
"SciName VARCHAR(65) DEFAULT NULL, N_Factor DECIMAL DEFAULT NULL, Pro_Factor DECIMAL DEFAULT NULL," +
"Fat_Factor DECIMAL DEFAULT NULL, CHO_Factor DECIMAL DEFAULT NULL)"
> For that we'll have to work out a custom import just for your source.
I am able to transform the source to any format you need I hope, so for both of us the SQL would be the best? So could you send me the sql file with the USDA sources and I will add here food from "my" sources? Or any other way, I just do not want you add you work...
I downloaded the new version, there is import function, but what is the format of the importing file?
Thank you!
Petr