我的照片表是
Column Name Data Type Constraint
PhotoID Int Primary key,auto increment
PhotoName Varchar(100)
ExtName Varchar(100)
PhotoType Varchar(100)
PhotoSize Int
TempleID Int Foreign key with templeinfo
而插入过程是
create proc [dbo].[prcTemplePhoto]
(
@PhotoN