FUNCTION  fGetPhotoApMag

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

The table returned contains the r-band aperture magnitude and error along with the PSF magnitude and error, and rowc, colc. select apMag_r, apMagErr_r from dbo.fGetPhotoApMag(587726014001184891,'r',7)

Input and output parameters

nametypelengthinoutpnum
@naperint4input3
@objidbigint8input1
@filtervarchar1input2
rowcreal4output2
colcreal4output3
psfMagreal4output4
psfMagErrreal4output5
apMagreal4output6
apMagErrreal4output7
objidbigint8output1