Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Calling SQL with embedded quotes

by Biker (Priest)
on May 21, 2002 at 09:28 UTC ( [id://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

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-23 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found