Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Calling SQL with embedded quotes

by Biker (Priest)
on May 21, 2002 at 09:28 UTC ( #168069=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: Re: Calling SQL with embedded quotes
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://168069]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-11-28 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (197 votes), past polls