Viewing 15 posts - 6,061 through 6,075 (of 8,761 total)
Played around a little with the application of short-circuiting and ended up with something close to what I normally use for multi-statement table value functions, 15% improvement on this particular...
March 10, 2015 at 6:59 am
rodjkidd (3/9/2015)
Eirikur Eiriksson (3/9/2015)
Grant Fritchey (3/9/2015)
And, I got to meet Gianluca and Eirikur for the very first time. Total pleasure gentlemen. By the way,...
March 10, 2015 at 2:26 am
dwain.c (3/10/2015)
March 10, 2015 at 1:50 am
Very interesting Dwain, and works perfectly in your test harness, maybe I need more coffee in the morning but when I plug this into my normal harness the results are...
March 10, 2015 at 12:37 am
Quick suggestion, slightly more efficient at least for this data set
😎
USE tempdb;
GO
declare @myXML XML = '<CustomerMatchings>
<CustomerRecord CustomerId="10600">
<MatchingSetId>11</MatchingSetId>
<MatchingSetId>13</MatchingSetId>
<MatchingSetId>18</MatchingSetId>
<MatchingSetId>23</MatchingSetId>
<MatchingSetId>24</MatchingSetId>
<MatchingSetId>25</MatchingSetId>
<MatchingSetId>28</MatchingSetId>
<MatchingSetId>29</MatchingSetId>
</CustomerRecord>
<CustomerRecord CustomerId="10700">
<MatchingSetId>47</MatchingSetId>
<MatchingSetId>49</MatchingSetId>
<MatchingSetId>50</MatchingSetId>
<MatchingSetId>53</MatchingSetId>
<MatchingSetId>54</MatchingSetId>
<MatchingSetId>55</MatchingSetId>
<MatchingSetId>57</MatchingSetId>
<MatchingSetId>58</MatchingSetId>
<MatchingSetId>62</MatchingSetId>
<MatchingSetId>63</MatchingSetId>
<MatchingSetId>65</MatchingSetId>
<MatchingSetId>66</MatchingSetId>
</CustomerRecord>
</CustomerMatchings>'
DECLARE @RecvMessages TABLE (id INT...
March 9, 2015 at 12:46 pm
Grant Fritchey (3/9/2015)
And, I got to meet Gianluca and Eirikur for the very first time. Total pleasure gentlemen. By the way, Gianluca is a...
March 9, 2015 at 12:20 pm
zach_john (3/6/2015)
Any experts out there that can speak to Fuzzy logic improvements or changes in SQL Server since 2008 R2? I can't find anything that mentions improvements....
March 9, 2015 at 5:16 am
Quick suggestion, do this instead
😎
USE master;
GO
IF (SELECT
SD.compatibility_level
FROM sys.databases SD
WHERE SD.name = N'mydatabase'
...
March 8, 2015 at 3:57 pm
Quick thoughts, don't use TEXT, use VARCHAR(MAX) or NVARCHAR(MAX) instead,
BOL: ntext , text, and image data types will be removed in a future version of Microsoft SQL Server. Avoid...
March 8, 2015 at 3:52 pm
Just chipping in a little bit, one of the bigger annoyances when importing data from Excel spreadsheets is the lack of metadata functions/view, think thousands of files with a time...
March 8, 2015 at 2:42 pm
Great meeting you all, Ola, Erland, Itzik, Grant, Rodders, Gail, Dejan and and all the others, missed Steve although I did catch a glimpse captain America, looking forward to the...
March 6, 2015 at 5:00 pm
krypto69 (3/6/2015)
I have a statement that I'm having trouble converting:
select * from emails join InternalContacts On emails.EmailAddress = InternalContacts.EmailID
When I run this I get -
Conversion failed when converting the...
March 6, 2015 at 9:51 am
Has everyone picked the costume for tonight?
:smooooth:
March 6, 2015 at 8:27 am
Quick thought, the difference is mainly that the first code snip implies a group by which translates to a distinct aggregation of each set members by group, the over clause...
March 6, 2015 at 8:26 am
Viewing 15 posts - 6,061 through 6,075 (of 8,761 total)