Viewing 15 posts - 25,876 through 25,890 (of 26,490 total)
Here is what I came up with:
CREATE FUNCTION dbo.fn_BRound (
@TestValue decimal(38,12),
@pos int
)
RETURNS money
as begin
return round(@TestValue, @pos, case when (nullif(round(@TestValue * power(cast(10 as decimal(38,12)), @pos),0,1),round((@TestValue * power(cast(10 as...
May 31, 2007 at 3:03 pm
Without digging into myself at the moment, I'd say the problem is using float. This is an imprecise numeric representation. Try changing the floats to a large decimal, and see...
May 31, 2007 at 12:09 pm
Why are you using the view v_div_all in v_rpt? The only field you are using from that view is v_div_All.Div_Dep and this is the same as div.dion from the table...
May 31, 2007 at 12:01 pm
Steve, what about PeopleSoft? Their documentation says their app needs SA privs to the database.
![]()
May 31, 2007 at 11:28 am
To help we will need more information. If you could post the code for your query and the DDL for the table(s)/view(s) used and perhaps some sample data would go...
May 31, 2007 at 9:22 am
Sounds like you are adding requirments to your original request. Can you provide more details as to what you are asking? It also sounds like you need to expand you...
May 30, 2007 at 7:01 pm
I think you need to post what you have, the DDL for the tables, some sample data, and what the results of the query should return. with that, there are...
May 30, 2007 at 5:49 pm
Took a minute, but that little change makes sense. Something I can add to my little tool box.
Thanks Sergiy!
![]()
May 30, 2007 at 5:47 pm
Notice it is always the shortimers who seem to jump right in and help?
![]()
May 30, 2007 at 5:44 pm
For about 20 weeks out of the year (10 weeks in fall and 10 weeks in spring) I get out of the office and do something totally different, I am...
May 30, 2007 at 5:43 pm
I am assuming (bad habit) that the data in this case is numeric. This actually sounds like a good use for using CLR integration and write some procedures/functions in VB.NET...
May 30, 2007 at 5:27 pm
Had this problem with maintenance plans at my previous employer. We had to delete and recreate the maintenance plans to get it to work properly. If we had to make...
May 30, 2007 at 12:06 pm
Unfortunately, we also had other issues to deal with as a result of the upgrade from SQL Server 2000 to SQL Server 2005 besides this particular query running slower on...
May 30, 2007 at 11:44 am
From what I can tell, the mirrored backups isn't supposed to protect from a failure during the backup, but from the media failing after the backup is completed. I am...
May 30, 2007 at 11:00 am
Viewing 15 posts - 25,876 through 25,890 (of 26,490 total)