http://qs321.pair.com?node_id=168069


in reply to Re: Calling SQL with embedded quotes
in thread Calling SQL with embedded quotes

No. In Sybase Transact-SQL, the from keyword in a delete statement is optional.


Everything went worng, just as foreseen.

Replies are listed 'Best First'.
Re: Re: Re: Calling SQL with embedded quotes
by mpeppler (Vicar) on May 21, 2002 at 17:54 UTC
    The reason the FROM is optional is that you can do the following in Transact-SQL:
    delete mytable from mytable m, theirtable t where m.somevalule = t.somevalue and ...
    The same syntax can be used for UPDATE. Very nice for doing set based operations.

    Michael