zoukankan      html  css  js  c++  java
  • form查询相关表

     
    ------------------------------------------------------------------------
    select * from limsappcategories
    select * from limsapplications
    select * from limsxfdforms
    select * from limsxfdresources
     
    select * from limsappserverscripts
    select * from limsappclientscripts
    select * from limsappdatasources
    ----------------------------form
    select f.formid ,c.catname, a.appname, f.formname
    from limsxfdforms f
    join limsapplications a
         on a.appid = f.appid
    join limsappcategories c
         on a.categoryid = c.categoryid
    where f.formid = '79B18936-DFEE-4002-9FF7-9BBBADB97A8A'
    ----------------------------serverscript
    select c.catname, a.appname, s.scriptid
    from limsappserverscripts s
    join limsapplications a
         on a.appid = s.appid
    join limsappcategories c
         on a.categoryid = c.categoryid
    where s.scriptid = 'C552F35A-B2F5-EB49-AE03-46E66F9CC31F'
    ----------------------------clientscript
    select c.catname, a.appname, s.scriptid
    from limsappclientscripts s
    join limsapplications a
         on a.appid = s.appid
    join limsappcategories c
         on a.categoryid = c.categoryid
    where s.scriptid = '5BBBF5D6-0CF4-4E72-A4C1-4D9D5B930392'
    ----------------------------datasource
    select c.catname, a.appname, d.datasourceid, ds.dsname
    from limsappdatasources d
    join limsdatasources ds
         on d.datasourceid = ds.datasourceid
    join limsapplications a
         on a.appid = d.appid
    join limsappcategories c
         on a.categoryid = c.categoryid
    where d.datasourceid = '193F410D-BDA8-400A-B40D-B49AFE8A93F8'
    ------------------------------------------------------------------------
    ----------------------------serverscript
    select * from limsserverscriptcategories
    select * from limsserverscripts
     
    select lsc.catname, ls.scriptname
    from limsserverscripts ls
    left join limsserverscriptcategories lsc
         on ls.categoryid = lsc.categoryid
    where ls.scriptid = '36BF138A-476F-E446-8766-31D3F9B6F6F9'
    ------------------------------------------------------------------------
    ----------------------------clientscript
    select * from limsclientscriptcategories
    select * from limsclientscripts
    select lcc.catname, lc.scriptname
    from limsclientscripts lc
    left join limsclientscriptcategories lcc
         on lc.categoryid = lcc.categoryid
    where lc.scriptid = '006C2968-C5BF-484E-946A-E8F311B8CC72'
    ------------------------------------------------------------------------
    ----------------------------datasource
    select * from limsdatasourcecategories
    select * from limsdatasources
     
    select lc.catname, ld.dsname
    from limsdatasources ld
    left join limsdatasourcecategories lc
         on lc.categoryid = ld.categoryid
    where datasourceid = '6B1740EA-742A-EB43-ACEF-77D4EC26A993'
    ------------------------------------------------------------------------
  • 相关阅读:
    android prgoressBar setProgressDrawable 在4.0系统式正常,在2.3系统上不能正常使用的问题
    android 动态控制状态栏显示和隐藏
    静态成员变量和静态成员函数(static)
    WPF中如何使用BusyIndicator
    C# 面试题 二
    C#面试题及答案 一 <转来的,貌似有看评论说有错误,正在一个个纠正中…… 也望园友们指出>
    [转载]如何用Visual Studio制作安装包
    WPF九宫格图片自定义皮肤(新博速读2.0)
    附加题
    附加题 回答问题
  • 原文地址:https://www.cnblogs.com/chenjx/p/7107260.html
Copyright © 2011-2022 走看看