Hi
I have a shell script in which a string variable is saving following query.
SqlQuery="select a||'|'||b||'|'||c from dual"
I am trying to pass above query as a parameter to some script but its giving me error for "single quote". I tried suppressing it using \' instead of just ' but it... (1 Reply)
Hi,
I have about 12 columns and 15 rows to be retrived from sybase isql command through unix. But when i output the sql into a file and see it, the formatting is going for a toss. can someone please suggest how can i get the result correctly in the output file ?
Thanks,
Sateesh (2 Replies)
Dear All ,
I have file1.txt contain values like the following:
----------
23
24
25
and I have shell script which has the following :
more file1.txt | awk '{print "select 'DUMP',CODE1||'|'||CODE2||'|'||CODE3 from CODE where CODE1='" $1 "';"}' > file2.sql
all I need is to have the... (6 Replies)
count.sh#!/bin/ksh
SQL1=`sqlplus -s usr/pwd @count.sql $1 $2 $3`
SQL2=`sqlplus -s usr/pwd @selectall.sql $1 $2 $3`
LIST="Count Select_All"
select i in $LIST
do
if
then
echo $SQL1
elif
then
echo $SQL2
fi
done (2 Replies)
Hi there
I have a database on a remote box and i have been using shell script to insert data into it for example, i could have a script that did this
SN=123456
n=server1
m=x4140
sql="UPDATE main SET hostname='$n',model='$m' WHERE serial='$SN';"
echo $sql |/usr/sfw/bin/mysql -h... (4 Replies)
I know I know..
for sure one of the easier mysql statements. But somehow I can not figure out this.
I expect to see all distinct items of 'data_12' where 'kwroot' has 'straxx' in, and in the same row 'data_12' ist (not = 'kwsearched' in any existing row)
data_12 ... (6 Replies)
Hello,
I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error
" reboot and select proper Boot device or insert Boot media in select Boot device and press a key "
I have tried CD and... (0 Replies)
Hello people,
as wrote in title I'm going crazy with a "complex" SQL select.
This is the seelct:
select T_ADDRESS, T_MCC,T_MNC,T_MSIN,T_IM_MNC, COUNT(*) FROM TABLETEST
WHERE T_MCC=123 AND (T_MNC=11 OR T_MNC=01)
GROUP BY T_ADDRESS,T_MCC,T_MNC,T_MSIN,T_IM_MNC HAVING count(*) > 5;This select... (7 Replies)
Hi All,
I had a query related to sql select update replace command.
i have a table named clusters and it looks like this
name model characteristics
sample1.1 +123 parent
sample1.2 -456 clone
sample1.3 +122 ... (5 Replies)
Hi All,
I had a query related to sql select replace command.
i have a table named clusters and it looks like this
Code:
name characteristics
sample 1.1 parent
sample 1.2 ... (2 Replies)
Discussion started by: siya@
2 Replies
LEARN ABOUT DEBIAN
fprintd
fprintd(1)fprintd(1)NAME
fprintd - Fingerprint management daemon, and test applications
SYNOPSYS
fprintd-enroll [username]
fprintd-list username [usernames...]
fprintd-verify [-f finger] [usename]
fprintd-delete username [usernames...]
DESCRIPTION
This manual page documents briefly the fprintd command-line utilities.
The fprintd daemon is accessed through D-Bus by those command-line utilities.
ARGUMENTS
username
The username for the user for which you want to query or modify the fingerprint database.
Not that fprintd-list and fprintd-delete require at least one username to be passed, and support multiple usernames.
fprintd-enroll and fprintd-verify will use the current username if none are passed on the command-line.
-f finger
For fprintd-enroll, the finger to enroll. Possible values are:
left-thumb, left-index-finger, left-middle-finger, left-ring-finger, left-little-finger, right-thumb, right-index-finger, right-
middle-finger, right-ring-finger, right-little-finger.
The default is automatic, selecting the first available finger for swipe devices, or all the enrolled fingers, for press devices.
TEST APPLICATIONS
fprintd-enroll
Will enroll the user's right index finger into the database.
fprintd-list
Will list the user's enrolled fingerprints.
fprintd-verify
Will enroll the user's right index finger into the database.
fprintd-enroll
Will enroll the user's right index finger into the database.
AUTHOR
fprintd was written by Bastien Nocera and Daniel Drake.
DIRECTORIES
By default, fprintd stores the fingerprints in /var/lib/fprint/
SEE ALSO
dbus-daemon, gnome-about-me
freedesktop 2010-08-16 fprintd(1)