这段java代码用存储过程怎么写:
public String function_A( String table_name , String obid ) { Statement stmt = null;
ResultSet rs = null; String sql = "select * from" + table_name+ "where OBID='"+obid+"'" ;
rs = stmt.executeQuery( sql ) ;
return rs.getString( "STUDENT_NAME" );
}
public String function_A( String table_name , String obid ) { Statement stmt = null;
ResultSet rs = null; String sql = "select * from" + table_name+ "where OBID='"+obid+"'" ;
rs = stmt.executeQuery( sql ) ;
return rs.getString( "STUDENT_NAME" );
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货