Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-02-28
2
Medium Priority
?
315 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:mburk1968
2 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 600 total points
ID: 34997058
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
 

Author Closing Comment

by:mburk1968
ID: 35000440
Thank You.  I understand the solution.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question