08-15-2001
the database is originally in a really old ingres database program (called ingres ingmenu?), and i am trying to get to it in microsoft access 2000
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how to pass files from unix to windows nt?help (8 Replies)
Discussion started by: srinivasanvs
8 Replies
2. IP Networking
I try an RCP command from winnt to unix and it works only with 2 pc but with the two others it dosen't work....? MS-DOS return this error msg : 0826-826 The host name for your address is not known.
What can I do to resolve my probleme ?
Dimitri
Geneva - Switzerland (2 Replies)
Discussion started by: dfrangidis
2 Replies
3. UNIX for Dummies Questions & Answers
My development team has been trying to figure out how to import a unix data dump into SQL Server or convert it into an intermediate file format for several days.
The data dump in question looks like this:
$RecordID: 1<eof>
$Version: 1<eof>
Category: 1<eof>
Poster: John Doe<eof>... (7 Replies)
Discussion started by: DaltonF
7 Replies
4. UNIX for Dummies Questions & Answers
Hi :)
I'm a new unix user and i don't know much things about it.At the moment i've to make a work about unix databases.so i decided to come here and ask for help, if someone could tell me about a site or other mean where i can get some information about this i'll be pleased.
Tanks for any... (3 Replies)
Discussion started by: Briga
3 Replies
5. UNIX for Advanced & Expert Users
what is a flat file in unix?
i have to import a unix flat files from windows based programme.
my question is not to export from unix but only to import from windows only.
how to build that flat files?
how to create export to windows
how to import from windows (3 Replies)
Discussion started by: tunirayavarapu
3 Replies
6. UNIX for Advanced & Expert Users
hello -
Is it possible to connect to a database at the command line to an Oracle instance whilst logged in on the unix box i.e. not using a script
Cheers
(Running Solaris)
Also if anyone has any info on how a Citirix ICA client might be helpful here that would be appreciated
Cheers (1 Reply)
Discussion started by: penfold
1 Replies
7. UNIX for Advanced & Expert Users
Hi all... I've got a question:
how would you set up a computer under winnt 4, and solaris, in order for the solaris to print to the win box, using pcnfs?
And then how to tell the win box to print what it sees in the exported /var/spool directory?
How do do this?
Thanx
Jason (1 Reply)
Discussion started by: penguin-friend
1 Replies
8. Programming
hi All,
I have to Ftp a Directory from the WinNt to Hp-Unix, before that i have to check wether the same directory is present on HP-Unix, if it is then i have to delete that,& do the fresh FTP.
The problem is that i have to implement this in a C Program,which i have to develop on WinNT Envt.... (1 Reply)
Discussion started by: asifkhan
1 Replies
9. UNIX for Dummies Questions & Answers
I want to write a command file in Unix that can access database. what unix command can access database.
Actually, I installed software in SCO Unix, there is a database. but I want to access database without run this software in unix. How can I do? (5 Replies)
Discussion started by: wendyz
5 Replies
10. UNIX for Dummies Questions & Answers
I really need help in this :(
I have a file and would like to calculate the cosine similarity of the values in it...
For now I do use R which has an easy function for doing so
test <- as.matrix(read.csv(file="file.csv", sep=",", header=FALSE))
result<- cosine(t(test))
I am using unix of... (3 Replies)
Discussion started by: A-V
3 Replies
LEARN ABOUT PHP
ingres_fetch_array
INGRES_FETCH_ARRAY(3) 1 INGRES_FETCH_ARRAY(3)
ingres_fetch_array - Fetch a row of result into an array
SYNOPSIS
array ingres_fetch_array (resource $result, [int $result_type])
DESCRIPTION
This function is an extended version of ingres_fetch_row(3). In addition to storing the data in the numeric indices of the result array,
it also stores the data in associative indices, using the field names as keys.
If two or more columns of the result have the same field names, the last column will take precedence. To access the another column or col-
umns of the same name, you must use the numeric index of the column or make an alias for the column. For example:
<?php
$result = ingres_query($link, "select ap_place as city, ap_ccode as country from airport where ap_iatacode = 'VLL'");
$result = ingres_fetch_array($result);
$foo = $result["city"];
$bar = $result["country"];
?>
With regard to speed, the function is identical to ingres_fetch_object(3), and almost as quick as ingres_fetch_row(3) (the difference is
insignificant).
By default, arrays created by ingres_fetch_array(3) start from position 1 and not 0 as with other DBMS extensions. The starting position
can be adjusted to 0 using the configuration parameter ingres.array_index_start.
Note
Related Configurations
See also the ingres.array_index_start, ingres.fetch_buffer_size and ingres.utf8 directives in Runtime Configuration.
PARAMETERS
o $result
- The query result identifier
o $result_type
- The result type. This $result_type can be INGRES_NUM for enumerated array, INGRES_ASSOC for associative array, or INGRES_BOTH
(default).
RETURN VALUES
Returns an array that corresponds to the fetched row, or FALSE if there are no more rows
EXAMPLES
Example #1
Fetch a row of result into an array
<?php
$link = ingres_connect($database, $user, $password);
$result = ingres_query($link,"select * from table");
while ($row = ingres_fetch_array($result)) {
echo $row["user_id"]; // using associative array
echo $row["fullname"];
echo $row[1]; // using enumerated array
echo $row[2];
}
?>
SEE ALSO
ingres_query(3), ingres_num_fields(3), ingres_field_name(3), ingres_fetch_assoc(3), ingres_fetch_object(3), ingres_fetch_row(3).
PHP Documentation Group INGRES_FETCH_ARRAY(3)