I found a way. Just like to know if Mathematica can do it directly:
lis1 = CoefficientRules[pp, {u, v, w}]
lis2 = Map[{If[#[[2]] > 0, "+", ""] <> ToString[#[[2]]], #[[1]]} &, lis1]
lis3 = Map[#[[1]] <> If[#[[2]] === {0,0,0}, "", "*" <> ToString[Times @@ ({u, v, w}^#[[2]]), InputForm]] &, lis2]
res = StringJoin @@ lis3
Note: Databases sqlite or mysql do not allow "^" as operator. In this case;
pp1 = pp /. X_^Y_ -> POWER[X, Y]
res = StringReplace[StringReplace[ ToString[N[pp1], InputForm], {"[" -> "(", "]" -> ")", " " .. -> "" }], ".)" -> ")"]
But I don't know how to control the number of decimals here.
César Lozada