problem in passing parameters with spaces

hi

im passing 4 parameters to a file....like

/userr/script/go.sql $1 $2 $3 $4

and i get them in the other script and make and insert into the tabke

insert into xy values('&1','&2','&3','&4');

what is the problem is tht when any one paramter has a space in them like

"airtel mobile"

i get airtel as one paramter and mobile as another ..

how to work aroind this ..i even used double quotes like this

/userr/script/go.sql $1 "$2" $3 $4

still not working

can any body help me out

thanks
jram

I have tried the following see if it helps

$cat test.sh
echo $1
echo $2
echo $3

$./test.sh 1 2 3
1
2
3

$./test.sh "1 2" 3 4
1 2
3
4

Regards,
Gaurav

use "$@"

#!/bin/ksh

for p in "$@"; do

    echo "[$p]"
done

shows...

billym.>./1.sh "hello there" old chap
[hello there]
[old]
[chap]