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

  • Home
  • SEARCH
  • 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 163437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:34:02+00:00 2026-05-11T11:34:02+00:00

Using Informix, I’ve created a tempory table which I am trying to populate from

  • 0

Using Informix, I’ve created a tempory table which I am trying to populate from a select statement. After this, I want to do an update, to populate more fields in the tempory table.

So I’m doing something like;

create temp table _results (group_ser int, item_ser int, restype char(4));  insert into _results (group_ser, item_ser) select        group_ser, item_ser, null from       sometable 

But you can’t select null.

For example;

select first 1 current from systables 

works but

select first 1 null from systables 

fails!

(Don’t get me started on why I can’t just do a SQL Server like ‘select current’ with no table specified!)

  • 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. 2026-05-11T11:34:03+00:00Added an answer on May 11, 2026 at 11:34 am

    This page says the reason you can’t do that is because ‘NULL’ doesn’t have a type. So, the workaround is to create a sproc that simply returns NULL in the type you want.

    That sounds like a pretty bad solution to me though. Maybe you could create a variable in your script, set it to null, then select that variable instead? Something like this:

    DEFINE dummy INT; LET dummy = NULL;  SELECT group_ser, item_ser, dummy FROM sometable 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 70k
  • Answers 70k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Part of your error is that you are accessing a… May 11, 2026 at 12:56 pm
  • added an answer This is normal behaviour for form fields. Browsers generally try… May 11, 2026 at 12:56 pm
  • added an answer You can achieve what you want by writing your own… May 11, 2026 at 12:56 pm

Related Questions

I'm using an Informix (Version 7.32) DB. On one operation I create a temp
Using online interfaces to a version control system is a nice way to have
Using PyObjC , you can use Python to write Cocoa applications for OS X.
Using ASP.NET MVC there are situations (such as form submission) that may require a
Using C# .NET 3.5 and WCF, I'm trying to write out some of the
Using Informix, I've created a tempory table which I am trying to populate from
In Informix, how can I cast a char(8) type into a money type, so
I have Informix database with timestamp field defined as YEAR TO SECOND. When I
I have problem when I try insert some data to Informix TEXT column via

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.