USE RTC
--SELECT * FROM Resource
--SELECT * FROM Conference
SELECT ConfId,
CASE
WHEN OrganizerId IS NOT NULL THEN (SELECT TOP 1 UserAtHost FROM Resource WHERE OrganizerId LIKE ResourceId)
END AS 'UserSIPAddress',
Title,
ProvisionTime,
LastUpdateTime
FROM Conference

No comments:
Post a Comment