in pl/sql you have to declare a variable. without declaring you cannot use that variable. and ofcourse you have to use the datatypes while declaring. may be it oracle datatype or user defined.