informix

How to list schemas of a specific database in Informix using SQL?

♀尐吖头ヾ 提交于 2020-01-05 17:41:09
问题 What is the query to get a list of schemas names in a specific database in Informix? 回答1: A schema belongs to a user. You can list all available users from the sysusers system catalog : SELECT username FROM "informix".sysusers; Since only DBA s and Resource privilieges allow a user to issue a CREATE SCHEMA statement, we could restrict the query like : SELECT username FROM "informix".sysusers WHERE usertype IN ('D', 'R'); Another solution is to list only users that actually have created tables

ODBC linked table not showing fractions of seconds

夙愿已清 提交于 2020-01-05 10:18:47
问题 I have linked an IBM informix database table through an ODBC connection to an Access 2010 database. My issue is that the date field in this table only shows dd/mm/yy HH:nn:ss in the Access view, where the stored data is to 1000th of a second. I can show this in Excel 2010 but not in Access 2010: is this possible? Not having this level of accuracy is preventing me making accurate calculations! 回答1: There is a similar question on another forum here. The Date/Time field type in Access does not

Can't Remove Duplicate Rows

对着背影说爱祢 提交于 2020-01-05 09:15:19
问题 Each record could have up to 40 different person_user.description fields. Problem is, I am getting duplicate rows because records have multiple description entries. Can you help me put those additional duplicates on the same record row like: |1|badge.bid|person.first_name|person.last_name|person.type|1|2|3|4|5|etc|40| |2|badge.bid|person.first_name|person.last_name|person.type|1|2|3|4|5|etc|40| |3|badge.bid|person.first_name|person.last_name|person.type|1|2|3|4|5|etc|40| instead of this: |1

Can't Remove Duplicate Rows

假装没事ソ 提交于 2020-01-05 09:15:12
问题 Each record could have up to 40 different person_user.description fields. Problem is, I am getting duplicate rows because records have multiple description entries. Can you help me put those additional duplicates on the same record row like: |1|badge.bid|person.first_name|person.last_name|person.type|1|2|3|4|5|etc|40| |2|badge.bid|person.first_name|person.last_name|person.type|1|2|3|4|5|etc|40| |3|badge.bid|person.first_name|person.last_name|person.type|1|2|3|4|5|etc|40| instead of this: |1

Which of the IDS 11.70 onconfig parameters can be changed to maximize performance for a DSS app?

旧巷老猫 提交于 2020-01-05 07:01:46
问题 Informix 11.70.TC5DE, Windows Vista with Dual Core Processor, 8GB RAM, 1TB HDD: During the installation of this server, I specified it was going to be used for a data warehousing application. These are the onconfig parameters the install script generated. Can any of these parameters be changed to maximize the performance of the server? #(onconfig.ol_informix1170) - for data warehousing app. ROOTNAME rootdbs ROOTPATH C:\PROGRA~1\IBM\Informix\11.70\OL_INF~2\dbspaces\rootdbs.000 ROOTOFFSET 0

Which of the IDS 11.70 onconfig parameters can be changed to maximize performance for a DSS app?

孤街浪徒 提交于 2020-01-05 07:01:17
问题 Informix 11.70.TC5DE, Windows Vista with Dual Core Processor, 8GB RAM, 1TB HDD: During the installation of this server, I specified it was going to be used for a data warehousing application. These are the onconfig parameters the install script generated. Can any of these parameters be changed to maximize the performance of the server? #(onconfig.ol_informix1170) - for data warehousing app. ROOTNAME rootdbs ROOTPATH C:\PROGRA~1\IBM\Informix\11.70\OL_INF~2\dbspaces\rootdbs.000 ROOTOFFSET 0

How to escape colon (:) character while executing native SQL queries against an Informix database using NHibernate?

故事扮演 提交于 2020-01-04 18:17:26
问题 I'm trying to execute a set of native SQL queries against an Informix database, using NHibernate to create the queries. However, NHibernate is set to change the query if it contains colons (they are supposedly reserved characters), and so the query fails. This is a sample of the native SQL query: CREATE PROCEDURE procedure_name() ... SELECT FIRST id :: INTEGER INTO variable ... END PROCEDURE; which NHibernate transforms into this, before executing the query, CREATE PROCEDURE procedure_name()

Hibernate + Informix + Blob + byte array

◇◆丶佛笑我妖孽 提交于 2020-01-04 05:06:13
问题 I have troubles saving a byte array to my Informix database, I'll show you how I'm trying: In Fichero.java among other things I have this: @Column(name="fichero", columnDefinition="blob") private byte[] contenido; I had to do that way because I can't get Informix+Hibernate to accept @Lob annotation (yes, I tried that extending Hibernate's dialect workaround but it doesn't work for me) Then I read a file and convert it to a bytearray this way: FileManager.java private byte[] fromFile2ByteArray

Cannot Connect to informix through ODBC on linux machine

别等时光非礼了梦想. 提交于 2020-01-04 04:20:12
问题 I am woking on a virtual machine operating CentOS 7, and I am trying to connect to an Informix database using ODBC (unixODBC) through some php. I am using php7.0 and I have installed the unixODBC-2.3.7 as well as installed the informix sdk package (iif.12.10.FC12DE.linux-x86_64). I have configures the odbc.ini and odbcinst.ini as such: odbcinst.ini: [ODBC Drivers] IBM INFORMIX ODBC DRIVER=Installed [IBM INFORMIX ODBC DRIVER] Driver=/opt/IBM/Informix_Software_Bundle/lib/cli/iclis09b.so Setup=

How do you identify Informix version on Solaris?

青春壹個敷衍的年華 提交于 2020-01-04 04:16:11
问题 We have Informix running on our Solaris server and under /usr/informix/bin there are several executables, such as 'dbaccess' and 'isql' . Each of them produce different version information when typing 'isql -V' for example. How do you identify the exact version of the SE running? Output: 'esql -V' INFORMIX-ESQL Version 6.00.UH1 'isql -V' INFORMIX-SQL Version 6.03.UC1 'dbaccess -V' DB-Access Version 7.13.UC1 Then in /usr/informix/release directory there is a file named "SE_7.1". So is it