You said Decimal / Decimal. See SQLBill's post. Maybe this will help you:
cast(0.01 as decimal) = 0
cast(0.01 as decimal(9,1)) = 0
cast(0.01 as decimal(9,2)) = 0.01
TLGsoft
"If it works, don't fix it"
osjohnm, tell that to sp_mergesubscriptioncleanup. Always when I try to clean up my replication, it remains a lot of system tables, stored procs and views that you can't delete because they are system owned.
So, I delete them directly from sysobjects, and it works.
First set the "Allow modifications directly ..." option in SQLServer properties.
update sysobjects
set UID = a.IDNumber
from (select UID as IDNumber from sysusers where [name]='dbo') as a
where UID <> a.IDNumber
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.