![]() |
Very strange error about taxes. Need help
Code:
01/04/2007 20:00:xx.xx5, Error sql: EXEC lin_SetLastTaxUpdate '2007-0-4 12:0:53', '2007-0-4 0:0:48', '2007-0-4 20:0:57' (0)Why year starts from 0 and finishes with 11? First error was about changing 11 to 0. Can someone explain please. :confused: I know about date format https://postpacific.loc-online.com/f...&postcount=146 This is something else |
2007-0-4 12:0:53 >>>>> 20070104 12:01:53
|
I can understand that, but where is the problem. The date format is: dd mm yyyy, so it shouldn't cut first digit
|
Run the below command if you havn't already, it will update you castle_tax table:
EXEC lin_SetLastTaxUpdate '2007-01-06 12:00:03', '2007-01-06 00:00:01', '2007-01-06 06:00:01' I believe the error is in the application code that is calling this sproc, for some reason 0 has been used as January, so you will find your castle_tax table has not been updated since November. Im no expert and I could be wrong but the above script is a temp fix until someone finds the problem. As soon as I find the error I will post a fix. edit: I have searched the data base for all refrences to the above sproc and cannot find any references to it, so the source is either in the ai.obj, dll or exe. Fodiw has stated he has fixed his, maybe he could shed some light on this topic, his fix is far from what I am thinking if so then his fix will be alot easier. https://postpacific.loc-online.com/f...ead.php?t=6529 |
May I ask what your regional settings are?
|
Russia, but date format dd.mm.yyyy with "."
|
Have this promblem too...
Russia, yyyy-mm-dd hh:mm:ss (system date format). 2007-0-4 12:0:53 is wrong, 2007-01-4 12:01:53 is correct, one number after zero's are missing... i don't know how to fix it... =\ |
You do not right! It doesn't cut the last digit. Look at your last date. It would be November! Server starts from 0 and finishes the year with 11!
|
I have tried several different formats with no change.
If anyone does not have this fault maybe you could PM me with the possability of swapping certain files to locate the origin of this sproc. I am trying to trace the sproc to the file calling it using sql profiler but it will take some time. |
fixed. need fix stored procedure
change value for month +1 |
can u post fixed procedure?
|
HF
Is your fix in the sproc: lin_setlasttaxupdate or in the sproc that calls this stored procedure. Thanks |
| All times are GMT. The time now is 15:32. |