sohouk Posted April 15, 2010 Share Posted April 15, 2010 I used the supplied script to import our AWBS installation into WHMCS and it mostly worked. We use multiple registrars and it imported all of them OK except for OpenSRS. If the AWBS table had the registrar set to OpenSRS, then although the domain and details were imported to WHMCS, the registrar name (OpenSRS) wasn’t. So, now I need to go through all the entries where the registrar is empty and insert OpenSRS Can someone let me know of a SQL statement that would do that? The WHMCS database table is : tbldomains and the field is registrar Thanks. 0 Quote Link to comment Share on other sites More sharing options...
jeremyhaber Posted April 15, 2010 Share Posted April 15, 2010 Well, it sounds like you need a simple update command. Pretty basic. You can try: UPDATE `tbldomains` SET `registrar`='OpenSRS' WHERE `registrar`='' That should update all the fields that have registrar set to nothing to OpenSRS 0 Quote Link to comment Share on other sites More sharing options...
sohouk Posted April 15, 2010 Author Share Posted April 15, 2010 Well, it sounds like you need a simple update command. Pretty basic. You can try: UPDATE `tbldomains` SET `registrar`='OpenSRS' WHERE `registrar`='' That should update all the fields that have registrar set to nothing to OpenSRS Thanks , I'll try that tomorrow and see how it works. I am just a little baffled that all other stuff was imported easily enough. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.