UPDATE query from Access to SQL Server -


i have query below access , need convert sql server:

update      (case_info  inner join      case_price on case_info.case_type = case_price.case_type)  inner join       [casechange|input] on case_info.case_number = [casechange|input].case_number  set     case_info.ff_revenue_amt = [ff_payment],     case_info.cm_revenue_amt = [cm_payment] ((     (case_info.scheduled_date) between [case_price].[pop_start]      , [case_price].[pop_end])      , ((case_info.discontinue_30)=no)); 

access:

update t1 inner join t2 on t1.foo=t2.bar set t1.field = t2.otherfield ... 

sql server:

update t1  set t1.field = t2.otherfield t1 inner join t2 on t1.foo=t2.bar ... 

that should started.

see update table using join in sql server?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -