473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Query Analyzer vs Isqlw different Format

Hello

I have a SQL 2000 server, the server setting is default language :
French and all Collation names in French
If i launch the 'Query Analyzer' from the SQL Entreprise Manager on my
database, and run a T-SQL my dates are in English.
If i do a : DBCC USEROPTIONS, my results are
language us_english
dateformat mdy

Now if i launch 'Query Analyzer' from the startup menu, my date format
is ok in French, if i do DBCC USEROPTIONS, results are:
language Français
dateformat dmy

In the Query Analyzer i checked the option in Tools>Options>Connections
(Use regional settings is unchecked) and they are the same in both case.

How can i resolve my problem ?
Thanks
Jul 23 '05 #1
1 2657
Not4u (No***@chez.com) writes:
I have a SQL 2000 server, the server setting is default language :
French and all Collation names in French
If i launch the 'Query Analyzer' from the SQL Entreprise Manager on my
database, and run a T-SQL my dates are in English.
If i do a : DBCC USEROPTIONS, my results are
language us_english
dateformat mdy

Now if i launch 'Query Analyzer' from the startup menu, my date format
is ok in French, if i do DBCC USEROPTIONS, results are:
language Français
dateformat dmy

In the Query Analyzer i checked the option in Tools>Options>Connections
(Use regional settings is unchecked) and they are the same in both case.


It appears that you are login in with different logins from the two
tools. You can use sp_defaultlanguage to change the language for the
login which has the wrong language.

In Enterprise Manger, right-click the server and use Edit Registration
Properties to see which login to use for connection from EM.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Warren Wright | last post by:
Hi group, I have a select statement that if run against a 1 million record database directly in query analyzer takes less than 1 second. However, if I execute the select statement in a stored...
3
by: Philip Yale | last post by:
A colleague of mine has a query which fails to run under SQLAgent batch with the following error: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime...
11
by: jonhyland | last post by:
Hey all, I'm having this weird problem on my Windows 2003 Server machine.. Whenever I open two connection pages in Query Analyzer, then close one of them, it locks up and I have to kill the...
2
by: jcabc | last post by:
The row counts I am getting from SQL Enterprise Manager and Query Analyzer are different. When I double click a table in Enterprise Manager it gives me a row count of say 1000. However, when I...
2
by: jim_geissman | last post by:
I would like to save a query plan (estimated or actual) created in Query Analyzer -- paste it into a document, or simply print. It doesn't seem to be possible to select and copy the Execution...
4
by: laurenq uantrell | last post by:
I am trying to determine which of three stored procedure designs are fastest in the Query Analyzer: One query is a straight SELECT query with all desired rows and a dozen (tblName.RowName =...
1
by: Learner | last post by:
Hi there, I have installed Sql server 2005 developer on my machine which already has a Sql server 2000 installed on. Now i am trying to query the Sqlserver 2005 data(Ex: from Person.Address...
6
by: kevin | last post by:
using VS.2003... This has annoyed me endlessly. I hate the visual query designer in VS. Is it possible through add-ins or extensions to have query's you want to edit open in query analyzer,...
3
by: alvinstraight38 | last post by:
Hi everyone, I am trying to access a client's SQL query anaylzer to run a SQL script, and I can not find it anywhere. I have not used SQL in a few years, but I would always see a menu in the...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.