Quantcast
Channel: Ivanti User Community : Popular Discussions - All Communities
Viewing all articles
Browse latest Browse all 2325

how can i get the name of a request offering in a dbo.servicereq query

$
0
0

Heat 2015 SQL 2014 - How can I get the name of a request offering in a dbo.servicereq query.  I am running a query on service request tickets.  I would like to include the name of the request offering in my results as a column.  I can't figure out what to join or union as nothing matches between dbo.servicereq and dbo.servicereqtemplate.  I want to include:

 

 

YEAR(ServiceReq.[CreatedDateTime])  asYear,

(varchar(3),ServiceReq.CreatedDateTime)asMonth

,[ServiceReqNumber]asTicketNumber

,ServiceReq.[Sisu_CustomerRedID]asFacility

,ServiceReq.[CreatedBy]

,ServiceReq.[CreatedDateTime]

,ServiceReq.LoginID

,Servicereq.ProfileFullName

,ServiceReq.Source

,ServiceReq.CustPriority

,ServiceReq.[Status]


FROM {database}.[dbo].[ServiceReq]


 

 

dbo.servicereqtemplate.name is what I am trying to get


Viewing all articles
Browse latest Browse all 2325

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>