FUNCTION  fGetUrlFitsMask

Get the URL to the FITS file of a frame mask given the fieldID and band

Combines the value of the DataServer URL from the SiteConstants table and builds up the whole URL from the fieldId (and a u, g, r, i or z filter)
select dbo.fGetUrlFitsMask(568688299343872,'r')

Input and output parameters

nametypelengthinoutpnum
@fieldIdbigint8input1
 varchar256input0
@filtervarchar4input2