码迷,mamicode.com
首页 > 数据库 > 详细

【SQL】语句鉴赏

时间:2016-08-23 16:34:16      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:

        Connection conn =DBUtil.getConnection();
        Statement st = conn.createStatement();
        
        String sql = "select "
                +" policy_no,"
                +" province_id,"
                +" province_name,"
                +" sale_id,"
                +" policy_address,"
                +" match_id,"
                +" matche_address,"
                +" match_probability "
                +" FROM beijing2 "
                +" into outfile ‘d:/temp/999.csv‘";
        System.out.println(sql);
        st.execute(sql);
    System.out.println("ok...");
    DBUtil.closeResource(conn, st);

 

【SQL】语句鉴赏

标签:

原文地址:http://www.cnblogs.com/vmkash/p/5799472.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!