IT Community - Software Programming, Web Development and Technical Support

Problem in Numeric value in Windows Server 2003

This is a discussion on Problem in Numeric value in Windows Server 2003 within the Database Support forums, part of the Web Development category; hi all, I'm facing a critical problem with SQL Server. I'm saving a data in to numeric field ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Database Support

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 09-25-2007, 10:09 PM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 905
S.Vinothkumar is on a distinguished road
Question Problem in Numeric value in Windows Server 2003

hi all,

I'm facing a critical problem with SQL Server.

I'm saving a data in to numeric field as 1,000. It saved correctly but when I retrieving it, will become 1. If it is 10,000 return as 10.

My server is windows server 2003. When I'm doing the same process, it's retrieved correctly. I'm facing this problem only in windows server 2003. I'm using sql server 2000.

Can any one tell me what could have happened?
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 09-27-2007, 12:28 AM
jeyaprakash.c jeyaprakash.c is offline
D-Web Sr.Programmer
 
Join Date: May 2007
Posts: 194
jeyaprakash.c is on a distinguished road
Post Re: Problem in Numeric value in Windows Server 2003

Perhaps the regional options on the server have comma specified as the
decimal separator and the tool you are using honors that setting.

Do you have the same problem if you execute an INSERT from Query Analyzer on the server?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 09-28-2007, 11:24 PM
mobilegeek mobilegeek is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 205
mobilegeek is on a distinguished road
Question Re: Problem in Numeric value in Windows Server 2003

Hi there,

Have you check reginal settings?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-03-2007, 01:39 AM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 905
S.Vinothkumar is on a distinguished road
Question Re: Problem in Numeric value in Windows Server 2003

Yes, I checked the regional settings. Everything is ok. The settings
are the same as Windows XP.

My server has Windows Server 2003. When I insert, the value is updated correctly in SQL Server. The problem only happen when I retrieve. And I realized this problem only happen recently, after many updates from Microsoft to
update my servers.

Has anybody encountered this?

Thanks!
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 10-03-2007, 02:23 AM
jeyaprakash.c jeyaprakash.c is offline
D-Web Sr.Programmer
 
Join Date: May 2007
Posts: 194
jeyaprakash.c is on a distinguished road
Cool Re: Problem in Numeric value in Windows Server 2003

So you using Query Analyzer to retrieve the data and get the different
results from XP vs. Windows Server 2003? Does the following return the same
results?

SELECT 1,000

--
Hope this helps.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2003 server DC and ADC arjkhanna Server Management 3 05-05-2009 12:27 AM
Windows 2003 Terminal Server and Raid Problem arjkhanna Server Management 3 05-04-2009 07:50 PM
Windows 2003 server Domain Controler problem arjkhanna Server Management 14 08-17-2007 12:12 PM
problem with migrating web server windows 2000 to windows 2003 kingmaker ASP and ASP.NET Programming 1 07-20-2007 03:39 AM
What are the required components of Windows Server 2003 for installing Exchange 2003? karunagaran Server Management 0 07-16-2007 11:21 PM


All times are GMT -7. The time now is 05:21 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0