Viewing 6 posts - 1 through 6 (of 6 total)
DROP TABLE IF EXISTS dbo.please_remove;
GO
CREATE TABLE dbo.please_remove (
first_col int NOT NULL
);
GO
INSERT INTO dbo.please_remove
(first_col)
VALUES
(1);
GO
CREATE OR ALTER FUNCTION [dbo].[itv_fn_please_remove] (@id int)
RETURNS TABLE
WITH SCHEMABINDING AS
RETURN (
SELECT @id AS...
June 19, 2020 at 8:46 am
Hi David. Thanks for pointing that out and as you mentioned, schemabinding will prevent changes to the underlying objects, rather than the function. A better BOL definition can be found...
June 19, 2020 at 8:42 am
Thank you Jeff and also, thank you for pointing out that you can certainly call a stored procedure within a function.
I ran the following script on my Dev machine...
January 23, 2019 at 7:36 am
Thanks Eirikur. Hope you found it useful.
January 22, 2019 at 12:44 pm
Glad you found it easy to understand sqlfriends. Thank you.
January 22, 2019 at 11:15 am
Thank you <a title="Go to ChrisM@Works.
January 22, 2019 at 11:13 am
Viewing 6 posts - 1 through 6 (of 6 total)