- 博客(1)
- 资源 (7)
- 收藏
- 关注
原创 Hive 增减字段语句怎么写?
ALTER TABLE emp REPLACE COLUMNS( name string, dept string);如上语句,emp是要操作的hive 物理表;name ,dept是示例字段。
2021-09-13 17:55:05
100
flink in action ch1
flink in action manning ch1 .This book is about handling streaming data with Apache Flink. Every business is composed of
a series of events. Imagine a large retail store or public news site that is serving customers all
over the world; events are constantly being generated. What distinguishes a streaming system
from a batch system is that the event stream is unbounded or infinite from a system
perspective. Decision-makers need to analyze these streaming events together to make
business decisions
2018-07-13
big Data NATHAN MARZ with JAMES WARREN
Manning Publications Co. Development editors: Renae Gregoire, Jennifer Stout
20 Baldwin Road Technical development editor: Jerry Gaines
PO Box 761 Copyeditor: Andy Carroll
Shelter Island, NY 11964 Proofreader: Katie Tennant
Technical proofreader: Jerry Kuch
Typesetter: Gordan Salinovic
Cover designer: Marija Tudor
2018-07-03
jsp连接数据库代码
jsp连接数据库代码
testmysql.jsp如下:
<%@ page contentType="text/html;charset=gb2312"%>
<%@ page import="java.sql.*"%>
<html>
<body>
<%Class.forName("com.sybase.jdbc.SybDriver").newInstance();
String url =" jdbc:sybase:Tds:localhost:5007/tsdata";
//tsdata为你的数据库名
Properties sysProps = System.getProperties();
SysProps.put("user","userid");
SysProps.put("password","user_password");
Connection conn= DriverManager.getConnection(url, SysProps);
Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
String sql="select * from test";
ResultSet rs=stmt.executeQuery(sql);
while(rs.next()) {%>
您的第一个字段内容为:<%=rs.getString(1)%>
您的第二个字段内容为:<%=rs.getString(2)%>
<%}%>
<%out.print("数据库操作成功,恭喜你");%>
<%rs.close();
stmt.close();
conn.close();
%>
</body>
</html>
2009-03-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人