crmsql查詢表的資訊,crmsql資訊

來源:互聯網
上載者:User

crmsql查詢表的資訊,crmsql資訊

--查詢指定的lookup欄位對應的實體
select name,OriginalLocalizedName from MetadataSchema.Entity
where objecttypecode in (
 select objecttypecode from dbo.v_attributeobjecttypes where entityid in
 (select entityid from entity where name ='new_store')
 and attributename = 'new_area'
)

--查詢非同步作業
select * from dbo.AsyncOperation

 

--查詢網站地圖
select * from  dbo.IsvConfigBase

--查詢組織資訊
select * from  dbo.Organization

--查詢一個實體的許可權(實體: new_member)
select * from dbo.PrivilegeBase where name like '%new_member'

--查詢預存程序資訊
select * from MetadataSchema.StoredProcedureCatalog


使用SQL查詢表中資訊

select * from [表名稱] where [性別列名稱]='女' and [地址列名稱]=‘西安’ and [年齡列名稱] <19;
 
SQL查詢兩個表的資訊怎使用內連結

select 摘要,發送時間,發送人姓名,類別,附件,
資訊讀取時間 from a,b where a.發送人編號=b.發送人編號
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.