Viewing 15 posts - 46 through 60 (of 268 total)
In case anyone missed it, here's a good article on the (non) dangers of xp_cmdshell:
Tech Corner: xp_cmdshell isn’t evil[/url]
by Jennifer McGowan
September 16, 2016 at 9:13 am
It's really a pity that Microsoft abandoned IronPython and pushed PowerShell (even though I can't confirm that the two decisions were coupled in any way). The former is still...
September 6, 2016 at 11:10 am
One thing that seems to be sometimes overlooked is system databases -- specifically agent jobs in msdb but also IS packages for non-SSISDB packages. Then there are SSISDB, MDS...
August 24, 2016 at 2:50 pm
FWIW:
DECLARE @i VARBINARY = 0x0005432345544
select LEFT(@i, 3), LEFT(CONVERT(VARCHAR(64),@i),3), LEFT(CONVERT(VARCHAR(64),@i,1),3), LEFT(CONVERT(VARCHAR(64),@i,2),3)
produced:
(No column name) (No column name) (No column name) (No column name)
...
February 9, 2016 at 7:11 am
trimjib (11/2/2015)
November 2, 2015 at 12:48 pm
OFFSET/FETCH is the prefered method for pagination, I believe
November 2, 2015 at 7:18 am
We usually build a zip file with folders holding the package and a deployment script that uses the dtutil command. The prod DBA just has to unzip the...
September 25, 2015 at 8:02 am
Its a bit more than a few, but just a bit! Its actually a pity we can't use F# for scripting (yet!) It would be substantially less code.
The other...
October 12, 2014 at 12:55 pm
I just executed this against the AdventureWorks2012 database hosted by RedGate on Azure. I got one row. Changing the UNION to UNION ALL, I get:
(No column name)(No column...
September 29, 2014 at 8:04 am
I'm using the splitter (just downloaded the zip file) and noticed something odd. Dunno if its just me, but check this out:
select * from dbo.[DelimitedSplit8K](' ', ' ') split...
September 3, 2014 at 12:24 pm
Like many things, "It depends".
Are the sps in the special db used across many databases? ==> keep 'em together (maybe even in master/programmability/stored procedures)
Are there sps in the special db...
August 27, 2014 at 11:01 am
The question asks, "What happens", yet one of the "correct" answers is that we need to change the variable and replicate lengths. At the risk of being pedantic, this...
August 27, 2014 at 6:01 am
Please post CREATE TABLE statements for all the tables involved, some sample data for each as INSERT INTO statements, and the output you want to see from your join.
August 22, 2014 at 8:33 am
I don't think that's a Cartesian product. If it were, you would have 89 (8*10) rows of ouput.
A CROSS JOIN would give you a Cartesian Product
August 22, 2014 at 8:32 am
Viewing 15 posts - 46 through 60 (of 268 total)