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. noob999

    Update SQL

    SELECT COUNT(*) FROM emptemp; 1161 records SELECT COUNT(DISTINCT employeeid) FROM emptemp; 1161 records SELECT COUNT(*) FROM employees WHERE emplid IN (SELECT employeeid FROM emptemp): 1161 SELECT COUNT(DISTINCT emplid) FROM employees WHERE emplid IN (SELECT employeeid FROM emptemp): 1161
  2. noob999

    Update SQL

    sorry for the late reply; was out of office the remaining of last week. I will try those and post the results later today. Thanks for all your help.
  3. noob999

    Update SQL

    No. I have checked for duplicates.
  4. noob999

    Update SQL

    Yes. I have rollback. Both did not work ... for some reasons it updated 1355 records and not just the 1161 that I wanted to. There were no errors or messages. The only problem is the number of records it updated.
  5. noob999

    Update SQL

    it doesn't work. :( It's updated 2000+ records instead of the 1161. Any ideas why all this is happening? thks!
  6. noob999

    Update SQL

    Thank you, LKBrwnDBA; I will try that. mrdenny, I'm working in Oracle 10g.
  7. noob999

    Update SQL

    I have an issue with my update SQL. Table A is existing EMPLOYEES table with 10000+ records. Table B is a EMPTEMP table where I have loaded all the information for the employees I need to update (only about 1161 records). My SQL Update statement: Update employees em SET (lname, startdate...

Part and Inventory Search

Back
Top