Viewing 15 posts - 391 through 405 (of 5,590 total)
Stephanie Giovannini (7/21/2015)
SQLRNNR (7/21/2015)
July 21, 2015 at 3:53 pm
Ed Wagner (7/21/2015)
WayneS (7/21/2015)
The Length is from the first numeric value to the first non-numeric value.
The Width is from...
July 21, 2015 at 12:00 pm
What we need to do here is to look at the patterns.
The Length is from the first numeric value to the first non-numeric value.
The Width is from the next numeric...
July 21, 2015 at 9:05 am
In looking through this, I see several logical problems with the query.
First, you are trying to have a row contain both database role and server role permissions. Why not have...
July 20, 2015 at 2:50 pm
Lynn Pettis (7/17/2015)
July 17, 2015 at 3:02 pm
MilesToGoBeforeISleep (7/17/2015)
July 17, 2015 at 2:58 pm
nidhi.naina (7/17/2015)
July 17, 2015 at 1:01 pm
jasona.work (7/17/2015)
GilaMonster (7/17/2015)
July 17, 2015 at 10:26 am
TheSQLGuru (7/15/2015)
I am very surprised that the XML_PATH is fastest. I always thought XML handling in SQL Server was horribly inefficient and bloated (especially from a memory-use perspective).
XML shredding is;...
July 15, 2015 at 8:59 am
I didn't notice it before, but that's not quite the code that I posted, which is (after modifying to varchar(30) as Steve suggested):
CREATE FUNCTION dbo._tTVFN_tEEst2 (@countryNr INT, @telNr NCHAR(30))
RETURNS TABLE
WITH...
July 15, 2015 at 8:56 am
sgmunson (7/15/2015)
Why NCHAR(30) instead of VARCHAR(30) ? For a phone number, it makes no sense to waste the extra byte per digit when you only need to account...
July 15, 2015 at 7:55 am
Eirikur,
I changed your (very nice) test harness to put the results into a temp table vs. using @CHAR_BUCKET. My results are:
T_TEXT ...
July 15, 2015 at 7:52 am
I'm glad that you can use it.
July 15, 2015 at 7:19 am
jbalbo (7/14/2015)
SELECT
ParentObject,
STUFF((SELECT ', ' + [View As] FROM dbo.Signatures t2 WHERE t2.ParentObject = t1.ParentObject FOR XML...
July 15, 2015 at 7:00 am
Raymond van Laake (7/15/2015)
I eventually came up with this based on older posts:
ALTER FUNCTION [dbo].[__fx_test] (@countryNr INT, @telNr NCHAR(30))
RETURNS...
July 15, 2015 at 6:53 am
Viewing 15 posts - 391 through 405 (of 5,590 total)