Hi! We have some table valued functions compiled with OPTION(QUERYTRACEON 9481) because the new cardinality estimation messes up the Query plan (we get a key lookup on more than a million rows because cardinality estimation gives a one row estimation). Running the TVF without the traceflag is half a minute of waiting for results, running it with the traceflag is a subsecond wait. Our developers don't have sysadmin permissions on the server, and therefore they can't compile the function(s) whenever there's a requirement change. Is there any way to grant developers the permission to use QUERYTRACEON without making them sysadmins? Our alternative would be to have members of the sysadmin role create the functions (which is what we do now), but that's not really a way to go - we don't want the development teams rely on sysadmins to alter queries and objects in the databases.