Viewing 15 posts - 871 through 885 (of 2,458 total)
I can't stand living in Chicago anymore so, yes! If I have to live in the Midwest, Chicago is the place to be but I don't want to live in...
April 4, 2016 at 7:01 pm
phingers (4/4/2016)
I have an SSIS package which emails data in XML file format to an external company on a regular basis.
They have requested that we allow them access to our...
April 4, 2016 at 1:29 pm
ben.brugman (4/4/2016)
Any other advises here about extending the 8K version ?
...Remark, I started this new thread because I think this subject of enlarging the capacity of the...
April 4, 2016 at 8:41 am
DesNorton (3/31/2016)
Alan.B (3/30/2016)
April 1, 2016 at 8:38 am
Ed Wagner (3/31/2016)
Alan.B (3/30/2016)
March 31, 2016 at 10:05 pm
ScottPletcher (3/31/2016)
Alan.B (3/30/2016)
Alan.B (3/30/2016)
ScottPletcher (3/30/2016)
Alan.B (3/30/2016)
ScottPletcher (3/30/2016)
Alan.B (3/29/2016)
Lastly, ditto the last Thursday of the month:
SET STATISTICS IO ON;
PRINT 'Old way:';
SELECT DISTINCT MAX([Date]) OVER (PARTITION BY [Year],[MonthName],[WeekdayName]) AS [Date]
FROM ...
March 31, 2016 at 7:40 pm
mceventphoto (3/31/2016)
Drew,I like your solution better. It is short and clean.
Thanks,
MC
Did you look at the Translate8K solution?
DECLARE @RandomString varchar(100) = '0123456789000';
SELECT dbo.Translate8K(@RandomString,'1234567890','ABCDEFGHI$');
-- Returns: $ABCDEFGHI$$$
March 31, 2016 at 3:27 pm
If you are just pulling out the email addresses this is certainly something that can be resolved with a simple splitter, CHARINDEX, PATINDEX and a couple other simple tricks. I'll...
March 31, 2016 at 10:47 am
Sergiy (3/30/2016)
1. Create a "translation" table:
CREATE TABLE #Mapping (
FromChar NCHAR(1) PRIMARY KEY,
ToChar NCHAR(1)
)
INSERT INTO #Mapping ( FromChar, ToChar )
SELECT 1, 'A'
UNION ALL
SELECT 2, 'B'
UNION ALL
SELECT...
March 31, 2016 at 10:08 am
Powershell is cool. I only worked with it once for about 10 weeks scripting out a SQL Server Install in the Google cloud using the Google SDK. As some people...
March 30, 2016 at 9:54 pm
This is the kind of thing that you can do with a Translate function (which T-SQL does not have). I generally don't like scalar UDFs but this guy is faster...
March 30, 2016 at 8:44 pm
Alan.B (3/30/2016)
ScottPletcher (3/30/2016)
Alan.B (3/30/2016)
ScottPletcher (3/30/2016)
Alan.B (3/29/2016)
Lastly, ditto the last Thursday of the month:
SET STATISTICS IO ON;
PRINT 'Old way:';
SELECT DISTINCT MAX([Date]) OVER (PARTITION BY [Year],[MonthName],[WeekdayName]) AS [Date]
FROM ...
March 30, 2016 at 8:14 pm
ScottPletcher (3/30/2016)
Alan.B (3/30/2016)
ScottPletcher (3/30/2016)
Alan.B (3/29/2016)
Lastly, ditto the last Thursday of the month:
SET STATISTICS IO ON;
PRINT 'Old way:';
SELECT DISTINCT MAX([Date]) OVER (PARTITION BY [Year],[MonthName],[WeekdayName]) AS [Date]
FROM dbo.itvf_CALENDAR('01/01/2014','12/31/2014')
WHERE...
March 30, 2016 at 1:34 pm
ScottPletcher (3/30/2016)
Alan.B (3/29/2016)
Lastly, ditto the last Thursday of the month:
SET STATISTICS IO ON;
PRINT 'Old way:';
SELECT DISTINCT MAX([Date]) OVER (PARTITION BY [Year],[MonthName],[WeekdayName]) AS [Date]
FROM dbo.itvf_CALENDAR('01/01/2014','12/31/2014')
WHERE ...
March 30, 2016 at 11:17 am
girl_bj (3/29/2016)
Is there any way that...
March 29, 2016 at 10:50 pm
Viewing 15 posts - 871 through 885 (of 2,458 total)