Viewing 4 posts - 1 through 4 (of 4 total)
It seems I had a small bug in the udf code I posted. The return statement of the udf should be RETURN VARCHAR(4000) instead of just RETURN VARCHAR. ...
November 6, 2008 at 8:59 am
If you don't mind using a user defined function, you could create one like this:
CREATE FUNCTION dbo.udf_ClaimDenialReasons
(
@ClaimId INT
)
RETURNS VARCHAR
AS
BEGIN
DECLARE @Description...
November 5, 2008 at 10:06 am
You can use dynamic sql like:
ALTER PROCEDURE spTotalCompraIdiomaLibro @Idioma varchar(20), @año varchar(10)
AS
BEGIN
DECLARE @Some_Sql VARCHAR(8000)
SET @Some_Sql =
...
October 2, 2008 at 10:00 am
Mick,
You just need to add an additional where clause that checks the column value equal to either of the passed in values. That would prevent the update statement from...
August 28, 2008 at 10:55 am
Viewing 4 posts - 1 through 4 (of 4 total)