FUNCTION  fPhotoApMag

Returns the aperture magnitude for the given filter (band) and aperture.

select TOP 10 objid, dbo.fPhotoApMag(objid,'r',7), dbo.fPhotoApMagErr(objid,'r',7) from PhotoObj

Input and output parameters

nametypelengthinoutpnum
@naperint4input3
 real4input0
@objidbigint8input1
@filtervarchar1input2