Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 exploiting the Monastery: (10)
As of 2014-10-23 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls