Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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: (10)
As of 2015-07-07 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls