i have 2 cursors. i want to assign the value of first cursor(employee_id) to the where condition of cursor c2(please refer the bold statement).
how do i do if i want to assign the value of c1 to where condition of cursor c2?
Last edited by radoulov; 10-23-2011 at 04:47 PM..
Reason: Code tags fixed.
Can anyone tell me how to ouput the current cursor coordinate? I have tried using tput sc and tput rc. However I want to know what the coordinate is.
Thanks. (1 Reply)
I am using curses.h and signals.h to control output to screen. My code displays an unchanging prompt that waits for user input. Meanwhile alarm signals are being generated that cause other ancillary messages to appear at other locations on the screen at various times.
The problem I have is with... (2 Replies)
Cursor is blinking (slightly) while loading page in Firefox, or during scrolling a window.
I tried some variants of linux (gnome permanently) and of course my solaris.
May be an artifact of X-window? Cause in windows cursor is stable (i'm feeling more confident).
PS: It makes me nervous. (0 Replies)
Hi,
I'm writing scripts in perl and shell and want to add the oprion of
scrolling cursor on the screen when there is no output to the screen for long time. I saw it in some script but I don't have the source code.
Are anyone know how can I perform this ?
Thanks (1 Reply)
I am running a psychology experiment with a UNIX shell script as a front end. This precedes each trial:
echo -e "\n\n\n ***Ready***"
sleep 1
clear
Is there a way to get rid of the flashing cursor after the clear command has been executed or another command I could use instead? It is a... (0 Replies)
Hi All,
please help me to know how to move the cursor to the desired position?
For example, in a shell script, I am displaying
echo "\t Enter your Name:"
please help me how to move cursor near the first word.
for example, if the output is as below
... (3 Replies)
Hi,
I have a table in which i have the following data
JOB_NO FILE_ID FILE_NAME
1546148 1378788 PDF Sample -1.pdf
1546148 1378789 PDF Sample -2.pdf
1546149 1378790 PDF Sample -3.pdf
Now I would like use a cursor like thing in unix to download the files using the file ids and send... (1 Reply)
I need to get the cursor position, and put it inside a variable. Problem is, i don't have the tput command, or ncurses.
Apparently I was supposed to try the following:
echo -e '\E
But I don't get a value or anything. Please help. (3 Replies)
Discussion started by: tinman47
3 Replies
LEARN ABOUT DEBIAN
tangram::cursor
Tangram::Cursor(3pm) User Contributed Perl Documentation Tangram::Cursor(3pm)NAME
Tangram::Cursor - traverse a result set
SYNOPSIS
$cursor = $storage->cursor($remote, $filter);
while (my $obj = $cursor->current())
{
# process $obj
$cursor->next();
}
$cursor->execute();
while (my $obj = $cursor->current())
{
# process $obj
$cursor->next();
}
DESCRIPTION
A Cursor makes it possible to iterate over a result set without loading all the objects in memory.
See also the "limit" option to the select method of the Tangram::Storage class.
INSTANCE METHODS
current
$obj = $cursor->current();
Returns the current object, or undef() if the result set is exhausted.
next
$obj = $cursor->next();
@obj = $cursor->next();
Moves to the next object in the result set, if any. Returns the new current object, or undef() if the result set is exhausted. In list con-
text, return all the remaining objects.
execute
$cursor->execute();
Moves the cursor to the first object in the result set, and return it. Note that preparing Cursors is an expensive operation, you should
reuse them if possible. execute() allows just that.
execute() may be called several times in a row, or on a Cursor that has just been obtained from a Storage, without ill effects.
residue
my @vals = $cursor->residue();
Returns the values of the Expr that were passed to the "retrieve" directive of the Storage::select() or Storage::cursor() statement.
CURSORS AND CONNECTIONS
Each Cursor opens its own connection to the database.
SEE ALSO
Tangram::Storage
perl v5.8.8 2006-03-29 Tangram::Cursor(3pm)