Home > Database > Mysql Tutorial > 测试分页记录时,可以用oracle循环插测试记录

测试分页记录时,可以用oracle循环插测试记录

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 14:58:06
Original
1037 people have browsed it

测试分页记录时,可以用oracle循环插测试记录 1.隔行中间是普通sql语句,i为外层循环id。 Oracle begin for i in 8..100 loopINSERT INTO "USER2"."FUN_STO_PRO" ("S_ID","AUDIT_STATUS","CREATE_TIME","UPDATE_USER","UPDATE_TIME")VALUES(i,'1','武敬淋',TO

测试分页记录时,可以用oracle循环插测试记录
1.隔行中间是普通sql语句,i为外层循环id。 Oracle
begin
   for i in 8..100 loop

		INSERT INTO "USER2"."FUN_STO_PRO" (
			"S_ID",
			"AUDIT_STATUS",
			"CREATE_TIME",
			"UPDATE_USER",
			"UPDATE_TIME"
		)
		VALUES
			(
				i,
				'1',
				'武敬淋',
				TO_DATE (
					'2015-06-25 18:48:21',
					'SYYYY-MM-DD HH24:MI:SS'
				),
				'武敬淋',
				TO_DATE (
					'2015-06-25 18:48:21',
					'SYYYY-MM-DD HH24:MI:SS'
				)
			);

   end loop;
end; 
Copy after login
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template