-
Could you please tell me why the first one works but the second fails?
tt=`sqlplus -silent dba_mydb/dba_mydb@mydb <
set pagesize 0 feedback off verify off heading off echo off
select count(*) from user_tables;
--select count(*) from v\$log;
exit;
END`
echo $tt
tt=`sqlplus -silent dba_mydb/dba_mydb@mydb <
set pagesize 0 feedback off verify off heading off echo off
--select count(*) from user_tables;
select count(*) from v\$log;
exit;
END`
echo $tt
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|