Good Morning,
I was looking for a way to combine two integers to create a unique number, I have two tables that I need to combine into a third table with unique numb
I would combine the ID like this:
ID = ClassID * 1000 + SchoolID
You can then get the SchoolID like this:
SchoolID
SchoolID = ID % 1000
and you can get the ClassID like this:
ClassID
ClassID = ID / 1000