Hello,
I am trying to rank subscribers calls based on minutes. I want the rank to be within the each subscriber not based on every call every call in the table. I used the following query and it seems to be ranking the entire table based on minutes. Any ideas???
SELECT C1.SUBSCRIBER...
Thanks....it worked!!!!! I had another question can I add the date and time to the log file the sql file is spooling to?
spool products;
SELECT * FROM PRODUCTS;
spool off;
Question,
How do I prevent my shell script from printing the results of a sql statement from on the screen. the following is my script
#!/bin/ksh
sqlplus -s user/password << EOF
@/var/test1.sql
@/var/test2.sql
exit
EOF
In the sql files I am spooling to a file.
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.