在用PowerDesigner时.常常在NAME或Comment中写中文在Code中写英文.Name只会显示给我们看,Code会使用在代码中.但Comment中的文字会保存到数据库TABLE的Description中,有时候我们写好了Name再写一次Comment很麻烦.以下两段代码就可以解决这个问题.
代码一:将Name中的字符COPY至Comment中
使用菜单:"Tools->Execute Commands->Edit/Run Scripts"来执行下面脚本
































































代码二:将Comment中的字符COPY至Name中














































