
/***************************************
* STORED stp_PJQ_insert
*
* inserisce un job di stampa in tabella gestioen coda
*
* Steamware, S.E.L.
* mod: 2013.07.23
*
****************************************/
CREATE PROCEDURE stp_PJQ_insert
(
	@TipoCart VARCHAR(250),
	@UDC VARCHAR(50),
	@prtName VARCHAR(500)
)
AS

INSERT INTO PrintJobQueue(TipoCart, UDC, prtName, dtStart, dtLastTry, stato)
VALUES  (@TipoCart, @UDC, @prtName, GETDATE(), GETDATE(), 0)
