Home > database >  Can insert the row of heavy and not an error
Can insert the row of heavy and not an error

Time:12-13

When the customer submits a or a set of record regardless of weight,
Client and SQL server communication occurs, this one or a set of data directly sent to the SQL,
SQL to judge if the table has the same record over there, that is not new, not only the new part,

For example, existing table "students", the only fields "name", there have been two records, "zhang SAN" and "bill",
Hope the following:
1, when the new "detective", warehousing;
2, the new "bill" and "detective", "detective" into the Treasury;
3, the new "zhang", "bill" and "detective", "detective" warehousing;

Returned to the client or a few records has been updated, could you tell me how to write such a new statement?
  • Related