Hi,
I have a project that brings me to work on SQL Server. A functionality is the next one:
On a serial number insertion, the SQL Server has to return N number of MAC addresses.
Those MAC addresses values are depending on the serial number value.
For a given serial number the returned N MAC addresses have to be in a range (or union of several unions).
Moreover those MAC adresses have to be consecutive for a request. It's important to know that several sessions could be opened at the same time, so multiple request can occur at the same time.
Could you please help me to determine with which objects I should work. Transactions, functions, triggers, stored procedure ?
Thank you all.
What I have tried:
I searched for a lot of similar problems, but I don't manage to find something comparable.