Viewing 15 posts - 346 through 360 (of 6,486 total)
Lynn Pettis (9/14/2016)
Eric M Russell (9/14/2016)
September 14, 2016 at 8:00 pm
xsevensinzx (9/13/2016)
Steve Jones - SSC Editor (9/13/2016)
You could do this in a header, but there's no enforcement. People make changes to procs, test them, make more changes, test, fix things,...
September 14, 2016 at 1:40 pm
Same comment for SSIS: it's straightforward to do, but you wouldn't be able to use temp tables for that.
September 14, 2016 at 9:57 am
Gary Varga (9/14/2016)
JoeS 3024 (9/12/2016)
September 14, 2016 at 9:52 am
ChrisM@Work (9/13/2016)
Jeff Moden (9/13/2016)
ChrisM@Work (9/13/2016)
Cache priming can make a very significant difference to batch delete times.
Curious... isn't that just moving the problem to something else? You still have...
September 13, 2016 at 10:06 am
Pivot-156509 (8/31/2016)
Next one: sorry, why do you search for -1?
select * from session_hist where sh_id=-1
SH_ID SH_USER_ID SH_GUID
-----------...
September 12, 2016 at 9:15 am
Just curious - why would you want a password hive with a SQL Server backend? seems counterintuitive to me (it's precisely what you wouldn't want IMO).
September 2, 2016 at 8:35 am
This should get you to the starting node:
with xmlnamespaces ('urn:schemas-microsoft-com:xml-msdata' as m,
'urn:schemas-microsoft-com:xml-diffgram-v1' as d)
select c.value('local-name(.)','varchar(100)') as datanodename
from XMLwithOpenXML
cross apply xmldata.nodes('//d:diffgram/ReportData') a(b)
cross apply b.nodes('*') b(c)
You should google SQLXML...
September 1, 2016 at 8:01 pm
jharvey6 76850 (8/30/2016)
August 31, 2016 at 1:13 pm
If you want precision sub-minute - then you need to not use smalldatetime. per BOL:
Defines a date that is combined with a time of day. The time is based...
August 31, 2016 at 1:07 pm
Well I've learned the hard way that when I run out of easy answers I need to check that my assumptions hold up 🙂 So mant times for me,...
August 31, 2016 at 8:15 am
That said - in the case you're showing, whether or not the actual output is ordered the same or not, the ROW_NUMER() is essentially ranking your sales folks by sales...
August 31, 2016 at 8:06 am
I noticed you didn't mention WHY it dies around 1.1M. If it gets that far before crashing I'd have to question if there's something odd in the file.
If there are...
August 30, 2016 at 7:53 pm
It's hard to make an intelligent recommendation without a couple of representative samples. If the elements are NAMED the same, but just in different parts of the structure -...
August 30, 2016 at 7:45 pm
This is all about setting up a "data-driven subscription".
It's been a while since I've had the pleasure of doing it but the basics are covered here:
August 30, 2016 at 12:10 pm
Viewing 15 posts - 346 through 360 (of 6,486 total)