📄 e245. creating a database table.txt
字号:
This example creates a table called my_table with one column, col_string, which holds strings.
try {
Statement stmt = connection.createStatement();
// Create table called my_table
String sql = "CREATE TABLE my_table(col_string VARCHAR(254))";
stmt.executeUpdate(sql);
} catch (SQLException e) {
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -