You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.4 KiB
28 lines
1.4 KiB
USE [Vertragsverwaltung_20160404]
|
|
GO
|
|
/****** Object: StoredProcedure [dbo].[dt_getpropertiesbyid_vcs] Script Date: 02.12.2016 09:08:54 ******/
|
|
DROP PROCEDURE [dbo].[dt_getpropertiesbyid_vcs]
|
|
GO
|
|
/****** Object: StoredProcedure [dbo].[dt_getpropertiesbyid_vcs] Script Date: 02.12.2016 09:08:54 ******/
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER OFF
|
|
GO
|
|
create procedure [dbo].[dt_getpropertiesbyid_vcs]
|
|
@id int,
|
|
@property varchar(64),
|
|
@value varchar(255) = NULL OUT
|
|
|
|
as
|
|
|
|
set nocount on
|
|
|
|
select @value = (
|
|
select value
|
|
from dbo.dtproperties
|
|
where @id=objectid and @property=property
|
|
)
|
|
|
|
|
|
GO
|