Rabu, 19 Juli 2017

[MS_AccessPros] sql for make table query with a boolean field

 

Pros, in a rush here so thought I’d ask the experts.  I need to create a table with a default of a Boolean yes/no type field.

 

My sql is:

 

SELECT ptBOM1Level.Username, ptBOM1Level.OpSeqBOM, ptBOM1Level.IXKIT, ptBOM1Level.IXITM, ptBOM1Level.IMLITM, ptBOM1Level.IMDSC1, ptBOM1Level.QTYPER, ptBOM1Level.IXSCRP, ptBOM1Level.IMLLX, ptBOM1Level.IBMERL, ptBOM1Level.IBSTKT, ptBOM1Level.IBGLPT, ptBOM1Level.IBITC, "" AS Revision, True AS DeleteFlag INTO tblBOMTempFS

FROM ptBOM1Level;

 

But it results in a “number” value.  Subsequent coding needs to set this to “true or false” so I’d rather not just deal with this as being numeric.

 

Thanks.



This email (and all attachments) is for the sole use of the intended recipient(s) and may contain privileged and/or proprietary information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

__._,_.___

Posted by: Liz Ravenwood <Liz_Ravenwood@beaerospace.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar