|
|
Choosing A Webhost: |
Re: delete from table limit @var; is not working: msg#00026db.mysql.bugs
Hi! On Apr 28, "qwerq qerq" wrote: > The following command: > delete from table limit @var; > says syntax error... why? > -- Server version 4.0.17-max-debug Because the manual specifies the syntax as: DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM tbl_name [WHERE where_definition] [ORDER BY ...] [LIMIT row_count] It does not say LIMIT expr, so expressions are not allowed - you can have only integer literals in LIMIT clause. Regards, Sergei -- __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@xxxxxxxxx> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Senior Software Developer /_/ /_/\_, /___/\___\_\___/ Osnabrueck, Germany <___/ www.mysql.com -- MySQL Bugs Mailing List For list archives: http://lists.mysql.com/bugs To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: delete from table limit @var; is not working, Matt W |
|---|---|
| Next by Date: | Re: delete from table limit @var; is not working, Paul DuBois |
| Previous by Thread: | Re: delete from table limit @var; is not working, Matt W |
| Next by Thread: | Re: delete from table limit @var; is not working, Paul DuBois |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |