Search Results

Search: Posts Made By: yahyaaa
Forum: Programming 09-12-2016
1,169
Posted By yahyaaa
For loop mysql procedures
Hi Forum

how can I make for loop or while loop as below, in mysql language

for i in (1, 2, 4, 6, 9)
do

......

done

similar to unix...
Forum: Programming 09-11-2016
2,101
Posted By yahyaaa
I tried the below precedure... but keep getting...
I tried the below precedure... but keep getting errors...


delimiter //

CREATE FUNCTION BestMatch (msisdn INT)
RETURNS FLOAT(9,3)

BEGIN

DECLARE var INT(6);
DECLARE s...
Forum: Programming 09-10-2016
2,101
Posted By yahyaaa
Big thankss....
Big thankss....
Forum: Programming 09-10-2016
2,101
Posted By yahyaaa
Best match query
Hi Forum,

I have the following table, around 60k records .. table name is "destinations"

BG,United Kingdom Mobile,004474572,0.20441,O
BG,United Kingdom Mobile,004479,0.20441,O
BG,United...
1,504
Posted By yahyaaa
Find the exact and best match between 2 files
Dear Forum,

File1: Reference
4474189 United Kingdom Mobile
4474188 United Kingdom Mobile
4474187 United Kingdom Mobile
447 United Kingdom
93 AFGHANISTAN 0093
1907 ALASKA 001907
355 ALBANIA...
6,305
Posted By yahyaaa
Thanks a lot ...its working
Thanks a lot ...its working
6,305
Posted By yahyaaa
I never heard of ksh93, how to use it as i tried...
I never heard of ksh93, how to use it as i tried it on solaris 10 but not found
6,305
Posted By yahyaaa
Thanks... What if I need it for predefined time ?...
Thanks... What if I need it for predefined time ?

---------- Post updated at 10:25 AM ---------- Previous update was at 10:20 AM ----------

Thank you

---------- Post updated at 10:26 AM...
6,305
Posted By yahyaaa
Convert date to Unix format
Dear Expert

How to convert date in format of YYYY-MM-DD HH:MM:SS to unix format
using a script or command if avaliable

Example

"2011-05-15 18:00:00" is converted to 1330970400

I tried...
2,448
Posted By yahyaaa
Thank you Jim Input data sample: ...
Thank you Jim

Input data sample:

Zain500Disc;46464564;560;;0;0;Active;2011-02-04 22:59:00;0;1970-01-01 00:00:00;0;1970-01-01 00:00:00;0;1970-01-01 00:00:00;1970-01-01 00:00:00;2011-03-06...
2,448
Posted By yahyaaa
Help to optimize script running time
Dear Forum experts

I have the below script which I made to run under bash shell, it runs perfectly for low records number, let us say like 100000. when I put all records (3,000,000), it's takes...
2,510
Posted By yahyaaa
Thanks a lot franklin, so this is an issue of...
Thanks a lot franklin, so this is an issue of split function ? is there any rule that can tell how "split" function do its work ?
2,510
Posted By yahyaaa
Split function input and output order
Dear Forum

I'm Trying to use split function to split a string, but the output is not as the same order as of the string, please see simple example

echo " " | nawk -v...
2,483
Posted By yahyaaa
Merge Static and dynamic parts in variable declaration
Dear Unix experts

Moved from "Shell Programming and Scripting "
I want to define a variable which contains dynmic and static part, daynamic part is the first field.

Sample of data

dddd...
2,169
Posted By yahyaaa
its like assigning variable part in variables. ...
its like assigning variable part in variables.

Eample in the thread above assign variable ($1) with fied part

line 1 ; $1=dddd, so first variable created is dddd_subs ?

and what is done...
2,169
Posted By yahyaaa
Merge Static and dynamic parts in variable declaration
Dear Unix experts

I want to define a variable which contains dynmic and static part, daynamic part is the first field.

Sample of data

dddd aaaa sssss 12345
ssss 2323 234234 4242
dddd 3223...
Forum: Programming 06-17-2010
1,578
Posted By yahyaaa
Defining the inputStream object
Question regarding extend issue

What is the reason behind defining the inputStream object in this way...

InputStream inputStream = new FileInputStream("c:\\input.txt");
I know that...
Forum: Programming 06-16-2010
5,771
Posted By yahyaaa
Thank you for the replay, but can you please...
Thank you for the replay, but can you please explain more ?

Im already doing this is in "new InputStreamReader(proc.getInputStream())"

Thanks again
Forum: Programming 06-16-2010
5,771
Posted By yahyaaa
Run Unix commands from Java
Greeings all

Im trying to excute a command from Java and direct the output to the main output screen or to another file .... can you please help with this ? can I use filewriter for this ?
...
Forum: Solaris 12-13-2009
4,368
Posted By yahyaaa
I already made this... still the routing table...
I already made this... still the routing table disappear when I reboot. .
Forum: Solaris 12-13-2009
4,368
Posted By yahyaaa
Many many thanks... It works now :-) .... ...
Many many thanks...

It works now :-) ....

But now every time I restart my solaris I have to run "ifconfig gani0 192.168.1.100 netmask 255.255.255.0 ...

where can I insert this command so...
Forum: Solaris 12-12-2009
4,368
Posted By yahyaaa
thank you for your response... Yes, I read...
thank you for your response...

Yes, I read about these files, but I still dont know how should I configure the /etc/nsswitch.conf file... ?

----

cat /etc/resolv.conf
server1 192.168.1.1
...
Forum: Solaris 12-12-2009
4,368
Posted By yahyaaa
Can't connect to Internet
Dear freinds...

I downloaded solaris for x86 and was able to configure the lan correctly.. I can ping and share with other destops through lan... but still I can't connect to internet ? can you...
1,971
Posted By yahyaaa
Thanks a lot, first suggestion is working...
Thanks a lot, first suggestion is working perfectly, I will try the second one...
Thanks again :-) :-)
6,490
Posted By yahyaaa
try to use tail -r before using uniq command...
try to use tail -r before using uniq command...
Showing results 1 to 25 of 110

 
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy