Sql server 在sql server中的表中插入值
sql-server
Sql server 在sql server中的表中插入值,sql-server,Sql Server,我在SQLServer中创建了一个表“records”,作为create table records(n
Sql server 在sql server中的表中插入值 sql-server Sql server 在sql server中的表中插入值,sql-server,Sql Server,我在SQLServer中创建了一个表“records”,作为create table records(name varchar(20),countvalue int);我使用下面的语句插入一条记录insert into records values('&name', &countvalue);此语句在countvalue处给我一个错误。错误是什么?您不需要&countValue之前mssql 在表中插入,我想您的意思是@countValuedeclare @countValue int 我在SQLServer中创建了一个表“records”,作为
我使用下面的语句插入一条记录
此语句在countvalue处给我一个错误。错误是什么? 您不需要&countValue之前,我想您的意思是@countValue
此外,如果需要分配名称,则必须使用此查询
(编辑:92站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |