update Guild
set guildid = "",
guildname = "",
memberfor = ""
All you need is one SET and then you separate the fields by commas. Be sure
that on the last field do not put a comma after the value - you'll get an
error. To set a blank field you can either use " " or you can just ignore it.
You don't have to update every field at the same time.
HTH
charmed0rz - 30 Sep 2004 14:45 GMT
im getting tired of the too few paremeters errors.. *sigh*
<cfquery datasource="userlogin">
update Guild
set guildid = "",
guildname = "",
memberfor = "",
rank = "",
opiniononguild = ""
where user_id = '#session.user_id#'
</cfquery>
those fields, plus user_ID are in guild table... why am i getting this :S all
fields are text...
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft
Access Driver] Too few parameters. Expected 1.