Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. biggens

    Data Cleanup Issue. Is there any way to do this?

    Ok Thanks ingresman. Ill try your method :)
  2. biggens

    Data Cleanup Issue. Is there any way to do this?

    Well i use MySQL server on my PC and MySQL-front to manage the SQL & data which is good (and fast) - data file is 130Mb. Anyway what your script does is trim off the "ltd" from any company name with "ltd" and writes out a delete script; delete from <tab> where companyname = 'company', which i...
  3. biggens

    Data Cleanup Issue. Is there any way to do this?

    Ok I get it. If the title doesnt exist after the ltd is trimmed, it wont be deleted. In this case I cant really use id using this method.
  4. biggens

    Data Cleanup Issue. Is there any way to do this?

    Thanks ingresman, I have around half million records to check so manual is just not an option for me. I tried the SQL and it doesnt quite do the job becasue it just gets every case of LTD which means i would be deleting any record whith LTD at the end. I need to keep the record with the ltd...
  5. biggens

    Data Cleanup Issue. Is there any way to do this?

    Also in some cases there are two or more records where companies have the "Ltd". (they operate in different locations) So how can adjust this so where there are two or more companies one remains? Sorry, Im on my learners permit with SQL - I only know the basics.
  6. biggens

    Data Cleanup Issue. Is there any way to do this?

    Pretty neat solution ingresman, thanks :) Only issue here is that there can be more than one occurrence of the same company. ie - I may end up with with a result like; delete from table where company='companyname' delete from table where company='companyname' delete from table where...
  7. biggens

    Data Cleanup Issue. Is there any way to do this?

    Typo... Companyname Companyname Ltd
  8. biggens

    Data Cleanup Issue. Is there any way to do this?

    Hi, I have been given the task of cleaning up a list of company data. Ive removed all the duplicates and done some tidy ups but I have an issue I cant work out. The problem is that there are company names that are the same except for where this example occurs; Companyname Companynane Ltd...

Part and Inventory Search

Back
Top