Microsoft
Software
Hardware
Network
Question : using same variable name multiple times
generally, is it safe to keep reusing same variable other contexts.
for example
declare abc number;
begin
........
code #1
end;
declare abc number;
begin
........
code #2
end;
will the end of the first block refresh/clear out the variable abc and keep it usable for the second round? is this good programming practice?
thanks
Answer : using same variable name multiple times
Hi,
Yes, the two variables are in different blocks, so they are different.
Regards,
Franck.
Random Solutions
sql query help
Facing issues in OCS federation..
Using jqzoom (jquery)
DHCP Client wont AutoStart
How to export data from Sql server to text or xml file using SSIS
Script to enable folder auditing
SQL Substr Order
Cisco VTY Access to particular line number
How to determine eclipse version?
asp.net SQL Filestream access is denied