简体   繁体   中英

Different results for same query

I connected to two different sql server which both of them on different server and i am running same query . one of the server returns me results with '.' other returns with ',' like 6492420,66 and 6492420.66 . Both of the server has same regional settings (English- united states) . How can i solve this problem . I am trying to have both result with "."

It's login specific.

Security->Logins->(your login)->General->Default Language

or

ALTER LOGIN [your_login] WITH DEFAULT_LANGUAGE=[us_english]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM