Sept 2021 : NOTE - all required code for this process is found at :
simply copy and place into your preferred SQL tool
...
Non mandatory - the Carrier code is the Owner/Operator of the aircraft listed in the SDR at that point in time. We check for integrity and possibly Add new CARRIER codes to TR91, if necessary.
...