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.發送人編號
 

相關文章

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.