Re: update table with the word Null



Access database. Yes Null values are allowed.
Null values are different from empty (zero-length) strings. I know that.
Joe T

"Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx> wrote in message news:uG7GX44%23HHA.1184@xxxxxxxxxxxxxxxxxxxxxxx
Joe T wrote:
I am trying to update a table by putting the word "Null" in the all
the fields that contain a blank in the floorplan column.
Is this right?

UPDATE Projects (floorplan)
SET floorplan = 'Null'
WHERE floorplan = ''''

It depends:
What database are you using?
Is floorplan configured to allow Null values? Null values are different
from empty (zero-length) strings.

Why haven't you tried this in a test database? You could have had your
answer already ...

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.



.



Relevant Pages

  • Re: [ANN] Data Source Name parser (ODBC etc.)
    ... > suggested URL-like strings describing database connections. ... > library for such strings (data source names) is now available at ... raises the exception Syntax_Error. ...
    (comp.lang.ada)
  • Question on how updates to Access tables may or may not cause the database to expand in size
    ... All strings are stored as variable length data, one byte for each actual character and one overhead byte. ... When a database is compacted and repaired, tables are written out in primary key sequence. ... I have concluded that after the compact/repair, that each table, is written in sequence, filling up 2k pages, and that tables are not generally intermixed except at the end of one table and the beginning of the next. ... then the database DOES expand in size. ...
    (comp.databases.ms-access)
  • Re: Japanese to Unicode characters
    ... Oracle-Rdb database; a VB application running on a Window98 Japanese PC ... store the japanese strings as Unicode. ... UniToolBox component for VB which handle the Unicode strings. ...
    (microsoft.public.sqlserver.programming)
  • Re: i18n hell
    ... table attributes to UTF-8 only garbage kept adding into the database. ... you using unicode strings or byte strings? ...
    (comp.lang.python)
  • Re: PreparedStatement
    ... It actually depends upon what JDBC driver ... But the "generic database access" class I am using to insert data to the ... to insert Strings into numeric fields (as long as the Strings are numbers, ...
    (comp.lang.java.help)