Questions tagged [informix]
Informix is an SQL-based object-relational, OLTP/OLAP, NoSQL DBMS produced by IBM. This tag is appropriate for questions about any of the products with Informix in the product name.
80 questions
0 votes
1 answer
45 views
Create initial Informix dbspace on a new server from script
I'm able to create a new dbspace using the semi-gui tool onmonitor (running a headless Linux server) But how can I do this from cmd-line / script? It seems you can use onspaces like onspaces -c -d $...
0 votes
0 answers
101 views
Configuring Informix to access data on another server
I have inherited an Informix installation that contains a large amount of business logic in the form of procedures. The company also uses SQL Server, MySQL and Postgres for various roles. We're very ...
0 votes
1 answer
359 views
Convert Column multiple rows to single row output sql
I have an example query below that I am running that is only on one column, but multiple rows can be displayed: SELECT dbspace FROM tab_info_script WHERE database = 'dwh_vodac' AND tabname = '...
1 vote
0 answers
239 views
In Informix, is it possible to copy a database within the same server/host?
Assuming a user has sufficient privileges on the server, is it possible to copy a database in its entirety within the same server/host, using SQL only (i.e. without having shell access to the Linux ...
1 vote
2 answers
1k views
Rownum equivalent in Informix SQL?
I want to explore (=looking at the first 100 rows) databases using the Informix SQL dialect. In Oracle SQL I would use SELCT* FROM table_name WHERE ROWNUM < 100 In Postgress SQL I would use SELCT* ...
0 votes
1 answer
50 views
Are the Informix and Lucene analyzers similar?
Is the analyzer discussed here same as Lucene analyzers? I am confused because most of them show similar properties to Lucene analyzer but the blog posts don't say a word about Lucene; instead they ...
3 votes
2 answers
2k views
What are the various Informix column data types?
I am writing a query where I need to know if a column is of the "BLOB" type of column. According to this documentation 41 is the number for "BLOB" types of columns, in general. ...
1 vote
0 answers
99 views
Informix onunload/onload between different arch
I have some necro-project using Informix Dynamic Server Version 7.31.UD1. I need to backup-restore database between servers. The thing is, the onload just silently exits and doesn't create a database, ...
1 vote
3 answers
476 views
count duplicate records and select first 2
I have troubling issue where I want to only select the first 2 chunks of every dbspace created. query used: SELECT a.dbsnum, b.chknum, a.name, b.fname FROM sysdbspaces a, syschunks b where a.dbsnum = ...
3 votes
2 answers
932 views
Convert seconds into HH:MM:SS
How is it possible to convert a float number of seconds to HH:MM:SS in Informix? I have a column that has a run duration of 1449.448520410. I want to convert this to a human-readable format. I have ...
1 vote
1 answer
216 views
Informix onunload/onload to take a snapshot and then restore
I have an Informix database. I want to take a snapshot, make some changes, then restore the database from that snapshot. (If Informix supported nested transactions, I would be using transactions.) ...
1 vote
2 answers
862 views
case statement using characters for sum value
I have a table that I am trying to pull a single return value on a select saying that either compressions on table is enabled or disabled by using a sum calculator for column value compressed must be ...
0 votes
1 answer
962 views
Informix JDBC login fails, local login succeeds
I'm troubleshooting a "sudden" issue on our somewhat old Informix server (11.50.UC9GE). After years of running without issue (and connecting w/o issue), suddenly today we can't connect to the server ...
0 votes
2 answers
130 views
Informix v12 substitute for query using multiple with statements
I am trying to convert some PostgreSQL into Informix and factor out the WITH statements in the query below. I have been unable to locate a solution to factoring out multiple with statements. The ...
1 vote
0 answers
252 views
IBM Informix - cast decimal to time format
My customer uses an IBM Informix environment to track production information. In the current SharePoint 2013 he was able to show those infos with this query: Select stillst_grund,sum(charge_bis-...