Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3241902
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:15:09+00:00 2026-05-17T18:15:09+00:00

Using IBM Informix Dynamic Server Version 10.00.FC9 I’m looking to set multiple field values

  • 0

Using IBM Informix Dynamic Server Version 10.00.FC9

I’m looking to set multiple field values with one CASE block. Is this possible? Do I have to re-evaluate the same conditions for each field set?

I was thinking of something along these lines:

SELECT CASE WHEN p.id = 9238 THEN ('string',3) END (varchar_field, int_field);

Where the THEN section would define an ‘array’ of fields similar to the syntax of

INSERT INTO table (field1,field2) values (value1,value2)

Also, can it be done with a CASE block of an UPDATE statement?

UPDATE TABLE SET (field1,field2) = CASE WHEN p.id=9238 THEN (value1,value2) END;

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:15:09+00:00Added an answer on May 17, 2026 at 6:15 pm

    Normally, I’d ask for the version of Informix that you’re using, but it probably doesn’t matter much this time. The simple answer is ‘No’.

    A more complex answer might discuss using a row type constructor, but that probably isn’t what you want on the output. And, given the foregoing, then the UPDATE isn’t going to work (and would require an extra level of parentheses if it was going to).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using IBM Informix Dynamic Server Version 10.00.FC9 The error I'm getting is: 1226: Decimal
I'm having trouble creating this stored procedure on IBM Informix Dynamic Server Version 10.00.FC9
I am using Websphere7 server and it is shipped with a default IBM version
Hi I am using IBM Websphere application Server 7.0 trial version and the priod
I try to connect to informix server 11.5 using using IBM.Data.Informix (located in C:\Program
We have an application using the IBM Informix driver. Whenever we try to open
I am using IBM Websphere Application Server v6 and Java 1.4 and am trying
I'm using IBM RAD with a WAS 7.0 application server. I'm developing a JSF
I am using IBM DB2 V 9.1.0.356. I am using DB2 JDBC driver version
Hi we are using IBM Commerce Sever Moving from one view to another using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.