dbTalk Databases Forums  

QUERY

comp.databases.btrieve comp.databases.btrieve


Discuss QUERY in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Phil Chapman
 
Posts: n/a

Default QUERY - 07-24-2003 , 02:29 PM






Gene,
In case you ever need a query like we discussed again. The following will
work.

The query below will sets the Bills.LetterStatus to C ( Canceled ) for each
account that has a Letters.Letter=2 ordered

UPDATE Bills SET Bills.LetterStatus = 'C'
WHERE
Bills.Bill in (SELECT Letters.Bill FROM Letters WHERE Letters.Letter = 2)


--
Thanks,
Phil Chapman
Fax (413) 556-5674



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.