Subject | Re: UPDATE AND DELETE WITH JOIN |
---|---|
Author | Ali Gökçen |
Post date | 2006-07-12T08:43:27Z |
Hi bill,
Actually, i haven't been learning it for more than 25 years.
neither english is a regular language nor i am an idiot.
anyway,
"update x set ... from x join y..." syntax seen mongol to me,
even as an english sentence.
if you really need to join some tables for update,
FB doesnt break you:
update mytable m1 set myfield='FB rocks!'
where
m1.id=(select m2.id from mytable m2
inner join myothertable mo on mo.id=m2.id
where m2.id=m1.id
)
SQL orginally created to intend to use Databases via natural speak.
SQL may be still primitive today but shouldnt to broke natural language
struct and modern math rules via complex sentence.
just my 2 cents from my mastercard. ;)
Regards.
Ali
>question.
> I'm not alone in this issue, and I guess this may become an recurrent
> If I read correctly, SQL Standard here refer to SQL92 (SQL2?) which isfeature. Why call
> 2006-1992=14 years old, and Firebird itself have non-standard
> non-standard features of Firebird extensions; depreciate extensionsof other
> dbms as non-standard features?I am not a native english speaker,
>
> IMO market force rules not sQL92 standards. Just my 2 cents.
>
> regards,
> bill
>
Actually, i haven't been learning it for more than 25 years.
neither english is a regular language nor i am an idiot.
anyway,
"update x set ... from x join y..." syntax seen mongol to me,
even as an english sentence.
if you really need to join some tables for update,
FB doesnt break you:
update mytable m1 set myfield='FB rocks!'
where
m1.id=(select m2.id from mytable m2
inner join myothertable mo on mo.id=m2.id
where m2.id=m1.id
)
SQL orginally created to intend to use Databases via natural speak.
SQL may be still primitive today but shouldnt to broke natural language
struct and modern math rules via complex sentence.
just my 2 cents from my mastercard. ;)
Regards.
Ali