informix

Informix CSDK install failing

拈花ヽ惹草 提交于 2019-12-10 23:58:56
问题 I'm trying to install the Informix CSDK to get the drivers for an ODBC connection using Perl and DBD::ODBC. When running the ./installclientsdk, I'm getting the following error: Initializing InstallShield Wizard........ Launching InstallShield Wizard........erified. The wizard cannot continue because of the following error: could not load wizard specified in /wizard.inf (104) I've read that only open-jdk is available on Ubuntu 11.10 so I went and installed the java version, which is where I'm

operations on blob data in informix

核能气质少年 提交于 2019-12-10 22:54:55
问题 How can we use substring, trim, length operations on some text of blob datatype. And how can we update a column of blob datatype using query? Thanks, 回答1: With difficulty! First of all, which of the 4 various types of blob are you discussing: BYTE TEXT BLOB CLOB These come in pairs (like Sith Lords): there is a binary version (BYTE, BLOB) and a text version (TEXT, CLOB). There's also another pairing: old (BYTE, TEXT) and newer (BLOB, CLOB). The BYTE and TEXT types were introduced with

Unable to load DLL 'iclit09b.dll'

非 Y 不嫁゛ 提交于 2019-12-10 21:56:11
问题 After I have setup the Informix server and the Informix client, I face the following problem when trying to run my ASP.NET application: unable to load DLL 'iclit09b.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)` 回答1: Look where your iclit09b.dll is and add this directory to PATH environment. You can use my simple Python "dll tester": http://code.activestate.com/recipes/576522-searching-dll-and-exe-files-in-path/ On my machine it gives: c:\tmp>which_dll

Transferring data between different DBMS's

醉酒当歌 提交于 2019-12-10 21:06:38
问题 I would like to transfer the whole Database i have in Informix to Oracle. We have an an application which works on both Databases, one of our customers is moving from Informix to Oracle, and needs to transfer the whole Database to Oracle (the structure is the same). We need often to transfer data between oracle/Mssql/Informix sometimes only one table and not the whole Database. Does anybody know about any good program which does this kind of job? 回答1: The Pentaho Data Integration ETL tools

Group Indexing in Informix

淺唱寂寞╮ 提交于 2019-12-10 21:04:18
问题 I have a table called hitlist , which has 3 columns: int id long hitlisted_date long deleted_date I will be querying this table based on these columns: histlisted_date (frequent) hitlisted_date && deleted_date (frequent) deleted_date (not frequent) In this situation, what kind of index should I use? Separate index on hitlisted_date & deleted_date Group index on hitlisted_date & deleted_date UPDATE The table will have just 1000 - 5000 rows. These are the query patterns that will be used. 1)

Informix memory leak

送分小仙女□ 提交于 2019-12-10 18:47:00
问题 I am running into an strange issue using Informix (specifically, I am using the IBM.Data.Informix namespace, 4.10 Client SDK). I am connecting to an IBM Informix database using ODBC and am running into memory leak issues. The documentation is fairly sparse, and I am locked into using the driver/SDK I currently have installed. Here is the code I am using for the database context: public class IfxDbContext : IIfxDbContext { private readonly string _connectionString; //private readonly

Dapper not adding parameters

删除回忆录丶 提交于 2019-12-10 18:45:46
问题 I am trying to use Dapper for our complex queries to remove any lost overhead that was previously existing with NH. I have the following query (note this has been considerably shrunk): SELECT DISTINCT * FROM tasks t WHERE t.initials = @UserInits Which is called via our repository as so: taskRepo.RawExec<TaskListItemDTO>(Query,new {UserInits = "SAS"}) Our implementation of DapperExec consist as follows: public IEnumerable<T> RawExec<T>(string SQL, object param) { return _session.Connection

IDS an over-kill for a single-user app?

一个人想着一个人 提交于 2019-12-10 17:49:54
问题 I have the following dilema: My clients (mom-n-pop pawnshops) have been using my mgmt. system, developed with ISQL, for over 20 years. Throughout these two decades, I have customized the app to each clients desire, or when changes in Laws/Regulations have required it. Most clients are single-user sites. Some have multiple stores, but have never wanted a distributed db, don't trust the reliability or security of the internet or any other type of networking. So, they all use Standard Engines. I

Assembly load error for 64 bit .NET Informix ADO.NET provider

♀尐吖头ヾ 提交于 2019-12-10 15:04:32
问题 I am running 64 bit Windows 7. I have a .NET 4.0 web project and a Class Library Project that accesses an Informix database. I installed the IBM Informix Client SDK version 3.70.FC4 (64 bit version, .NET 2.0 runtime). Per the IBM Informix .Net Provider Guide I added the directory %INFORMIXDIR%/bin/netf20/ to the PATH variable I added a reference to the IBM.Data.Informix.dll (version 3.0.0.2) in the Class Library Project. When I run the web project I get this error: Could not load file or

Need to perform ORDER by Twice

大憨熊 提交于 2019-12-10 04:17:01
问题 I want to sort according to date first and then if date is similar then according to id..How to do that in Informix/HSQL query? 回答1: SELECT FIELD1, FIELD2 FROM TABLE ORDER BY FIELD1 ASC, FIELD2 ASC A good tutorial on this SQL ORDER BY 回答2: Try this(adjusted to your needs): SELECT * FROM table ORDER BY datecol ASC, id ASC 回答3: This should work: SELECT * FROM Table ORDER BY date, id; 回答4: Does [rest of query] order by date, id work? 回答5: select * from (select * from tablename order by col1)