%@LANGUAGE="VBSCRIPT"%>
<%
'=====================================================
' wAddReleaseReplica.asp
' IFrame Dialog to add package replicas to the current Release
'=====================================================
%>
<%
Option explicit
Response.Expires = 0 ' always load the page, dont store
%>
<%
'------------ ACCESS CONTROL ------------------
%>
<%
'------------ Variable Definition -------------
Dim rsQry
'------------ Constants Declaration -----------
'------------ Variable Init -------------------
'----------------------------------------------
%>
<%
Function Get_All_Server_Names
Get_All_Server_Names = _
"WITH aa as (" &_
" SELECT * from blat_projects where proj_id = (select PROJ_ID from RELEASE_TAGS where rtag_id = :RTAG_ID)" &_
" )" &_
" SELECT" &_
" bs.*," &_
" nvl2(br.BLAT_ID, 1, 0) AS inRelease," &_
" nvl2(aa.BLAT_ID, 1, 0) AS inProject" &_
" FROM" &_
" blat_servers bs," &_
" blat_releases br," &_
" aa" &_
" WHERE" &_
" bs.BLAT_ID = br.BLAT_ID (+)" &_
" AND br.rtag_id(+) = :RTAG_ID" &_
" AND bs.BLAT_ID = aa.BLAT_ID (+)" &_
" ORDER BY" &_
" upper(blat_display_name) ASC"
End Function
%>
Release Manager
<%
Call Destroy_All_Objects
%>