Viewing 15 posts - 1,531 through 1,545 (of 3,543 total)
BR rounds numeric representations, not real values represented by decimal number.
BR rounds numbers
That's why BR cannot round 2/3
BR works with numbers not fractions
because there is no way to supply 2/3...
June 23, 2007 at 10:27 am
Bankers Rounding does not get it wrong
Bankers Rounding will round correctly any number given to it according to the rules of Bankers Rounding specified
Bankers Rounding will produce different results to...
June 23, 2007 at 6:06 am
Any method you choose will produce some form of 'ruined' value. My suggestion to use varchar as input to the function will remove any ambiguity within the function itself and...
June 18, 2007 at 7:28 am
![]() | By the way, David Burrows's code gets it wrong with 2.265001 |
Yep
June 18, 2007 at 4:20 am
Isn't 612.945 supposed to result in 612.94
June 14, 2007 at 7:27 am
With 2K5 I'd be tempted to use CLR. In 2000 I did write two extended procs, xp_direxists (check if dir exists) and xp_print (to write/append to output file).
I think a...
June 14, 2007 at 1:55 am
![]() | Was actually wondering when you'd show up on this, Mr. Burrows... |
Thanks Jeff
June 13, 2007 at 10:35 am
Coming in on the tail end (of both threads) I thought I would try it this way
DECLARE @Result money,@Fraction int,@Interim float(53)
DECLARE @Digit int,@Counter int
SET @Result = CAST(FLOOR(@p1) as...
June 13, 2007 at 7:37 am
And I bet is had nothing to do with 2/3
June 11, 2007 at 7:00 am
Error messages are stored in master.dbo.sysmessages (sys.sysmessages for SQL2005)
I believe the error you are referring to is number 9002
The log file for database '%.*ls' is full. Back up the transaction...
June 11, 2007 at 6:39 am
Notwithstanding the previous posts and sorry to duplicate this but I agree that profiler is the choice of weapon here, however difficult or painful it may be to get used...
May 30, 2007 at 7:11 am
1. Due to data type precedence the char column will be implicitly converted to varchar
2. Varchar comparisons ignore trailing spaces
3. Therefore if both columns contains the same chars, excluding trailing spaces,...
May 30, 2007 at 6:58 am
![]() | how in the heck did you figure that one out |
Too many years of programming, far too many to...
May 25, 2007 at 2:29 am
Try this
osql -S "servername;app=appname"
May 24, 2007 at 8:59 am
Sergiy's solution will not show databases that have never been backup up which may be the reason why one is missing, this is my solution
SELECT DISTINCT sd.name,bs.backup_finish_date
FROM master.dbo.sysdatabases sd
LEFT...
May 24, 2007 at 8:14 am
Viewing 15 posts - 1,531 through 1,545 (of 3,543 total)