---
title: "PL/SQL DEVELOPER command windows"
author: "winzenghua"
date: "2009-09-04T11:41:00Z"
tags: []
slug: "pl-sql-developer-command-windows"
draft: false
lastmod: "2009-09-04T11:41:00Z"
id: 987859
url: "https://java4gis.iteye.com/blog/987859"
---

set serveroutput on --开启信息输出  
declare  
i number;  
disday Date;  
begin  
for i in 1..5 loop  
select to\_date('2009-08-30','yyyy-mm-dd')+i Into disday from dual;  
dbms\_output.put\_line(disday);  
end Loop;  
End;  
/ --执行代码块