Solved

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

Posted on 2011-02-28
2
304 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 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 150 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Merige returns error code when updating 15 53
Pivot Query Problem 9 41
TSQL mapping detailed records to group records 9 52
Query to Add Late Tolerance 10 67
This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 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