Is it possible to use the SET command in a table-value function?

I want to use the following commands in a table-value function.  Is this possible?  If so, Where do I place the commands?

            SET ARITHABORT OFF
            SET ARITHIGNORE ON
            SET ANSI_WARNINGS OFF
mburk1968Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
no, those are not possible inside the function.
you can set them just before you creation the function, so the function shall apply those settings when it runs.
0
 
mburk1968Author Commented:
Thank You.  I understand the solution.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.