MDingler,
My friend, it is possible to use dbo.***** for inParameter/s. Since i am into UDF and not much into stored procedure, this is how i do it with UDF.
================================================== =============
Please execute this with caution this is dangerous. just get the idea and NEVER EXECUTE THIS!!!!!!!!!!!!!!!!!!!!!
================================================== =============
--The following is the CREATE FUNCTION script for udf_Func_UndocSystemUDFText
--It's commented out to prevent accidental creation.
CREATE FUNCTION dbo.udf_Func_UndocSystemUDFText
(
@FunctionName sysname --name of the function
)
RETURNS @Script TABLE --text of the function
([text] varchar(4000)) --a line of text
--No SCHEMABINDING due to the use of system tables
--Returns the text of an undocumented system user-defined function.
--This function can only be used in the master database, where the text
--of the undocumented UDFs is stored.
AS
BEGIN
DECLARE @objectID int
SELECT @objectID = id
FROM sysobjects
WHERE (type=N'FN' or type=N'IF or type = N'TR')
AND name = @FunctionName
INSERT INTO @Script
SELECT [text]
FROM syscomments
WHERE id = @objectID
RETURN
END
================================================== =============
In your case use @SP_Name instead of @FunctionName... Again, use this as reference and do it with caution!!!!!!!!!!!!!
#9562;Ã{ôÆ#9573;#9500;
|