Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Boolean in a SQL string

Status
Not open for further replies.

solo7

Technical User
Mar 14, 2001
243
NO
This is really simple I know but, I can't get around it.
I'm constructing an SQL string which involves BOOLEAN values. How do I represent the BOOLEAN values in my SQL string ??
I know with text we use the '" & STRINGTEXT & "'
and with dates we use the '# & DATEVALUE & #'

Steady ... [thumbsup2]
 
Hi!

You don't need anything to go around the value. You should get good results if it comes back True/False, Yes/No or -1/0.

hth
Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top