Hi All
I'm trying to find a math function (if it exists) in SQL Server. If it
doesnt exist, then maybe someone can tell me what its called so I can
do a bit more reading on it
Basically I want to do this:
Parameter Components
1 1
2 2
3 1, 2
4 4
5 1, 4
6 2, 4
7 3, 4
8 8
9 1, 8
and so on
I'd like to be able to call a function and it would return true or
false like so
functionname(1, 9) = true
so 1 is a component of 9
functionname(2, 9) = false
so 2 is not a component of 9
functionname(4, 5) = true
so 4 is a component of 5
If anyone could tell me if it exists in C#, VB.NET, VB6 or VBScript,
I'd appreciate it!
Thanks in advance
Sam