Get table functions from sys.objects in the database.