Function select Error.

Error is:2013 SQL ERROR Please contact site manager.