• Why do u want to sum database names????? sum is an aggregate function..how can it sum varchar column? what r u trying to achieve?