这里面包含了一百多个JAVA源文件

源代码在线查看: e300. deleting an object type from an oracle table.txt

软件大小: 551 K
上传用户: maple_78
关键词: JAVA
下载地址: 免注册下载 普通下载 VIP

相关代码

				This example deletes the OBJECTs and tables created in e296 Creating an OBJECT Type in an Oracle Database. 
				    try {
				        // Create a statement
				        Statement stmt = connection.createStatement();
				    
				        // Drop table object1_table and types object1 and object2
				        stmt.execute("DROP TABLE object1_table");
				        stmt.execute("DROP TYPE object1 FORCE");
				        stmt.execute("DROP TYPE object2 FORCE");
				    } catch (SQLException e) {
				        // A drop statement will throw an exception if the table or type does not exist
				    }
				
							

相关资源