I'm not sure why you would want to limit your order IDs to only have 3 digits, since you wouldn't be able to have orders over 999. You can use substr to truncate the ID before inserting if that is what you want though.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.