Here's one that would make my life easier, if it were possibke to have symbol substitution in sql for a few internal symbols that would save a lot of time.
E.g. something liek this to substitute the userid?
select a,b,mydb.dbo.user_defined_function(c,{{USERID}}) from mytable
Where {{USERID}} would be replaced with the value of the current logged in user (maybe also provide a group name etc in other variables?)
I can think of quite a few places where this would make codign a lot easier.