Hello, 
I don't understand your SQL :"Where 1=1"   first "1" is a field name ?
if "Where actualizar=1" it may works ?The condition is on records, and must use 
fields values...no ?
If you don't use condition, all records should be updated to the same value 0...
"Update stock set actualizar=0"  should update all records with actualizar =0 
to whole stock table... 
With best regards,Mikey 

    Le Jeudi 5 mai 2016 19h19, "kristinwens...@yahoo.com [firebird-support]" 
<firebird-support@yahoogroups.com> a écrit :
 

     Thanks 

    On Wednesday, May 4, 2016 6:45 PM, "shg_siste...@yahoo.com.ar 
[firebird-support]" <firebird-support@yahoogroups.com> wrote:
 

     hello! I've been googling but found nothing about it.
Why this sentence does not update all the records in the table? (FB 2.5)
update stock set actualizar = 0 where 1=1

Thanks!!
Sergio  

     #yiv9733264172 #yiv9733264172 -- #yiv9733264172ygrp-mkp {border:1px solid 
#d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv9733264172 
#yiv9733264172ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv9733264172 
#yiv9733264172ygrp-mkp #yiv9733264172hd 
{color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 
0;}#yiv9733264172 #yiv9733264172ygrp-mkp #yiv9733264172ads 
{margin-bottom:10px;}#yiv9733264172 #yiv9733264172ygrp-mkp .yiv9733264172ad 
{padding:0 0;}#yiv9733264172 #yiv9733264172ygrp-mkp .yiv9733264172ad p 
{margin:0;}#yiv9733264172 #yiv9733264172ygrp-mkp .yiv9733264172ad a 
{color:#0000ff;text-decoration:none;}#yiv9733264172 #yiv9733264172ygrp-sponsor 
#yiv9733264172ygrp-lc {font-family:Arial;}#yiv9733264172 
#yiv9733264172ygrp-sponsor #yiv9733264172ygrp-lc #yiv9733264172hd {margin:10px 
0px;font-weight:700;font-size:78%;line-height:122%;}#yiv9733264172 
#yiv9733264172ygrp-sponsor #yiv9733264172ygrp-lc .yiv9733264172ad 
{margin-bottom:10px;padding:0 0;}#yiv9733264172 #yiv9733264172actions 
{font-family:Verdana;font-size:11px;padding:10px 0;}#yiv9733264172 
#yiv9733264172activity 
{background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv9733264172
 #yiv9733264172activity span {font-weight:700;}#yiv9733264172 
#yiv9733264172activity span:first-child 
{text-transform:uppercase;}#yiv9733264172 #yiv9733264172activity span a 
{color:#5085b6;text-decoration:none;}#yiv9733264172 #yiv9733264172activity span 
span {color:#ff7900;}#yiv9733264172 #yiv9733264172activity span 
.yiv9733264172underline {text-decoration:underline;}#yiv9733264172 
.yiv9733264172attach 
{clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 
0;width:400px;}#yiv9733264172 .yiv9733264172attach div a 
{text-decoration:none;}#yiv9733264172 .yiv9733264172attach img 
{border:none;padding-right:5px;}#yiv9733264172 .yiv9733264172attach label 
{display:block;margin-bottom:5px;}#yiv9733264172 .yiv9733264172attach label a 
{text-decoration:none;}#yiv9733264172 blockquote {margin:0 0 0 
4px;}#yiv9733264172 .yiv9733264172bold 
{font-family:Arial;font-size:13px;font-weight:700;}#yiv9733264172 
.yiv9733264172bold a {text-decoration:none;}#yiv9733264172 dd.yiv9733264172last 
p a {font-family:Verdana;font-weight:700;}#yiv9733264172 dd.yiv9733264172last p 
span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv9733264172 
dd.yiv9733264172last p span.yiv9733264172yshortcuts 
{margin-right:0;}#yiv9733264172 div.yiv9733264172attach-table div div a 
{text-decoration:none;}#yiv9733264172 div.yiv9733264172attach-table 
{width:400px;}#yiv9733264172 div.yiv9733264172file-title a, #yiv9733264172 
div.yiv9733264172file-title a:active, #yiv9733264172 
div.yiv9733264172file-title a:hover, #yiv9733264172 div.yiv9733264172file-title 
a:visited {text-decoration:none;}#yiv9733264172 div.yiv9733264172photo-title a, 
#yiv9733264172 div.yiv9733264172photo-title a:active, #yiv9733264172 
div.yiv9733264172photo-title a:hover, #yiv9733264172 
div.yiv9733264172photo-title a:visited {text-decoration:none;}#yiv9733264172 
div#yiv9733264172ygrp-mlmsg #yiv9733264172ygrp-msg p a 
span.yiv9733264172yshortcuts 
{font-family:Verdana;font-size:10px;font-weight:normal;}#yiv9733264172 
.yiv9733264172green {color:#628c2a;}#yiv9733264172 .yiv9733264172MsoNormal 
{margin:0 0 0 0;}#yiv9733264172 o {font-size:0;}#yiv9733264172 
#yiv9733264172photos div {float:left;width:72px;}#yiv9733264172 
#yiv9733264172photos div div {border:1px solid 
#666666;height:62px;overflow:hidden;width:62px;}#yiv9733264172 
#yiv9733264172photos div label 
{color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv9733264172
 #yiv9733264172reco-category {font-size:77%;}#yiv9733264172 
#yiv9733264172reco-desc {font-size:77%;}#yiv9733264172 .yiv9733264172replbq 
{margin:4px;}#yiv9733264172 #yiv9733264172ygrp-actbar div a:first-child 
{margin-right:2px;padding-right:5px;}#yiv9733264172 #yiv9733264172ygrp-mlmsg 
{font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv9733264172 
#yiv9733264172ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv9733264172 
#yiv9733264172ygrp-mlmsg select, #yiv9733264172 input, #yiv9733264172 textarea 
{font:99% Arial, Helvetica, clean, sans-serif;}#yiv9733264172 
#yiv9733264172ygrp-mlmsg pre, #yiv9733264172 code {font:115% 
monospace;}#yiv9733264172 #yiv9733264172ygrp-mlmsg * 
{line-height:1.22em;}#yiv9733264172 #yiv9733264172ygrp-mlmsg #yiv9733264172logo 
{padding-bottom:10px;}#yiv9733264172 #yiv9733264172ygrp-msg p a 
{font-family:Verdana;}#yiv9733264172 #yiv9733264172ygrp-msg 
p#yiv9733264172attach-count span {color:#1E66AE;font-weight:700;}#yiv9733264172 
#yiv9733264172ygrp-reco #yiv9733264172reco-head 
{color:#ff7900;font-weight:700;}#yiv9733264172 #yiv9733264172ygrp-reco 
{margin-bottom:20px;padding:0px;}#yiv9733264172 #yiv9733264172ygrp-sponsor 
#yiv9733264172ov li a {font-size:130%;text-decoration:none;}#yiv9733264172 
#yiv9733264172ygrp-sponsor #yiv9733264172ov li 
{font-size:77%;list-style-type:square;padding:6px 0;}#yiv9733264172 
#yiv9733264172ygrp-sponsor #yiv9733264172ov ul {margin:0;padding:0 0 0 
8px;}#yiv9733264172 #yiv9733264172ygrp-text 
{font-family:Georgia;}#yiv9733264172 #yiv9733264172ygrp-text p {margin:0 0 1em 
0;}#yiv9733264172 #yiv9733264172ygrp-text tt {font-size:120%;}#yiv9733264172 
#yiv9733264172ygrp-vital ul li:last-child {border-right:none 
!important;}#yiv9733264172 

  
  • [firebird-supp... shg_siste...@yahoo.com.ar [firebird-support]
    • Re: [fire... kristinwens...@yahoo.com [firebird-support]
      • Re: [... Michel LE CLEZIO mlcvi...@yahoo.fr [firebird-support]
        • R... liviusliv...@poczta.onet.pl [firebird-support]
    • Re: [fire... liviusliv...@poczta.onet.pl [firebird-support]
      • Re: [... Ann Harrison aharri...@ibphoenix.com [firebird-support]
    • Re: Re: [... liviuslivius liviusliv...@poczta.onet.pl [firebird-support]
      • Re: R... Ann Harrison aharri...@ibphoenix.com [firebird-support]

Reply via email to