Viewing 11 posts - 556 through 566 (of 566 total)
Hi Jeff,
Thanks for the tip on the (max) vs. (8000)/(4000) nvarchar/varchar data types in these functions. When I implemented your new splitter function, I used nvarchar(4000), which covers our...
February 17, 2011 at 7:29 am
Sure. My multistatement table-valued function (below) is a WHILE loop that repeats as long as the string has any characters in it, finding the first occurrence of the delimiter, inserting...
February 16, 2011 at 7:49 am
Jeff Moden (2/14/2011)
Ok... the following function will pretty much blow the doors off of other splitter functions including some of my old ones.
WOW!!! That crash you just heard was...
February 14, 2011 at 1:46 pm
Sean Lange (2/10/2011)
I don't know that there is much way to combine this with the first one because the join conditions are different.
The OR operator is valid in JOIN conditions...
February 11, 2011 at 12:37 pm
When you insert data into a table, SQL Server stores the data based on the table definition and index structure, not on how you feed the data to it. Read...
February 2, 2011 at 3:31 pm
Sounds like you should look into FOR XML:
February 1, 2011 at 9:46 am
Hi Tom,
I see that we are on the same page. The only way I can make sense of Microsoft's nomenclature is to remember that I should use STDEVP when...
January 28, 2011 at 3:13 pm
I thought the P in STDEVP stood for "Population", so STDEVP would be the estimated Population Standard Deviation (obtained by applying Bessel's correction to the actual Sample Standard Deviation) and...
January 28, 2011 at 2:22 pm
What's going on here is that the STDEV() function in T-SQL returns the sample standard deviation (which for a single value will be undefined, hence the programmatically dictated NULL result)...
January 28, 2011 at 10:12 am
If I understand what you are trying to do correctly, you want to create a report with three required parameter values (@StartDate, @EndDate, @SurgeonName) and two optional parameter values (@Service,...
December 14, 2010 at 12:02 pm
A friend who does metalwork as a hobby often dreams of blasting society back to, if not the Stone Age, then at least to the mid-18th century, where he as...
October 29, 2010 at 2:55 pm
Viewing 11 posts - 556 through 566 (of 566 total)