Click here to Skip to main content
15,918,742 members
Home / Discussions / Database
   

Database

 
QuestionAbout Begin and commit transaction in SQL Server 2000 Pin
selvaraj S.Kaliyappan20-Aug-06 23:07
selvaraj S.Kaliyappan20-Aug-06 23:07 
AnswerRe: About Begin and commit transaction in SQL Server 2000 Pin
Colin Angus Mackay20-Aug-06 23:41
Colin Angus Mackay20-Aug-06 23:41 
GeneralRe: About Begin and commit transaction in SQL Server 2000 Pin
selvaraj S.Kaliyappan21-Aug-06 0:53
selvaraj S.Kaliyappan21-Aug-06 0:53 
QuestionTip about Queries ? Pin
faviochilo20-Aug-06 16:07
faviochilo20-Aug-06 16:07 
AnswerRe: Tip about Queries ? Pin
Eric Dahlvang21-Aug-06 7:59
Eric Dahlvang21-Aug-06 7:59 
GeneralRe: Tip about Queries ? Pin
i.j.russell22-Aug-06 2:58
i.j.russell22-Aug-06 2:58 
QuestionOnline articles on Data warehousing Pin
WillemM20-Aug-06 8:44
WillemM20-Aug-06 8:44 
QuestionSqlDateTime overflow Pin
Paddy Boyd20-Aug-06 0:44
Paddy Boyd20-Aug-06 0:44 
I have an awkward question, and i was wondering if any of you have ever seen behaviour like this before:

We have an ASP.net application that is currently in testing and has been for the past several weeks. During the last week, first one of the test sites and then another, started to throw SqlDateTime exceptions, citing a SqlDateTime overflow - The date must be between... etc...

The sql statement that seems to be causing this exception has not changed and is a fairly simple
SELECT X
FROM TABLE
WHERE TABLE_DATE = @MaxDate


where @MaxDate is a constant parameter that we set (this has also not changed, date is somewhat arbitrarily set to 31 Dec 2099 (in that format, so it's shouldn't be in any way ambiguous). The constant is a .net datetime variable.

Unfortunately, this date time problem seems to be occurring throughout the application. What i can't really understand is why this has suddenly changed, first on one web server and then on another.

We checked the localisation settings on the web servers and the database server and found that they were different - however making them the same hasn't fixed the problem and doesn't explain why they were working fine for the past few weeks...

Any help on this would be very much appreciated, i'm stumped and when i get in on Monday, our testers are going to be at a standstill... Unhappy people in our office...
Questionstore picture as binary Pin
Mohammed Elkholy19-Aug-06 7:44
Mohammed Elkholy19-Aug-06 7:44 
AnswerRe: store picture as binary [modified] Pin
Colin Angus Mackay19-Aug-06 8:06
Colin Angus Mackay19-Aug-06 8:06 
GeneralRe: store picture as binary Pin
Jerry Hammond19-Aug-06 18:44
Jerry Hammond19-Aug-06 18:44 
QuestionHow to quickly write a datatable into sql server? Pin
steven_wong19-Aug-06 4:21
steven_wong19-Aug-06 4:21 
AnswerRe: How to quickly write a datatable into sql server? Pin
steven_wong19-Aug-06 4:42
steven_wong19-Aug-06 4:42 
QuestionCreate DB and Tables Script Pin
japel19-Aug-06 1:16
japel19-Aug-06 1:16 
AnswerRe: Create DB and Tables Script Pin
Rob Graham19-Aug-06 3:04
Rob Graham19-Aug-06 3:04 
QuestionAdding new rows to a BindingSource? Pin
monrobot1318-Aug-06 19:59
monrobot1318-Aug-06 19:59 
AnswerRe: Adding new rows to a BindingSource? Pin
Keith Malwitz19-Aug-06 16:18
Keith Malwitz19-Aug-06 16:18 
GeneralRe: Adding new rows to a BindingSource? Pin
monrobot1330-Aug-06 10:23
monrobot1330-Aug-06 10:23 
QuestionCalling SqlDataAdapter.Fill with parameters? Pin
monrobot1318-Aug-06 13:00
monrobot1318-Aug-06 13:00 
AnswerRe: Calling SqlDataAdapter.Fill with parameters? Pin
Not Active18-Aug-06 14:05
mentorNot Active18-Aug-06 14:05 
GeneralRe: Calling SqlDataAdapter.Fill with parameters? Pin
monrobot1318-Aug-06 14:42
monrobot1318-Aug-06 14:42 
QuestionWhat is the best way to test T-SQL stored procedures? Pin
wojti18-Aug-06 6:15
wojti18-Aug-06 6:15 
AnswerRe: What is the best way to test T-SQL stored procedures? Pin
leckey18-Aug-06 6:26
leckey18-Aug-06 6:26 
GeneralRe: What is the best way to test T-SQL stored procedures? Pin
Not Active18-Aug-06 7:47
mentorNot Active18-Aug-06 7:47 
GeneralRe: What is the best way to test T-SQL stored procedures? Pin
Colin Angus Mackay18-Aug-06 12:30
Colin Angus Mackay18-Aug-06 12:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.