close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Need to change some entries in column to NULL

Thread began 8/07/2017 6:19 pm by EmmaMorris | Last modified 8/08/2017 9:21 pm by EmmaMorris | 2558 views | 10 replies

EmmaMorris

Need to change some entries in column to NULL

I have just started updating a website that I setup with an earlier version of WA extensions. Changing it over to mysqli at the same time.

I found a few things in the actual db that I need to change. I have a phone2 field that for some has 3 different values in it. NULL which is NOW the default (it was   for some reason. Did it 7 or 8 years ago so dont know why. The other values are   and then a bunch with actual phone numbers.

I have searched online and have succeeded on messing up the table ( dropped and restored already) for a way to change the   to NULL. I dont want to change the ones with actual phone numbers. I managed to set it ALL to NULL which is when I restored a backup.

Here is one I tried that obviously didnt work..
UPDATE alumni SET phone2 = NULL WHERE phone2 = ' ';

Hoping I can get a little guidance. I am beginning to think it isn't possible. can this be done? There are 96 rows to do. I will do manually if I have to but would prefer not to..
Thanks.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...