dd_CM00100_SEL_byActindx

This is a very simple stored procedure, but I thought I'd blog it because it might be useful in the future. We sometimes need to get the checkbook ID attached to an account index, this sproc will provide that.

Related Articles

... and you 'll find more on the SQL (Dynamics) Menu

IF EXISTS (SELECT name
    FROM   sysobjects
    WHERE  name = N'dd_CM00100_SEL_byActindx'
        AND type = 'P')
    DROP PROCEDURE dd_CM00100_SEL_byActindx
GO
 
CREATE PROCEDURE dd_CM00100_SEL_byActindx
--  dd_CM00100_SEL_byActindx 2413
 
@actindx int
 
AS
 
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
 
select CHEKBKID
    from cm00100 cm
    where actindx = @actindx

RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences