Home » SQL & PL/SQL » SQL & PL/SQL » regarding Name-in and copy built-ins
regarding Name-in and copy built-ins [message #22836] Thu, 31 October 2002 20:33 Go to next message
Raj
Messages: 411
Registered: November 1998
Senior Member
Hi,
Can anybody send me examples of Name_In and copy built ins?Thanx in advance
regards,
Raj
Re: regarding Name-in and copy built-ins [message #22844 is a reply to message #22836] Fri, 01 November 2002 05:49 Go to previous message
balu
Messages: 23
Registered: March 2001
Junior Member
Hai,

I will explain those two things with a small
example

declare
lvname varchar2(21);
test number;
l number;
begin
:global.test:=10;
lvname:='global.test';
L:=to_number(name_in(lvname));
message('The value OF L IS'||L);
copy(20,lvname);
message('The value OF GLOBAL.TEST IS '||:GLOBAL.TEST);
end;

The output for the above pl-sql is
The value of L is 10
The value of global.test is 20

I think from the above example, u can clearly
understand the functions of name_in and copy

If u still have doubt, ask me I will explain in depth.

With luv,
Balamurugan.R
Previous Topic: how to tokenise a varchar or string
Next Topic: HELP NEEDED!COUNT()??-----URGENT!!!!
Goto Forum:
  


Current Time: Mon Apr 29 01:11:56 CDT 2024