a guest Dec 18th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- SET ANSI_NULLS ON
- SET QUOTED_IDENTIFIER ON
- CREATE procedure [dbo].[_ExistsServiceOffRentItem]
- if( exists (select * from _Items with (nolock) where RefItemID in (select RefItemID from _RefRentItem where Service = 0 ) ) )
- return -1
RAW Paste Data