M o v e to O ra c le D a ta b a s e 1 1 g â T h e w h o le S to ry
M o v e to O ra c le D a ta b a s e 1 1 g â T h e w h o le S to ry
M o v e to O ra c le D a ta b a s e 1 1 g â T h e w h o le S to ry
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Post Upg<strong>ra</strong>de Task – time zone<br />
Only in 11g Re<strong>le</strong>ase 2<br />
• Adjust time zone da<strong>ta</strong> in the da<strong>ta</strong>base <strong>to</strong> DST V11 or higher:<br />
s<strong>ta</strong>rtup upg<strong>ra</strong>de<br />
exec dbms_dst.begin_upg<strong>ra</strong>de(new_version => 14);<br />
shutdown immediate;<br />
s<strong>ta</strong>rtup;<br />
set serveroutput on;<br />
declare<br />
num_of_failures number;<br />
begin<br />
dbms_dst.upg<strong>ra</strong>de_da<strong>ta</strong>base(num_of_failures);<br />
dbms_output.put_line(num_of_failures);<br />
dbms_dst.end_upg<strong>ra</strong>de(num_of_failures);<br />
dbms_output.put_line(num_of_failures);<br />
dbms_output.put_line(num_of_failures);<br />
end;<br />
end;<br />
/<br />
/<br />
• For more information see the Globalization Doc:<br />
http://download.o<strong>ra</strong>c<strong>le</strong>.com/docs/cd/E11882_01/server.112/e10729/ch4datetime.htm#NLSPG261<br />
© 2010 O<strong>ra</strong>c<strong>le</strong> Corpo<strong>ra</strong>tion 37