Solved

How to setup Use regional settings when outputting currency, number, dates and times in store procedure

Posted on 2004-08-26
1
425 Views
Last Modified: 2012-06-27
How to setup up "Use regional settings when outputting currency, number, dates and times"  = TRUE
In stored procedure

I basically want the setup above parameter to True or False according to what I need.
From query analysis i can manually set the abouve property easilly but now how can i do in store procedure.
0
Comment
Question by:Bharat Guru
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 34

Accepted Solution

by:
arbert earned 20 total points
ID: 11909169
Not sure what you're looking for exactly, but this really shouldn't be done on the server--there are built in methods to change formats--this thread kind of says it all:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=Xns92513857C2A5Yazorman%40127.0.0.1&rnum=1&prev=/groups%3Fq%3Dregional%2520settings%2520stored%2520procedure%2520%2522sql%2520server%2522%26hl%3Den%26lr%3D%26ie%3DUTF-8%26sa%3DN%26tab%3Dwg

Brett
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to shrink a transaction log file down to a reasonable size.

738 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