by Daphne Lin
10. 四月 2011 23:07
作者:鄭淑芬 精誠資訊 恆逸教育訓練中心 資深講師 傳回新增資料流水編號的預存程序-InsertProduct 以Northwind範例資料庫為例,如下預存程序InsertProduct會在新增一筆產品資料之後回傳這筆產品的流水編號: CREATE PROCEDURE InsertProduct ( @ProductName nvarchar(40),@UnitPrice money) AS INSERT INTO Products(ProductName, UnitPrice) VALUES(@ProductName, @UnitP...
[更多...]