问答题

已知数据表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")  
’接收到的密码 
%>


您可能感兴趣的试卷

你可能感兴趣的试题

9.单项选择题在记录集对象中,可用于指定每页记录数的属性是()

A.PageSize
B.PageCount
C.CacheSize
D.MaxRecords