Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Access to SQL7 and update query

Posted on 1999-07-02
2
Medium Priority
?
164 Views
Last Modified: 2012-05-04
I have just moved an Access97 database to a SQL7 database and am testing my queries.  My update queries are failing because of the Boolean updates.  When i analyze it on the SQL server, it doesn't seem to be able to interpret the TRUE and FALSE expressions.  It fails on a statement liek this:  
UPDATE Table SET Field = True WHERE Id = 1

Any clues?
0
Comment
Question by:svfafel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
Renato102098 earned 800 total points
ID: 1096131
In SQL70 do not recognize true or false
True = 1 and False = 0
Your sentence must be:
UPDATE Table SET Field = 1 WHERE Id = 1



0
 

Author Comment

by:svfafel
ID: 1096132
sorry for the delay...had a baby boy (#2)
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question