12-15-2001
informix
i found this link using google search
i hope this is what you need
link
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can anyone please help me?
I need to find out if a Unix server running Solaris 2.4 and an Informix V5 Database is capable of CTI via a CSTA Link to a telephone system for screen popping, and what APIs for CTI are supported?
Any help or pointers in the right direction would be much appreciated.... (2 Replies)
Discussion started by: Dave34
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Just installed solaris
Does anyone know where I can download
Informix server for Unix
thanks, (1 Reply)
Discussion started by: Mike1
1 Replies
3. UNIX for Dummies Questions & Answers
How do I access Informix from unix? It's been about 2 years since I've last used unix and I've forgotten the command. (2 Replies)
Discussion started by: pbouknight
2 Replies
4. SCO
Dear Sir,
We are using sco 5.0.6 version. we need to install the informix database standard engine(SE) into this server. Kindly give me detailed instruction of preconfiguration( e.g. path) of sco 5.0.6 server.
Kind Regards,
Mostafizur Rahman (1 Reply)
Discussion started by: rahmanm
1 Replies
5. HP-UX
Currently running Informix 7.23 UC11 on HP UX 10.20. Want to upgrade O/S to HP UX 11i. ANyone done this before? will informix 7.23 run on 11i? Thanks. (4 Replies)
Discussion started by: mrviking
4 Replies
6. SCO
HI ! I NEED A MEDIA TO INSTALLING INFORMIX 4.1 IN SCO UNIX. OUR MEDIA ARE LOST AND THE SERVER IS GOING BAD ! HELP ME PLEASE ! THANK YOU VERY MUCH ! (5 Replies)
Discussion started by: tomribeiro
5 Replies
7. UNIX and Linux Applications
Hello,
I want to write a ksh script to connect to a remote Informix DB and insert rows. I understand from the various threads that isql is the most popular choice and that it can be done. I'm new to both scripting and Informix and have some questions -
1) Does isql have listener/ tnsnames files... (1 Reply)
Discussion started by: zcanji
1 Replies
8. BSD
Hi,
I've read the limited information there are on Internet about this theme and some people say that this work should be done with SCO OpenServer CSDK (IBM - Informix Client Software Development Kit - System requirements for SCO - OpenServer) plus the binary emulation of CSO and others that it... (0 Replies)
Discussion started by: efrenba
0 Replies
9. HP-UX
I just used the dbsize command to find the size, but i guess, it doesn't gets me what i look for. (0 Replies)
Discussion started by: dvah
0 Replies
10. Programming
Hi,
I am using INFORMIX 8 and trying to update column value by apending '09' to existing record .
update sample_data_table set Name = Name||22 where id = 90 and state = NY
This worked fine in oracle Database,But throwing error in informix .
I need output as Ravi22 for Ravi record in... (0 Replies)
Discussion started by: Perlbaby
0 Replies
LEARN ABOUT PHP
ifx_query
IFX_QUERY(3) 1 IFX_QUERY(3)
ifx_query - Send Informix query
SYNOPSIS
resource ifx_query (string $query, resource $link_identifier, [int $cursor_type], [mixed $blobidarray])
DESCRIPTION
Sends a $query to the currently active database on the server that's associated with the specified link identifier.
For "select-type" queries a cursor is declared and opened. Non-select queries are "execute immediate".
For either query type the number of (estimated or real) affected rows is saved for retrieval by ifx_affected_rows(3).
If the contents of the TEXT (or BYTE) column allow it, you can also use ifx_textasvarchar(1) and ifx_byteasvarchar(1). This allows you to
treat TEXT (or BYTE) columns just as if they were ordinary (but long) VARCHAR columns for select queries, and you don't need to bother with
blob id's.
With ifx_textasvarchar(0) or ifx_byteasvarchar(0) (the default situation), select queries will return BLOB columns as blob id's (integer
value). You can get the value of the blob as a string or file with the blob functions (see below).
PARAMETERS
o $query
- The query string.
o $link_identifier
- The link identifier.
o $cursor_def
- This optional parameter allows you to make this a scroll and/or hold cursor. It's a bitmask and can be either IFX_SCROLL,
IFX_HOLD, or both or'ed together. I you omit this parameter the cursor is a normal sequential cursor.
o $blobidarray
- If you have BLOB (BYTE or TEXT) columns in the query, you can add a $blobidarray parameter containing the corresponding "blob
ids", and you should replace those columns with a "?" in the query text.
RETURN VALUES
Returns valid Informix result identifier on success, or FALSE on errors.
EXAMPLES
Example #1
Show all rows of the "orders" table as a HTML table
<?php
ifx_textasvarchar(1); // use "text mode" for blobs
$res_id = ifx_query("select * from orders", $conn_id);
if (! $res_id) {
printf("Can't select orders : %s
<br />%s<br />
", ifx_error(), ifx_errormsg());
die;
}
ifx_htmltbl_result($res_id, "border="1"");
ifx_free_result($res_id);
?>
Example #2
Insert some values into the "catalog" table
<?php
// create blob id's for a byte and text column
$textid = ifx_create_blob(0, 0, "Text column in memory");
$byteid = ifx_create_blob(1, 0, "Byte column in memory");
// store blob id's in a blobid array
$blobidarray[] = $textid;
$blobidarray[] = $byteid;
// launch query
$query = "insert into catalog (stock_num, manu_code, " .
"cat_descr,cat_picture) values(1,'HRO',?,?)";
$res_id = ifx_query($query, $conn_id, $blobidarray);
if (! $res_id) {
/* ... error ... */
}
// free result id
ifx_free_result($res_id);
?>
SEE ALSO
ifx_connect(3).
PHP Documentation Group IFX_QUERY(3)