You typically can use the name of a stored proc anywhere in place
of a select statement. Somtimes you need "EXEC procname", but not
usually.
-- Dale E. Reed Jr. (daler@iea-software.com)_________________________________________________________________ IEA Software, Inc. | RadiusNT, Emerald, and NT FAQs Internet Solutions for Today | http://www.iea-software.com