A**b ??
declare
a number(10):=1;
b number(10):=6;
c number(10);
begin
c := a**b;
dbms_output.put_line(c);
end;
result is : 1
what is a**b ??
OraclePLSQL wrote:
declare
a number(10):=1;
b number(10):=6;
c number(10);
begin
c := a**b;
dbms_output.put_line(c);
end;
result is : 1
what is a**b ??well, one... ;)
it's the same as
SQL> declare
2 a number(10):=1;
3 b number(10):=6;
4 c number(10);
5 begin
6 c := power (a,b);
7 dbms_output.put_line(c);
8 end;
9 /
1
PL/SQL procedure successfully completed.
Similar Messages
Maybe you are looking for
-
Parent Child Hierachy Drilldown (without including the hierachy column)
Hi I have a hierarchy with categories/subcategories, which goes into a table like this: Category Name Amount Top cat1 23 Top cat2 5 I want to use the Category Name column to drill down to the sub categories, so that if I click "Top cat1", the table w
-
HT204053 How do I link my accounts I have 2 accounts and can't sync my IPod with ITunes
How do I link 2 accounts in ITunes Store so I can sunk music I purchased?
-
Doing a Join on a Left Join on a different table.
I have this: from table1 t1 LEFT OUTER JOIN ON table2 t2 (t1.col1= t2.col1) I want to do a straight join on table2 to a third table (table3) on different columns. I know the old way is: from table1 t1, table2 t2, table3 t3 where table1.col1(+) = tabl
-
PHP script won't run in the background
Hi all Hope someone can help me with a weird issue I have... I am trying to run a php CLI script in the background and it just won't run - it has a status of Stopped SIGTOU (Trying to write output) - Here are the details OS Mac OS X Lion 10.7.2 PHP P
-
Error while initializing OIM from eclipse
Hi All, I am trying to connect OIM deployed on WAS 6.1 through eclipse. Connection is getting established but when I am calling finduser api getting error Below is the error: Exception in thread "P=727545:O=0:CT" java.lang.NullPointerException a