Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS SQL Server
 How to replace NULLs to 1 ?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

suona
Junior Member

Taiwan
121 Posts

Posted - 29 January 2004 :  22:07:59  Show Profile  Visit suona's Homepage
installing Active Users MOD, and ......

if a column of my table, all contents are <NULL>.

How can I replace them with 1 ?

here's my SQL statement using in enterprise manager | SQL Pane
=================

UPDATE FORUM_MEMBERS
SET M_AUTHIDE = replace(M_AUTHIDE. '' , '1')

=================

with this type, I have replace other strings(not NUUL) succesfully,but this cannot work with NULL....

Is there any thing wrong ?

I'm a amateur WWW site builder.

And Sorry for my poor english .....


Nikkol
Forum Moderator

USA
6907 Posts

Posted - 29 January 2004 :  22:13:51  Show Profile
why not just use SET M_AUTHIDE = 1

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

suona
Junior Member

Taiwan
121 Posts

Posted - 29 January 2004 :  22:19:43  Show Profile  Visit suona's Homepage
Thanks a lot.....


I'm a amateur WWW site builder.

And Sorry for my poor english .....


Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07