473,405 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

How to update null value in table

rajiv07
141 100+
Hi to all

I want to know How to update null value in table.

Is any idea please.

Thanks
Regards
RajivGandhi
Jan 3 '08 #1
4 3088
Hi to all

I want to know How to update null value in table.

Is any idea please.

Thanks
Regards
RajivGandhi
plz explain properly what u want
Jan 3 '08 #2
rajiv07
141 100+
plz explain properly what u want
Thanks ur reply

Let me explain,suppose i have date column in a table which has some date value ex(2008-01-03),But i want to set this value to null (empty).If do that it says Invalid date format for this column'.

Is any Idea

Regards
RajivGandhi
Jan 3 '08 #3
mwasif
802 Expert 512MB
Post your query or try the following if you allow NULL in the column
Expand|Select|Wrap|Line Numbers
  1. UPDATE table SET date_colum = NULL;
Jan 3 '08 #4
rajiv07
141 100+
Post your query or try the following if you allow NULL in the column
Expand|Select|Wrap|Line Numbers
  1. UPDATE table SET date_colum = NULL;
Thank You mwasif
Its Working fine.
Regards
RajivGandhi
Jan 3 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Mark Hanley | last post by:
I have found similar problems to mine on this and other newsgroups but I still haven't been able to solve my problem... I have two tables 'Pupil' and 'SEN' which are related on a field called...
5
by: PAUL | last post by:
Hello, I have 2 tables with a relationship set up in the dataset with vb ..net. I add a new record to the parent table then edit an existing child record to have the new parent ID. However when I...
1
by: David Shorthouse | last post by:
Hey folks, I am attempting to pass null as the input value from a series of textboxes if the user does not input a value prior to submit. To try and do this, I am using a vbscript function on...
2
by: BF | last post by:
Hi, I have some tables where I import data in, lots of field have gotten a NULL value which the application can not handle. Now can I replace each NULL value with '' in a columns with: update...
0
by: hardieca | last post by:
Hi, My formview or gridview control stops updating or deleting a record once the record has a null value. I have table tblTest with the following pkID int NOT NULL **IDENTITY COLUMN**...
1
by: WS6 DAD | last post by:
This is probably very simple but I always find a way to over complicate things. 1. I need to identify the latest instance of each header Id, in the example below I want to update the...
4
by: ilikebirds | last post by:
I am trying to update a table that is Inner Joined or related to 2 other tables with similiar data. For Instance: Table 1 ----------- A - B -------- y - x z - null Table 2
0
by: michels287 | last post by:
With a single record in my table, I can use this code: Private Sub Command1_Click() Set cn = New ADODB.Connection cn.Open "Provider=MSDASQL.1;Persist Security Info=False;" & _ "Data...
4
by: justice750 | last post by:
Hi All, I am using a FormView control. The allows me to update records in the database. However, when a database field is null I can not update the field on the form. It works fine when the field...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.