2008/10/24 Fuad Arshad <fuadar@xxxxxxxxx> > here is what i did to get my solution > sqlplus -v | awk -F"." '{ print $1 }' | awk '{ print $NF }' > > the answer gives me what i was looking for > > Thanks all. > May be I'm wrong but, sqlplus -v gives you the sqlplus binary version, not the server one. You can have a client in 11g and several databases in 11g, 10g, 9i... in the same host D.