
格式问题很昌碰严重!还有创戚迅冲建表的时候最好不要弄关键字!就算高歼创建成功,到时用select也不方便!查找的时候时候必须用"[]"中括号将关键字括起来!
你的格式念拦掘 错仔核了 建表时的格式 字段 数衡茄据类型
create table events( id bigint not null primary key, title varchar(50), date smalldatetime)
你把字差枣段名称和类型衫埋全部都写反了虚塌拆.应该是:
create table events(id bigint not null primary key,title varchar(50) ,date smalldatetime , )
date 本身就是关键字 改成 mudate 试试