Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
I need to modul ( % operator) for very huge integers.any idea how to do this ?for example:select 8798401245801245799987040 % 6987014548701011369many thanksNoam Graizer
I know this link. Their is no modul (%) operator !Noam Graizer
SwePeso
Patron Saint of Lost Yaks
30421 Posts
Posted - 2007-01-30 : 09:36:51
I know,but did you look at the suggestion I provided earlier how to get the remainder (modula) without the function itself?It is just a simple division and a subtraction with multiplication.What is wrong with you? Is there not a division, subtraction and a multipliation in the link I provided?Peter LarssonHelsingborg, Sweden