473,473 Members | 1,837 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

set column with a string into null in coldfusion

13 New Member
I have a table which display quest_id,quest_no, quest_malay, quest_eng and delete. After I click button delete I want to set my table row quest_malay and quest_eng into null.
this is my coding
Expand|Select|Wrap|Line Numbers
  1. UPDATE SURVEY_QUESTION 
  2. SET quest_malay = <cfqueryparam cfsqltype="cf_sql_varchar" value="">,
  3.     quest_eng = <cfqueryparam cfsqltype="cf_sql_varchar" value="">
  4.     WHERE QUEST_ID = <cfqueryparam cfsqltype="CF_SQL_NUMERIC" value="#getDelete.QUEST_ID#"
but this code have error..
thanks.
Jan 16 '13 #1
1 6913
acoder
16,027 Recognized Expert Moderator MVP
Try
Expand|Select|Wrap|Line Numbers
  1. <cfqueryparam ... null="yes">
Jan 16 '13 #2

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

Similar topics

1
by: Jerry Collings | last post by:
I'm getting improperly nested xml when a column contains null. I modified the first row (customer ALFKI) to have a NULL Address column. I'm using the following XSD Annotated Schema against the...
4
by: Doug Ly | last post by:
Hi, I use WinSQL to execute a query. It takes the sum of a column. Within the column, there are several NULL values and winSQL complains that it cannot add NULL values. Does anybody have an...
1
by: Pekka Henttonen | last post by:
For some reason SQL0407N error messages never reveal the name of the column to which a NULL value has been assigned. Here is an example: SQL0407N Assignment of a NULL value to a NOT NULL column...
3
by: travlintom | last post by:
Hi all. I have a datagrid that has several columns including the Primary Key as the first column. When I add records to the grid the Primary Key column show "Null". This would not be a...
11
by: b_or_not2c | last post by:
Hi, I am trying to count the number of substrings within a string. I am fairly new to programming and need a headstart. Any info would be appreciated. Thanks, A
6
by: axelsino | last post by:
I know this has been asked before and yes, I have read the section in the documentation about it. But, my question is: If I have setup mysql with strict_trans_tables, will MySQL allow "null"...
5
by: John | last post by:
I just cannot manage to perform a SELECT query with NULL parameter... My CATEGORY table does have one row where TCATEGORYPARENTID is null (real DB null value). TCATEGORYID and TCATEGORYPARENTID...
2
by: siujean | last post by:
As captioned question, i would like to how to alter the column from null to not null? Thanks
2
by: Jeff Kish | last post by:
Hi. I've read up on this, and have something that works, but I was wondering if there is anything I'm overlooking with this. Situation is: I have a bunch of tables.. I need to modify table2...
9
by: craigbert | last post by:
Hello All, I am having problems finding the correct syntax for changing a column from NULL to NOT NULL. We are using DB2 on z/OS. I have tried: ALTER TABLE TEST_CB ALTER COLUMN TEST_CHAR...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
1
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.