关于MsSQL存储过程语法的疑问 存储过程如下:
USE [Flowmaster]
GO
/****** Object: StoredProcedure [dbo].[dt_adduserobject] Script Date: 12/05/2013 11:40:40 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
/*
** Add an object to the dtproperties table
*/
ALTER procedure [dbo].[dt_adduserobject]
as
set nocount on
/*
** Create the user object if it does not exist already
*/ [color=#FF0000]begin transaction
insert dbo.dtproperties (property) VALUES ('DtgSchemaOBJECT')
update dbo.dtproperties set objectid=@@identity
where id=@@identity and property='DtgSchemaOBJECT'
commit
return @@identity[/color]
求解释红色字体的几句的意思。dbo.dtproperties是什么意思?'DtgSchemaOBJECT'是什么意思?objectid,id,以及property又是什么呢?以及以上几者之间的关系。我是初学者,请讲的详细一些,谢谢!如果懒得敲给个链接我自己看也行,谢谢!