已知数据表Student存储在SQL Server服务器的School数据库中,用户名为sa,密码为xyz123,创建student数据表的命令为: CREATE TABLE Student ( SName varchar(20) Primary Key Not NULL, SPwd Varchar(15) Not NULL ) 试根据下面的代码使用命令对象完成在student数据表中插入一条记录。 <% tname = Request.Form("txtName") ’接收到的用户名 tpwd = Request.Form("txtPwd") ’接收到的密码 %>
出自:国家开放大学《网络编程技术》