<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    StevenBot-Saltsam

    眼睛能裝下世界,為何卻裝不下眼淚? 一只風箏一輩子只為一根線冒險。 那不是一場游戲,為何總有一根線牽著心懷,隱隱作疼? 那不是一段邂逅,為何飄在橋上的影子,總纏進夢鄉? 那不是一個夢境,為何你的溫柔私語,總是不經意的響起?

    導航

    <2025年7月>
    293012345
    6789101112
    13141516171819
    20212223242526
    272829303112
    3456789

    統計

    常用鏈接

    留言簿

    隨筆分類

    隨筆檔案

    文章分類

    文章檔案

    datas link

    OSChinal Sources codes Library

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    由PowerDesigner物理模型生成sql語句

    Tools-->Execute Commands-->Edit/Run Script 在打開的窗口中 past 下面的代碼:

    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

             tab.comment = tab.name  + tab.comment '此處任意設置表的注釋,此處為表名和注釋一起

             Dim col ' running column

             for each col in tab.columns

                col.comment= col.name + col.comment

             next

          end if

       next

     

       Dim view 'running view

       for each view in folder.Views

          if not view.isShortcut then

             view.comment = view.name

          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

    然后運行Run

     

    Database --> Generate Database  這時就可以生成帶有comments為物理模型中Name屬性的SQL語句了。

    posted on 2011-10-08 10:13 Steven_bot 閱讀(1264) 評論(0)  編輯  收藏 所屬分類: 遇到的一些問題

    主站蜘蛛池模板: 亚洲免费综合色在线视频| 国产成人亚洲精品青草天美| 国产亚洲综合久久| 人妖系列免费网站观看| 蜜桃成人无码区免费视频网站| 亚洲香蕉免费有线视频| 亚洲人成依人成综合网| 久久亚洲AV成人无码国产电影 | 麻豆成人久久精品二区三区免费| 亚洲中文字幕伊人久久无码| h视频免费高清在线观看| 久久久久久国产精品免费无码| 日本特黄特色免费大片| 含羞草国产亚洲精品岁国产精品 | 好吊妞788免费视频播放| 亚洲成a∨人片在无码2023| 日本xxwwxxww在线视频免费| 四虎影视永久在线精品免费| 亚洲精品国产福利一二区| 免费在线观影网站| 青青青青青青久久久免费观看| 国产AV无码专区亚洲AWWW| 国产无遮挡无码视频免费软件 | 亚洲福利在线观看| 野花高清在线观看免费3中文| 亚洲精品美女久久7777777| 亚洲av无码国产精品色在线看不卡 | 亚洲综合一区二区精品导航| 成年人网站免费视频| 精品亚洲视频在线| 亚洲AV无码久久精品狠狠爱浪潮| 国产成人亚洲毛片| 亚洲人JIZZ日本人| 成人黄页网站免费观看大全| 一区二区三区免费看| 亚洲国产精品人久久电影| 亚洲AV无码专区日韩| 亚洲视频在线观看免费视频| 国产尤物在线视精品在亚洲| 亚洲av无码不卡| 亚洲国产主播精品极品网红 |