Proc_UpdateBookByID.txt
上传用户:gooyliu
上传日期:2018-09-29
资源大小:5816k
文件大小:1k
源码类别:

.net编程

开发平台:

C#

  1. Create proc Proc_UpdateBookByID
  2.  @bookID nvarchar(50),
  3.  @bookName nvarchar(50),
  4.  @bookIndex nvarchar(50),
  5.  @bookTypeID INT, 
  6.  @author nvarchar(50),
  7.  @publish nvarchar(50),
  8.  @price money,
  9.  @pulishDate datetime,
  10.  @abstract ntext,
  11.  @keyword nvarchar(50)
  12. AS
  13.   update Book set bookName=@bookName,
  14.                   bookIndex=@bookIndex,
  15.                   bookTypeID=@bookTypeID,
  16.                   author=@author,
  17.                   publish=@publish,
  18.                   price=@price,
  19.                   publishDate=@pulishDate,
  20.                   abstract=@abstract,
  21.                   keyword=@keyword
  22.   where bookID=@bookID