Quantcast
Channel: Toad Data Point Forum - Recent Threads
Viewing all articles
Browse latest Browse all 2544

RE: unable to update in query Builder.

$
0
0

Yes, for this query we can update with the Employee ID .. My question was.. when we have such kind of scenario like we are joining multiple tables and want to update on one of the table, so how  to update the tables in Toad data Point.

Fox example: We are having 2 tables employee and employee Profile. The relationship is showed below. I need to update both the tables based up on the join condition.

The query used  in sql editor:

  1. UPDATE employee
  2. INNER JOIN
  3.     employee_profile ON (employee_id = employee_profile_employee_id )
  4. SET
  5.     employee_details = 'New Value',
  6.     employee_profile_first_name = 'Bob'
  7.     where employee_id = 1;

I would like the same to be done in Query  builder. But in the Query builder when I tried , the update statement was disabled.


Viewing all articles
Browse latest Browse all 2544

Latest Images

Trending Articles