realbasic-nug
[Top] [All Lists]

Re: REALSQLDatabase and Boolean values

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: REALSQLDatabase and Boolean values
From: "Dennis Birch" <dennisbirch at gmail dot com>
Date: Fri, 29 Jun 2007 14:59:19 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <mailman dot 29953 dot 1183148084 dot 256 dot realbasic-nug at lists dot realsoftware dot com> <6B7C58EE-E61C-4AF3-BC1F-6EA4B8E1E87D at ucsd dot edu>
On 6/29/07, Michael Sharpe <msharpe at ucsd dot edu> wrote:
> You could say (this has always worked for me)
>
> >>>>> "SELECT myField FROM myTable WHERE myBooleanField"
>
> Then again, on my machine (same setup as yours), it also works to say
>
> >>>>> SELECT myField FROM myTable WHERE myBooleanField=1"
>
> and
> >>>>> SELECT myField FROM myTable WHERE myBooleanField='1'"
>
> Are you working with a database which may have been populated by an
> older version, where 'true' may have been used instead of '1'?

The database could have been created with RB 2007R2, but that is as
far back as it possibly could have gone.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>