informix

informix jdbc stuck connecting

一笑奈何 提交于 2019-12-01 11:06:28
I'm trying to connect to a Informix database server with jdbc using the standard way : connection = DriverManager.getConnection("jdbc:informix-sqli://"+ip+ /"+sid+":INFORMIXSERVER="+server+";user="+user+";password="+pass+""); But it keeps trying to connect and does not throw a error message (I suppose it tries to connect because it does not show anything). I'm using IBM Informix driver 4.10.00.1534 and Java 1.7. I have been using this method to connect to Informix servers until now, in fact it only fails with one server. I can connect to this server through Informix clients with odbc but it

Should I denormalize Loans, Purchases and Sales tables into one table?

无人久伴 提交于 2019-12-01 09:20:17
Based on the information I have provided below, can you give me your opinion on whether its a good idea to denormalize separate tables into one table which holds different types of contracts?.. What are the pro's/con's?.. Has anyone attempted this before?.. Banking systems use a CIF (Customer Information File) [master] where customers may have different types of accounts, CD's, mortgages, etc. and use transaction codes[types] but do they store them in one table? I have separate tables for Loans, Purchases & Sales transactions. Rows from each of these tables are joined to their corresponding

Should I denormalize Loans, Purchases and Sales tables into one table?

风流意气都作罢 提交于 2019-12-01 06:06:01
问题 Based on the information I have provided below, can you give me your opinion on whether its a good idea to denormalize separate tables into one table which holds different types of contracts?.. What are the pro's/con's?.. Has anyone attempted this before?.. Banking systems use a CIF (Customer Information File) [master] where customers may have different types of accounts, CD's, mortgages, etc. and use transaction codes[types] but do they store them in one table? I have separate tables for

Query to check if primary key exists on the table in informix

北战南征 提交于 2019-12-01 05:59:36
We have a table called asamembr with two of its fields : cust_code and mbrcode. There is another table membermessage with same fields as a foreign key but when I am using following query to create constraint: alter table 'informix'.messageclubmembership add constraint foreign key (membership_number, member_code) references 'informix'.asamembr (cust_code, mbr_code) on delete cascade constraint fk_messageclubm926; I get this error: Cannot find unique constraint or primary key on referenced table (informix.asamembr) Can you please tell how to query if the primary key exists on the table asamembr

Connecting to Informix database from .Net

别说谁变了你拦得住时间么 提交于 2019-12-01 05:39:02
问题 What's the best way to connect to a Informix database from .Net? I'm developing a client-server application based on a legacy Informix DB which used to be connected by JDBC. I need it, from the most important to the least: To be fast DB server changes not needed No ODBC and no dependencies, other than de .Net Framework 2.0 Thanks in advance for your help. 回答1: The connections strings to use with OleDb or ADO.NET can be found here. Take a look at this article on how to connect to an Informix

Query to check if primary key exists on the table in informix

二次信任 提交于 2019-12-01 03:59:35
问题 We have a table called asamembr with two of its fields : cust_code and mbrcode. There is another table membermessage with same fields as a foreign key but when I am using following query to create constraint: alter table 'informix'.messageclubmembership add constraint foreign key (membership_number, member_code) references 'informix'.asamembr (cust_code, mbr_code) on delete cascade constraint fk_messageclubm926; I get this error: Cannot find unique constraint or primary key on referenced

ODBC connection from 64-bit SQL Server to Informix data source

邮差的信 提交于 2019-12-01 00:44:47
I am trying to create a linked table in a 64-bit SQL Server to Informix, and the SQL server does not list Informix ODBC in the DSN list. I have downloaded the 64-bit Informix Client SDK, however, despite the fact that it states 64-bit Informix Client SDK, it only appears in the 32-bit ODBC DSN. I tried to create a linked table in a 32-bit SQL Server and I was then able to see Informix ODBC DDN. I was just wondering that if there is an Informix Client SDK that would show in the 64-ODBC DSN, not the 32-bit? Also is there a way of linking a 64-bit SQL Server to Informix please? Thanks. Create a

How do I list all stored procedures in Informix?

五迷三道 提交于 2019-11-30 21:06:59
I'm looking for a way to list all the stored procedures in my database running on Informix. Is there a table in the "informix".* database that lists stored procedures along with detail information about them? Adrian Carneiro Yes, there is. It's called sysprocedures . Try this to see all there's to see: select * from sysprocedures For more information on what detailed information is available, read about sysprocedures and sysprocbody and sysproccolumns . CheeseConQueso select sysprocedures.procname from sysprocedures; Get the procid of the stored procedure from the below query select

Connecting to Informix using .NET

浪子不回头ぞ 提交于 2019-11-30 15:40:21
Server Information Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001 Server: Informix Dynamic Server Version 7.31.UD3 Information: Link: Connecting to Informix database from .Net Article: http://www.ibm.com/developerworks/db2/library/techarticle/dm-0510durity/ I am running Visual Studio 2010 (C# 4.0). I don't care if it is ODBC vs OLE DB. I uninstalled all the client SDKs for Informix. I have readily available the IBM Informix CSDK 3.5 ready to be installed (the article uses 2.9 in its example, but I can't find that anywhere). I have the sample code from the article. Basically, I was

How do I list all stored procedures in Informix?

回眸只為那壹抹淺笑 提交于 2019-11-30 15:29:54
问题 I'm looking for a way to list all the stored procedures in my database running on Informix. Is there a table in the "informix".* database that lists stored procedures along with detail information about them? 回答1: Yes, there is. It's called sysprocedures . Try this to see all there's to see: select * from sysprocedures For more information on what detailed information is available, read about sysprocedures and sysprocbody and sysproccolumns. 回答2: select sysprocedures.procname from