Link to home
Start Free TrialLog in
Avatar of acetate
acetate

asked on

is not equalk to, then set field to equal another field

hello,

i have a table,.

msm_svccalltable

i want to populate all fields that are not equal to '1900-01-01 00:00:00.000' in field localclosedate with the data from field localstartdate

can someone write the SQL 2000 code for me please?

thanks
ASKER CERTIFIED SOLUTION
Avatar of ram2098
ram2098

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eclipse2k
eclipse2k

ha aram you was faster but its admirable that we posted exacly same looking code :) (no, i didnt copy-paste or something)
I know ..But funny :)
Avatar of acetate

ASKER

sorry guys, this is actually wanted, sorry for the confusion,

 update msm_svccalltable
set  localstartdate = localclosedate
where localstartdate = '1900-01-01 00:00:00.000'

i used your scripts to make this. i split the points