Home > database > Could you tell me how to batch under you Daniel PL/SQL query and modify the data
Could you tell me how to batch under you Daniel PL/SQL query and modify the data
Time:09-17
I am novice, oracle has a student table, column (student id) 1, column 2, column 3 (achievement).,,,,,,, and so on, now I have some students excel student number (column 1) data, I want to put these data all grades (column 3) 0, how can I achieve more convenient
My idea is to excel import and then query out the update, if this possible, could you tell me how to operate under,
If not you still have what good way to
The more detailed, the better thank you Daniel
CodePudding user response:
Excel data import oracle first, generate a table student_t1, then update statement to batch change Update student set grades=0 where student id in (select student id from student_t1) t;
CodePudding user response:
The key is to see the building Lord what ultimately want results, if want to tables in the oracle, you will excel import oracle, and then the update, if you want to excel file, it is ok to clear the result column content directly,