输入banner图图片脚本导航/分类

SQL 零碎点

1,插入数据后,返回主键ID值:

INSERT INTO tablename (name) VALUES (@name);SELECT @@Identity;

使用 SELECT @@Identity; ADO.NET操作的时候用 SQLCommand.ExecuteScalar()

SQL 零碎点

标签:.exe   ide   val   com   插入数据   cut   插入   sele   返回