www.pudn.com > dblib_souce.rar > insertvalue.sql


--select * from test_dblib 
/* 
--insert into test_dblib (ch) values('ILOVE') 
DELETE FROM test_dblib WHERE ch='ILOVE' 
update test_dblib set _sint=456 
update test_dblib set _sdate=getdate() 
update test_dblib set _nvch = '我第一次听到地哟,是你的喊;我第一次看到地哟,是你的脸;' 
*/ 
insert into test_dblib(ch,vch, nch,_int,_bit,  
	_dec, _num, _mon, _flt, _sint, _smon, 
	 _real, _txt,  _tint, _date) 
values('MY',NULL,NULL,20,1, 
	2.3400,25.60,4567.1100,789.0,456,2.0000, 
	8.0,'我第一次听到地哟,是你的喊;我第一次看到地哟,是你的脸;',NULL,'2004-11-16 22:46:12') 
 
insert into test_dblib(ch,vch, nch,_int,_bit,  
	_dec, _num, _mon, _flt, _sint, _smon, 
	 _real, _txt,  _tint, _date) 
values('yao','wei','我爱Eclipse',20,10, 
	23400.56,85.97,2583.25,89.0,6500,200.00, 
	800.86,'我第一次偎着地哟,是你的胸口;我第一次熟悉地哟,是你的眼;',255,'2008-12-16 23:06:00') 
insert into test_dblib(ch,vch, nch,_int,_bit,  
	_dec, _num, _mon, _flt, _sint, _smon, 
	 _real, _txt,  _tint, _date) 
values('张尧','MS DTC 分布式事务测试','超人', NULL, NULL, 
	 NULL ,NULL, NULL, NULL ,456, NULL,  
	NULL,'我第一次爱上地人哦,领到你跟前;无论我走到哪里,总把你挂念;', NULL,'2004-11-16 22:46:12') 
 
 
insert into test_dblib(ch,vch, nch,_int,_bit,  
	_dec, _num, _mon, _flt, _sint, _smon, 
	 _real, _txt,  _tint, _date) 
values('yao','wei','我爱Eclipse',20,0, 
	23400.56,85.97,2583.25,89.0,6500,200.00, 
	800.86,'我们在编写Home 接口的时候必须注意到Home 接口是通过继承javax.ejb.EJBHome 接口来定义的EJBHome 接口, 
包含如下的方法: 
public void remove(Handle handle) throws java.rmi.RemoteException RemoveException; 
public void remove(java.lang.Object primaryKey) throws java.rmi.RemoteException,RemoveException; 
public EJBMetaData getEJBMetaData() throws java.rmi.RemoteException; 
public HomeHandle getHomeHandle() throws java.rmi.RemoteException; 
一个EJB 的Home 接口可以像下面的样子 
', 
	255,'2008-12-16 23:06:00') 
 
insert into test_dblib(ch,vch, nch,_int,_bit,  
	_dec, _num, _mon, _flt, _sint, _smon, 
	 _real, _txt,  _tint, _date, 
	_nvch,_sdate) 
values('张尧','MS DTC 分布式事务测试',NULL, NULL, NULL, 
	 NULL ,NULL, NULL, NULL ,456, NULL,  
	NULL,'我第一次爱上地人哦,领到你跟前;无论我走到哪里,总把你挂念;', NULL,'2004-11-16 22:46:12', 
	'连接到: Oracle8i Release 8.1.7.4.1 - Production ',getDate())