Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Browse by Tags · View All
SQL Server 119
#SQLServer 88
Oracle 70
#SQL SERVER 35
BRH 31
SQL Server 2012 29
denali 23
#TSQL 19
TSQL 19
C# 15

Archive · View All
October 2011 31
November 2011 30
September 2011 30
August 2011 18
December 2011 15
July 2011 13
June 2011 8
May 2012 4
April 2012 3
January 2010 3

Day 48: Bin_To_Num function of Oracle

Oct 31 2011 11:22PM by Niladri Biswas   

Let Us Learn Oracle - Part 48 of N [ Bin_To_Num Function of Oracle 10g ]

Purpose: This function converts a bit vector to it's corresponding numeric value

Syntax: Bin_To_Num(value1,value2,value3...,valueN)

Where,

value1,...valueN => are the bit vectors which can have either 0 or 1.

SQL> Select Bin_To_Num(0,1,0,1) Example1,Bin_To_Num(1,1,1,1) Example2
  2  From Dual;

  EXAMPLE1   EXAMPLE2
---------- ----------
         5         15

It is quite simple to understand

8 4 2 1 Result
0 1 0 1 0+4+0+1 = 5
1 1 1 1 8+4+2+1 = 15

Hope it was useful.Thanks for reading

Tags: SQL Server, Oracle, #SQL SERVER,


Niladri Biswas
7 · 21% · 6710
1
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

"Day 48: Bin_To_Num function of Oracle" rated 5 out of 5 by 1 readers
Day 48: Bin_To_Num function of Oracle , 5.0 out of 5 based on 1 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]