Regional settings is not effecting in SQL Server

Hi All,
I made changes to the regional and language (made decimal = ,) of the windows server 2008 R2 Standard but the database still not accepting comma as a decimal point.
Tried restarting the SQL Server services and restarted the server without luck.
Really appreciate inputs.
Thanks,
Ram.
Please don't forget to Marked as Answer if my post solved your problem and use Vote As Helpful if a post was useful. It will helpful to other users.

1. Right click on the server name.
2. Click on Facets.
3. Then select Server Configuration Facet.
4. Look for Default Language.
5. Set it to values as given in the below link:- For Ex: 1 for German
This changes the default language for new users. (And I don't think there is a need to restart of SQL Server, but I have not checked.)
To change the default language for an existing user, use ALTER USER.
But of course, the whole talk about language setting in SQL Server in this context is completely uselss. SQL Server only knows about decimal points. This applies both to literals in the code, and when interpreting strings with CAST/CONVERT.
Everyone is correct that that regional settings does not affect SQL Server - nor should it, it is a server after all.
One more point here when i try creating a filtering functionality on application it is creating decimal as "." not "," is this issue related to application or DB?
I have no idea what you are doing, but the answer is probably the application.
Erland Sommarskog, SQL Server MVP, [email protected]

Similar Messages

  • "set deadlock_priority" not effective in SQL Server 2012?

    I am trying to control which of two sessions is chosen as the deadlock victim in SQL Server 2012. I have set up a test that induces a deadlock by updating two tables in opposite order with a "waitfor" in between the updates. I can consistently
    repro the deadlock and have code that will catch it and re-try the transaction.
    However, when I run "set deadlock_priority low" for one of the sessions, it does not change which victim is chosen. SQL Server consistently chooses the session that starts last as the deadlock victim regardless of this setting. I have verified
    that the setting is correct by selecting deadlock_priority from sys.dm_exec_sessions. I have tried setting the session that starts first to "low" and the one that starts second to "high". In spite of that, the second one is always
    the one that gets chosen as the victim.
    Is this the expected behavior?
    Thanks,
    Ron Rice
    Ron Rice

    I didn't try extremely hard, but I was not able to reproduce the issue. Running in the Northwind database, I had this in one window:
    SET DEADLOCK_PRIORITY LOW
    go
    BEGIN TRANSACTION
    go
    SELECT * FROM Orders WITH (REPEATABLEREAD) WHERE OrderID = 11000
    WAITFOR DELAY '00:00:02'
    UPDATE Orders SET CustomerID = 'ALFKI' WHERE OrderID = 11000
    go
    ROLLBACK TRANSACTION
    and in the other window I had:
    SET DEADLOCK_PRIORITY HIGH
    go
    BEGIN TRANSACTION
    go
    SELECT * FROM Orders WITH (REPEATABLEREAD) WHERE OrderID = 11000
    WAITFOR DELAY '00:00:02'
    UPDATE Orders SET CustomerID = 'ALFKI' WHERE OrderID = 11000
    go
    ROLLBACK TRANSACTION
    And every time I tried, it was the first window that fell on the floor.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Shrink database is not active in SQL SERVER Enterpriser manager

    Dear guru
    Shrink database is not active in SQL SERVER Enterpriser manager what to do
    Rupesh
    SAP BASIS Consultant

    Hi,
    >Thank you very much for not supporting i have solved the problem by reading some other documents
    That's exactly what I wanted you to do : With a little personal work, you can actually learn to do your own work ! "Don't give fish to hungry people. Teach them how to go fishing !"
    Regards,
    Olivier

  • Add does not run with sql server 2008

    Hi all,
    My add on in the development environment does not run with SQL SERVER 2008. It ran well with SQL Server 2005 and sap b1 2207 B.
    On executing the project file system throws an error "YOU ARE NOT CONNECTED TO THE COMPANY"
    we are trying this scenario on a test machine where SAP B1 2007B with temporary license for one month and SQL server 2008
    is installed.
    Help needed.
    Thanking you
    Pradnya

    Hi Use this
    Dim i as integer
    i=oCompany.Connect()
    if i<> 0 Then
    msgbox(ocompany.GetLastErrorDescription ())
    end if
    the you will get the error description also use try catch wherever necessary
    Alternatively you can use
    Dim SboGuiApi As SAPbouiCOM.SboGuiApi
    Dim sConnectionString As String
    Set SboGuiApi = New SAPbouiCOM.SboGuiApi
    sConnectionString = Command
    SboGuiApi.Connect sConnectionString
    Set SBO_Application = SboGuiApi.GetApplication()
    Set ocompany = New SAPbobsCOM.Company 'initialate DI company object
      ocompany = SBO_Application.Company.GetDICompany
    HTH,
    Atul

  • EXEC SP_EXECUTESQL not working in sql server 2014

    EXEC SP_EXECUTESQL not working in sql server 2014

    EXEC SP_EXECUTESQL not working in sql server 2014
    Hi Amar,
    What's the error when executing this stored procedure?
    I have tested it on my local environment, we can run this SP without any problems.
    Please provide us more information, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Database Mail not working with SQL Server Agent

    I'm running SQL Server 2005 Standard edition 64 bit with SP2 on a 64 bit machine. 
    Database mail does not work with SQL Server Agent.  When I configure SQL Server Agent to use database mail the test email button is greyed out and inactive therefore I cannot send emails using operators or for jub success failure etc. 
    I've read that there was supposed to be a fix for this with SP1 but I have SP2 and still receive the same problem.  Please can somebody help as I do not wish to use SQL Mail as a work around due to this becomming redundant in future versions of SQL Server.
    Kind Regards

    The problems solved
    steps:
    1)we create a mail profile at at Managment->Database Mail ,of SQL Managment
    2)we set this account as "default" at Managment->Database Mail -> Configure Database Mail -> Manage profile security
    3)At tab "Alert System" of SQL Server Agent properties , we check the "Enable mail profile" , Mail System=Database Mail, Mail profile = "the profile we already create"
    4)we create a new operator at "Operators" of sql agent, where at "notification options" -> "Email name" we put the mail where we want to sent the agent the mails at failured job
    5)We go at a specific job, at tab "Notifications" ,we check the "email" check box and then we choose the operator we just create, at the text box next to check box.
    I hope not to forget something
    Thank You all for the help

  • What are all the features not supported in SQL Server 2012 trial version?

    What are all the features not supported in SQL Server 2012 trial version?

    The evaluation edition supports all features and expires after 180 days.
    https://msdn.microsoft.com/en-us/library/cc645993.aspx?f=255&MSPPError=-2147217396

  • Wndows could not start the SQL Server (MSSQLSERVER) service on Local computer

    I have 2 instance of SQL Server in same server. A is installed first and B next.
    Somehow A cannot start at all when I try to start from Windows Services.
    B can be started normally.
    A worked normally week ago. There has been only one thing what I may have to server since that.
    I have installed MondoDB. Currently MondoDB it is stopped. 
    windows could not start the SQL Server (MSSQLSERVER) service on Local computer
    Error 31: A device attached to the system is not functioning.
    Kenny_I

    I don't see anything special in event logs.
    Data file of both SQL Server instance are located on same C drive of same server.
    Kenny_I
    Hello Kenny,
    The main issue is not related to SQL server .SQL is at receiving end its hardware or the cables ( not sure which one) are the one causing issue.
    I serached
    http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/111da2ae-0a86-41a5-ba03-7d1c0cc91ea9/windows-error-code-31a-device-attached-to-the-system-is-not-functioning-properly?forum=wdk
    http://www.chicagotech.net/netforums/viewtopic.php?f=1&t=6467
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Could not connect to sql server 2008 R2

    TITLE: Connect to Server
    Cannot connect to SURENDRA-PC\MSSQLSERVER.
    ADDITIONAL INFORMATION:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    SQL Network Interfaces, error: 25 - Connection string is not valid) (Microsoft SQL Server, Error: 87)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=87&LinkId=20476
    BUTTONS:
    OK

    Hi Shravan,
    According to my research, besides the causes from SQL Server services, firewall, protocol according to other people’s posts, the issue could also be due to the wrong server name, or the remote connections are not allowed. To work around your issue, please
    pay attention to the points below.
    Firstly, for the local connection to SQL Server default instance, please just type [.] dot  or 'localhost','(local)' in server name field according to Shashikant’s post.
    Secondly, for the remote connection to SQL Server default instance, please make sure that 'Allow remote connections to this server' is checked in Server Connections properties in SQL Server Management Studio referring to the
    article. And just type the computer name in server name field, like SURENDRA-PC.
    Regards,
    Michelle Li

  • System.Data.SqlClient.SqlException: The locale identifier (LCID) 16393 is not supported by SQL Server

    I have SQL Server 2005 Developer Edition. And my operating system is Windows Vista.
    I have written a procedure in C# and deployed it on SQL Server. However when i try to run it i get the following error.
    System.Data.SqlClient.SqlException: The locale identifier (LCID) 16393 is not supported by SQL Server
    Also I tried using same procedure in Windows XP machine and it workd fine. Can anyone help me what could be the problem?

    Hi Jonathan
    I tried posting the error box here but it is not allowing me.
    Here is the error coming up:
    A .NET framework error occured during execution of user-defined routine or aggregate.
    System.Data.SqlClient.Sqlexception:The locale identifier (LCID)1153 is not supported by SQL Server.
    System.Data.SqlClient.Sqlexception:atSystem.Data.SqlClient.SqlConnection.OnError(SqlExceptionexception, Boolean breakConnection)                            atSystem.Data.SqlClient.SqlInternalConnection.OnError(SqlExceptionexception, BoleanbreakConnection)                     atSystem.data.SqlCleitn.SqlInternalConnectionSmi.EventSink.ProcessMessagesandThrow(Boolean ignoreNonFatalMessages)             atMicrosoft.SqlServer.Server.SmiEventSink_Default.ProcessMessagesandThrow(Boolean ignoreNonFatalMessages) atSystem.Data.SqlClient.SqlCommand.RunExecuteNonQuerySmi.(BooleansendTo Pipe)                                           atSystem.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResultresult,StringmethodName,BooleansendToPipe)
                                                       atSystem.Data.SqlClient.SqlCommand.ExecuteNonQuery()
    I hope this will shed some light.
    Cheers

  • Common requirement_SSMA Runtime emulation components were not found on SQL Server, please check if Extension Pack is installed correctly

    Greetings,
    After the installation of the extension pack (local sql server and installed local) i get this warning:
    Common requirement SSMA Runtime emulation components were not found on SQL Server, please check if Extension Pack is installed correctly
    and
    Common requirement SSMA Synchronization components were not found on SQL Server, please check if Extension Pack is installed correctly.
    In the Program and Features Control panel the Feature "SSMA Extensionpack" (or similar) is installed and i see it in the startmenu.
    what's wrong here, any hints?

    Hi A. Bloise,
    Based on your description ,we need to verify that the type and version of SSMA Extension Pack. Assume that you install SSMA for Oracle Extension Pack, I recommend you check the following things.
    1. Make sure that the setup file of SSMA for Oracle Extension Pack is not corrupted. You can download it from
    Microsoft Download Center.
    2. Make sure that your computer meets the following requirements for the SSMA for Oracle Extension Pack.
        •SQL Server 2005 or higher.
        •Microsoft Windows Installer 3.1 or a later version.
        •Oracle Client 9.0 or a later version, and connectivity to the Oracle databases that you want to migrate.
        •The SQL Server Browser service must be running during installation.
    3. Make sure that  the account used to install the extension pack, is a member of the sysadmin server role on the instance of SQL Server.
    If this does not work, please contact with SSMA support team for further help:
    [email protected]
    Thanks,
    Lydia Zhang

  • DB mail not working in sql server 2005

    Hi,
    from today i get following error on sql server 2005
     Exception Type: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException
    Message: There was an error on the connection. Reason: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Void OpenConnection(Microsoft.SqlServer.Management.Common.SqlConnectionInfo)
    I can not send the mail.I am sending the mails same profile that configured.Before it is working perfectly.Today I send the bulk mails(near about 4000-5000 mails) through the java code. And from that time i can not get any mails.
    Please tell me how to solve the problem?

    Hello,
    Please refer to the following thread:
    https://social.technet.microsoft.com/Forums/en-US/c8fa3c2d-9e8a-4886-97bf-264c1b8bc31c/throttling-settings-for-sending-more-that-1500-emails-simultaneously-using-sql-job?forum=exchangesvrsecuremessaging
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Why is the LookUp object in the Flow Task of my SSIS package going red (and not working) ? Sql Server 2008 R2

    I have been working with the Sql Server 2008 R2 SSIS Tutorial at
    https://msdn.microsoft.com/en-us/library/ms170419(v=sql.105).aspx
    --specifically -- Lesson 1.  I have been having some problems with this lesson where the source data from the samples download doesn’t exactly match the data described in the tutorial, and the tables in the tutorial are different from what
    is contained in AdventureWorksDW (tutorial refers to DimTime – AdventureWorksDW contains DimDate and no DimTime).  
    So, after futzing in BI with this tutorial  so that I can at least get it to run in Debug – it errors out on the 2<sup>nd</sup> LookUp object.
    Rather than looking for a fix to the problem(s) that I am having between the tutorial and the stuff I downloaded in the samples --
     I want “Adapt” the tutorial so I can use the stuff I downloaded and hopefully learn how to use SSIS with the elements (source data and tables) that are present on my workstation. 
    Here is a description of what is going on for me – which I really don’t understand what is going on in BI – based on the images below – like what columns (from what tables) are they associating to in the OleDB Destination? 
    Note:  the sql in the LookUps here is the sql that I copied from the tutorial. 
    I probably need to modify these sql statements – so -- the help I am requesting is to make the required modifications/changes
     so that I can adapt this tutorial with the stuff that’s on my workstation.
    I downloaded the samples and the AdventureWorksDW mdf for Sql Server 2008 R2. 
    It turns out that in the tutorial it wants me to select a DimTime table, but the version of the AdventureWorksDW db does not contain a DimTime table. 
    Instead, it contains a DimDate table.  So I tried adapting DimDate for the tutorial. 
    Additionally, the sample data file -- SampleCurrencyData.txt -- has slightly different data types than the types described in the tutorial, so I selected data types for the columns in the datasource text file that would work in BI would to
    connect column from source data file to the table.
    After finishing all the steps for Lesson 1 -- when I tried debugging the package – and it error'd out on  the 2<sup>nd</sup> Lookup object whichwent red.
      I edited the lookups and the sample Ole DB Destination to "ignore on fail” and I did all
     green but the FactCurrencyRate table is not being populated -- as described in the tutorial, so I reset the on error back to default (Fail on error option).   And based on this tutorial -- I believe FactCurrencyRate
    table is the table which is supposed to be populated with the data from SampleCurrencyData.txt?
    In the sample data file that downloaded with all the samples  I removed all the data from the text file except for 6 rows, so instead of the original 1100 or so rows, I have only 6 rows of data in the source data file (just to keep things
    simple for debugging for now).  I did not modify the data itself. 
    Here is what the (raw) data contained in SampleCurrencyData.txt looks like (from the samples that I downloaded from codeplex) – it’s supposed to be 4 columns of data – float, nvarchar, datetime, float:
    0.281690141       USD      
    6/26/2004 0:00  0.281713948
    0.281690141       USD      
    6/27/2004 0:00  0.281642539
    0.281690141       USD      
    6/28/2004 0:00  0.281761573
    0.283286119       USD      
    6/29/2004 0:00  0.283221933
    0.283286119       USD      
    6/30/2004 0:00  0.283358363
    0.281690141       USD      
    7/1/2004 0:00     0.281682206
    Below are images of my BI Layout for Lesson 1 from this tutorial -- the FlatFile and configurations for On Fail Error, A Flow task, the 2 LookUps (CurrencyKey and DataKey), the OleDB Destination configuration, the Design view of the associated tables and
    the Debug Run of Lesson 1, and the following error messages. My goal is to figure out what is going on in BI for this tutorial.
    Error: 0xC020901E at Extract Sample Currency Data, Lookup Datakey [51]: Row yielded no match during lookup.
    Error: 0xC0209029 at Extract Sample Currency Data, Lookup Datakey [51]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. 
    The "component "Lookup Datakey" (51)" failed because error code 0xC020901E occurred, and the error row disposition on "output "Lookup Match Output" (53)" specifies failure on error. An error occurred on the specified
    object of the specified component.  There may be error messages posted before this with more information about the failure.
    Error: 0xC0047022 at Extract Sample Currency Data, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. 
    The ProcessInput method on component "Lookup Datakey" (51) failed with error code 0xC0209029 while processing input "Lookup Input" (52). The identified component returned an error from the ProcessInput method. The error is specific
    to the component, but the error is fatal and will cause the Data Flow task to stop running. 
    There may be error messages posted before this with more information about the failure.
    --this is the flat file
     -- SampleCurrencyData.txt (which only contains 6 data rows for my purposes)
    --and here is where I assign the data types for the colums of -- SampleCurrencyData.txt
    This is the first LookUp Object -- LookUp Currency Key – The DB contains DimCurrency table. 
    I copied the sql from the tutorial here.
    I actually have a DimCurrency table in my copy of AdventureWorksDW. 
    Here’s the design view of DimCurrency and a sample of the data contained in DimCurrency and the On Fail configuration
    I actually have a DimCurrency table in my copy of AdventureWorksDW. 
    Here’s the design view of DimCurrency and a sample of the data contained in DimCurrency and the On Fail configuration
    --Here is what the data looks like in the DimCurrency table
    --2<sup>nd</sup> LookUp object  -- LookUp Data Key – this is the LookUp
     where BI errors out on Debug
    --it appears this lookup is referencing the DimDate table – which I DO have in the DB.
    --I can’t find the following sql in the tutorial, so I suppose BI added the sql (did it?)
    --Here's how I configured for On Error
    --Here is DimDate table in Design view
    --Here is a sample of the original data contained in DimData
    OleDB Destination
    --Here is where I get lost a bit – what is going on in the destination here?
    --Here's my On Error configuraino
    --and here is the FactCurrencyRate table
    --and here is a sample of the data contained in FactCurrencyRate
    Rich P

    Thank you for your reply.  I changed the error handling as you suggested on the 2nd lookup to redirect to unmatched rows.  Now I get all greet.  I don't have the conditional split as in your diagram.  But also, nothing appears to have
    happened in the DB.  Aren't the rows in my text file supposed to be added to the FactCurrencyRate table?
    How do I get a conditional split?
    Rich P
    OK, sorry I forgot to reply you back.
    Conditional Split was just dummy task. Ignore it.
    Manipulate the data in such way that you get matching records.
    Inside Source, for first 2 rows I put the dates which are available in DimDate.
    1.00010001,ARS,7/1/2005 0:00,0.99960016
    1.00010001,ARS,2/5/2006 0:00,1.001001001
    1.00020004,ARS,9/5/2001 0:00,0.99990001
    1.00020004,ARS,9/6/2001 0:00,1.00040016
    1.00050025,ARS,9/7/2001 0:00,0.99990001
    1.00050025,ARS,9/8/2001 0:00,1.001001001
    Then in OLE DB Destination, I loaded the rows to TestFactTable.
    (Now, you don't even need NO MATCH OUTPUT as there are matching records here)
    Cheers,
    Vaibhav Chaudhari
    [MCTS],
    [MCP]

  • Login settings will not update local testing server files

    When uploading to web server from local testing server, changing login settings in the control panel does not update the local testing server files. Causing login on website not to function.
    It does however update the Connections file and login wizard form.
    What is the best way to change login settings before uploading site to web server?
    Dan

    Dan - I am having the same exact problem. I'm using the restrict access and user registration and login - when attempting to use the Update Record wizard to allow users to change their password or email address, it doesn't change the record.

  • Database is not created in SQL server for Persistant Chat

    Hi All,
    We were deploying the Persistant Chat Lync 2013 Role. We have created the topology and published it. Then the Lync 2013 deployment is done on the Persistant Chat servers, while upgrading the cumulative servers soon after the deployment we are getting the
    error as :
    Test-CsDatabase : Cannot open database "mgc" requested by the login. The login
    failed.
    Login failed for user 'domain\username'.
    At line:1 char:1
    + Test-CsDatabase -ConfiguredDatabases -SqlServerFqdn
    SQL Server ...
    Get-MirrorState also was not giving the proper result. Then when I checked in the SQL server, we found that both mgc and mgccomp databases itself not created.
    Could someone assist how we can install the database now?? I googled but confused a bit. Servers are already LYNC deployed, so which command and procedure we need to follow to install the DB on SQL servers and also in mirror server.
    Never giveup till you get what to want.

    Please share Test-CsDatabase -verbose 
    And Get-MirrorState
    in details
    PLEASE REMEMBER, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answered"

Maybe you are looking for

  • Export table from pdf to excel

    I have been attempting to convert a large table from a pdf file to an Excel worksheet, but I am having no luck. I am working on Adobe 8, and I can't figure out a way to do it. I've tried saving the file as .txt, but this completely screws up the form

  • Migration Oracle db from solaris to aix

    Hi, I would like to ask you for a best way how to do.. We have a large international Oracle migration effort from Solaris to AIX. We have some challenges where a standard export/import will not work due to the extended distance between sites. As an e

  • Fade to black between slides in slideshow, HOW in Lr 5.4???

    I'm using Lr 5.4. How do I do a simple fade to black between images in a slideshow? I don't want a dissolve. Many thanks for your pointers. gocat9

  • Quicktime won't play on Safari or Firefox?

    Recently I have noticed that I cannot play Quicktime movies from the Apple Movie Trailers website. All I seem to get is a blue Quicktime icon with a white question mark. Or when I try to download a movie trailer from the site it states I have a incor

  • Can't preview images

    Why do I get the message "can't preview image" after importing photos from my camera into LR 5?