Viewing 2 posts - 1 through 2 (of 2 total)
In group by clause, you should include all the columns present in the select list that are not aggregated.
So, in this example include all the columns in the group by...
July 25, 2010 at 12:14 am
#1197913
Hi,
1. Using Stored Procedure requires permission .
Only the members of the sysadmin fixed server role, the db_owner fixed database role, or the owner of the object can execute sp_rename.
2....
July 20, 2010 at 1:19 pm
#1195761