sqlserver存储过程建表 插入数据报错 菜鸟问题,求解!!
农村的我 2014-12-22 11:39:45 现在在存储过程中:
.....
件表A
CREATE TABLE A(
PtID varchar(64) primary key,
GatherTimer datetime);
insert into A(PtID,GatherTimer) select PtID,GatherTimer frome B;
--功能仅仅是实现:创建A表的同时将B表中的PtID与GatherTimer字段值拷贝到A表中,现在这么写总提示:"insert into A(PtID,..."有问题,找不到PtID,菜鸟求大神前辈解答,在线等!!!