|
Comments
|
|
Excellent examples, quick and clear, thanks!
|
|
|
perfect timing! I'm just getting started with UDFs, and these videos are a godsend. The TSQL gods (and JumpstartTV) were smiling on me this morning.
|
|
|
nice
|
|
|
Thanks for pointing out the helpful "generate months" UDF!
|
|
|
Thanks.
|
|
|
great!!
|
|
|
Good
|
|
|
I really appreciate what you provide. These videos are very helpful indeed. The only thing I would improve on is the server bandwidth. It can be frustrating to have to wait several times during a video for the server to catch up.
|
|
|
Good examples. Thanks.
|
|
Dennis Allen on
8/25/2010
I would like to know more about the consequences of using implicit table definitions verses explicit.
-- example of what I mean when I say implicit
CREATE FUNCTION dbo.DateRange( @min date, @max date )
RETURNS TABLE
AS RETURN
(
SELECT N+1 AS id, DateAdd( day, N, @min ) AS value
FROM dbo.Tally
WHERE N BETWEEN 0 AND DateDiff( day, @min, @max )
)
|
|
|
Excellent video!!! I didn’t know about the grant select … public it’s good to know.
|
|
|
Terrific presentation with practical applications...
|
|
|
execellent
|
|
|
Good video...it would be good if there is a way to access the sample code
|
|
|
Rich example.... Thanks.
|
|
David Overall on
10/31/2011
Great Tutorial on Multi-Statement UDf's!!!
|
|
chandrasekhar on
10/31/2011
very good video
|
|
|
great!
|
|
|
nicely done
|
|
Kevin Boles on
10/31/2011
People, DO NOT EVER USE SCALAR UDFS like this!!!! There are umpteen ways they screw you. They are NOT integrated into the optimizer/engine, they prevent getting good statistical estimates by optimizer, very often get row-by-row processing under the covers, statistics IO and graphical query plan from SSMS don't tell the truth about what is happening, void use of parallelism in query plan, etc.
In the past 5 years I have made more money fixing UDF problems at client than I have from any other single performance related problem! I also wrote a chapter for the SQL Server MVP Deep Dives 2 book entitled Death by UDF. If you think you want to use UDFs PLEASE read that chapter first!!
|
|
|
Pretty basic stuff, but I find user defined functions so helpful I give it a good+ rating. Hope others benefit from them.
|
|
|
Hard to hear sound
|
|
|
Hard to hear sound
|