真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

Powerdesigner數(shù)據(jù)庫(kù)反向生成PDM顯示中文

Tools->Execute Commands->Edit/Runscript…

創(chuàng)新互聯(lián)擁有一支富有激情的企業(yè)網(wǎng)站制作團(tuán)隊(duì),在互聯(lián)網(wǎng)網(wǎng)站建設(shè)行業(yè)深耕十多年,專(zhuān)業(yè)且經(jīng)驗(yàn)豐富。十多年網(wǎng)站優(yōu)化營(yíng)銷(xiāo)經(jīng)驗(yàn),我們已為1000多家中小企業(yè)提供了成都網(wǎng)站制作、網(wǎng)站設(shè)計(jì)、外貿(mào)網(wǎng)站建設(shè)解決方案,按需網(wǎng)站建設(shè),設(shè)計(jì)滿(mǎn)意,售后服務(wù)無(wú)憂(yōu)。所有客戶(hù)皆提供一年免費(fèi)網(wǎng)站維護(hù)!

執(zhí)行以下腳本,在Powerdesigner從數(shù)據(jù)庫(kù)反向生成PDM時(shí),NAME顯示中文。

 

Option Explicit

ValidationMode = True

InteractiveMode = im_Batch

Dim mdl ' the current model

' get the current active model

Set mdl = ActiveModel

If (mdl Is Nothing) Then

MsgBox "There is no current  Model"

ElseIf Not mdl.IsKindOf(PdPDM.cls_Model)  Then

MsgBox "The current model is not an Physical  Data model."

Else

ProcessFolder mdl

End If

' This routine copy name into code for  each table, each column and each view

' of the current folder

Private sub ProcessFolder(folder)

Dim Tab 'running table

for each Tab in folder.tables

if not tab.isShortcut then

if tab.comment ="" then

else

tab.name=tab.name+"("+tab.comment+")"

on error resume next

end if

Dim col ' running column

for each col in tab.columns

if col.comment="" then

' MsgBox "表"+tab.name+"列"+col.name +"沒(méi)有comment"

else

col.name=col.name+"("+col.comment+")"

on error resume next

end if

next

end if

next

Dim view 'running view

for each view in folder.Views

if not view.isShortcut then

if view.comment="" then

MsgBox "視圖"+view.name  +"沒(méi)有comment"

else

view.name=view.name+"("+view.comment+")"

on error resume next

end if

end if

next

' go into the sub-packages

Dim f ' running folder

For Each f In folder.Packages

if not f.IsShortcut then

ProcessFolder f

end if

Next

end sub


分享標(biāo)題:Powerdesigner數(shù)據(jù)庫(kù)反向生成PDM顯示中文
文章來(lái)源:http://weahome.cn/article/iedgsc.html

其他資訊

在線咨詢(xún)

微信咨詢(xún)

電話(huà)咨詢(xún)

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部