I have some error when i tried to update on row in my database
update tbl_status
set document_status=11
from tbl_status
inner join tbl_log on tbl_status.id=tbl_log.id
where tbl_status.document_status=7 and tbl_log.IDS=662;
error :
SQL command not properly ended
any solution