diff --git a/src/metadata/CreateDDLVisitor.cpp b/src/metadata/CreateDDLVisitor.cpp index 9e84c534..5475aa04 100644 --- a/src/metadata/CreateDDLVisitor.cpp +++ b/src/metadata/CreateDDLVisitor.cpp @@ -74,6 +74,14 @@ wxString CreateDDLVisitor::getCommentOn(MetadataItem& object) comment << "COLUMN "; break; }; + case ntParameter: + { + Parameter p = dynamic_cast(object); + wxString tabname(p.getParent()->getQuotedName()); + name = tabname << "." << name; + comment << "PARAMETER "; + break; + }; case ntUDF: comment << "EXTERNAL FUNCTION "; break;