<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>microsoft.public.sqlserver.programming Google Group</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming</link>
  <description>Microsoft SQL Server newsgroup.</description>
  <language>en</language>
  <item>
  <title>Re: Interesting observation: new SQL time machine! :)</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/5f8c4d68af3bbfed/8be38e72b2ffb24c?show_docid=8be38e72b2ffb24c</link>
  <description>
  Actually, it might be more to it than just the difference in types. Some &lt;br&gt; time back I ran some performance tests, and my test procedures looked like &lt;br&gt; this: &lt;br&gt; DECLARE @start datetime2(3) &lt;br&gt; SELECT @start = sysdatetime() &lt;br&gt; &lt;p&gt; INSERT #Str_JOIN (wordno, guid) &lt;br&gt; SELECT u.wordno, u.guid &lt;br&gt; FROM usrdictwords u
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/5f8c4d68af3bbfed/8be38e72b2ffb24c?show_docid=8be38e72b2ffb24c</guid>
  <author>
  esq...@sommarskog.se
  (Erland Sommarskog)
  </author>
  <pubDate>Fri, 11 Nov 2009 23:02:34 UT
</pubDate>
  </item>
  <item>
  <title>Re: Interesting observation: new SQL time machine! :)</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/5f8c4d68af3bbfed/dbb4a31f74deff2e?show_docid=dbb4a31f74deff2e</link>
  <description>
  Interesting. &lt;br&gt; Change the datetime2 to a precision of 3 and you can see why the 1st value &lt;br&gt; can be greater than the 2nd. &lt;br&gt; Definite rounding issue.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/5f8c4d68af3bbfed/dbb4a31f74deff2e?show_docid=dbb4a31f74deff2e</guid>
  <author>
  s...@nospam.org
  (Jay)
  </author>
  <pubDate>Fri, 11 Nov 2009 22:47:39 UT
</pubDate>
  </item>
  <item>
  <title>Re: Why can&#39;t recursive queries contain...?</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/0fabc31ab3c8df84/14a6f300edd60844?show_docid=14a6f300edd60844</link>
  <description>
  Rather than using an UDA, you can use FOR XML PATH for this. Here is &lt;br&gt; an example: &lt;br&gt; select CustomerID, &lt;br&gt; substring(OrdIdList, 1, datalength(OrdIdList)/2 - 1) &lt;br&gt; -- strip the last &#39;,&#39; from the list &lt;br&gt; from &lt;br&gt; Customers c cross apply &lt;br&gt; (select convert(nvarchar(30), OrderID) + &#39;,&#39; as [text()]
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/0fabc31ab3c8df84/14a6f300edd60844?show_docid=14a6f300edd60844</guid>
  <author>
  esq...@sommarskog.se
  (Erland Sommarskog)
  </author>
  <pubDate>Fri, 11 Nov 2009 22:48:29 UT
</pubDate>
  </item>
  <item>
  <title>Re: Interesting observation: new SQL time machine! :)</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/5f8c4d68af3bbfed/f487989dbedda52a?show_docid=f487989dbedda52a</link>
  <description>
  Thanks for the correction and explanation. &lt;br&gt; Your example shows that the GETDATE() function crosses boundaries only &lt;br&gt; after that specific time is reached. In other words, it will not return &lt;br&gt; &#39;14:00:25.923&#39; until it actually is 14:00:25.923000. &lt;br&gt; I find that peculiar. I would argue that it is not correct. If the
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/5f8c4d68af3bbfed/f487989dbedda52a?show_docid=f487989dbedda52a</guid>
  <author>
  sorrytoomuchspamalre...@xs4all.nl
  (Gert-Jan Strik)
  </author>
  <pubDate>Fri, 11 Nov 2009 22:45:34 UT
</pubDate>
  </item>
  <item>
  <title>Re: Interview question...</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/49046188c32d950a/c39065b8753b9aca?show_docid=c39065b8753b9aca</link>
  <description>
  I think the important part is that the candidate understands the context. &lt;br&gt; If he understands that he may be supposed to ask, it is likely that he &lt;br&gt; will. But if he thinks that the questions are meant to have one correct &lt;br&gt; answer, he would also believe that asking questions may lower his ranking. &lt;br&gt; And, mind you, not all people asking questions, know what they are asking
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/49046188c32d950a/c39065b8753b9aca?show_docid=c39065b8753b9aca</guid>
  <author>
  esq...@sommarskog.se
  (Erland Sommarskog)
  </author>
  <pubDate>Fri, 11 Nov 2009 22:33:37 UT
</pubDate>
  </item>
  <item>
  <title>Re: Weekdays</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/a3cd1a9e8c17fdce/f7ea8b9867f899f1?show_docid=f7ea8b9867f899f1</link>
  <description>
  I&#39;m not sure what the tutorial was trying to demonstrate. But, yes, IMO &lt;br&gt; that would be a very bad way to get that result set in a production &lt;br&gt; environment. Very Inefficient. &lt;br&gt; Tom
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/a3cd1a9e8c17fdce/f7ea8b9867f899f1?show_docid=f7ea8b9867f899f1</guid>
  <author>
  tomcoo...@comcast.net
  (Tom Cooper)
  </author>
  <pubDate>Fri, 11 Nov 2009 21:41:48 UT
</pubDate>
  </item>
  <item>
  <title>Re: Weekdays</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/a3cd1a9e8c17fdce/7195f4948a18fcd0?show_docid=7195f4948a18fcd0</link>
  <description>
  As a demo it does illustrate the use of DATEFIRST, DATEPART, and DATENAME. &lt;br&gt; That said, I wouldn&#39;t put this in production code. You&#39;re performing a &lt;br&gt; DISTINCT query against the Sales.SalesOrderHeader, which may contain many &lt;br&gt; millions of rows which would make this query inefficient. Additionally &lt;br&gt; Sales.SalesOrderHeader could contain less than 7 rows, in which case you&#39;ll
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/a3cd1a9e8c17fdce/7195f4948a18fcd0?show_docid=7195f4948a18fcd0</guid>
  <author>
  ad...@geocodenet.com
  (Michael Coles)
  </author>
  <pubDate>Fri, 11 Nov 2009 21:36:26 UT
</pubDate>
  </item>
  <item>
  <title>Weekdays</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/a3cd1a9e8c17fdce/bd076d04b8feb7e5?show_docid=bd076d04b8feb7e5</link>
  <description>
  I&#39;m going through a tutorial and found they are using the following code: &lt;br&gt; SET DATEFIRST 1; &lt;br&gt; SELECT DISTINCT &lt;br&gt; DATEPART(weekday, S.OrderDate) as WeekDayNumber, &lt;br&gt; DATENAME(weekday, S.OrderDate) as Weekday &lt;br&gt; FROM Sales.SalesOrderHeader S &lt;br&gt; Order by WeekDayNumber &lt;br&gt; It returns: &lt;br&gt; 1 Monday &lt;br&gt; 2 Tuesday
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/a3cd1a9e8c17fdce/bd076d04b8feb7e5?show_docid=bd076d04b8feb7e5</guid>
  <author>
  s...@nospam.org
  (Jay)
  </author>
  <pubDate>Fri, 11 Nov 2009 21:12:10 UT
</pubDate>
  </item>
  <item>
  <title>Re: Why can&#39;t recursive queries contain...?</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/0fabc31ab3c8df84/84e60726ab1b6a43?show_docid=84e60726ab1b6a43</link>
  <description>
  There you go Michael C, Jeffrey has your OODBMS that surfaces procedural &lt;br&gt; C#/.NET/LINQ as its native language, handles hierarchical data with the &lt;br&gt; greatest of ease, efficiently returns objects to the client without having &lt;br&gt; to deal with all those &amp;quot;squares&amp;quot;, and automatically optimizes queries &lt;br&gt; without requiring you to define &amp;quot;indexes&amp;quot; or performing other administrative
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/0fabc31ab3c8df84/84e60726ab1b6a43?show_docid=84e60726ab1b6a43</guid>
  <author>
  ad...@geocodenet.com
  (Michael Coles)
  </author>
  <pubDate>Fri, 11 Nov 2009 20:58:08 UT
</pubDate>
  </item>
  <item>
  <title>Re: How costly is it to use BCP or OPENROWSET to create Excel file</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/7f3a44cab793cb07/01f0d6a744a04588?show_docid=01f0d6a744a04588</link>
  <description>
  Thank you both very much for your help. Been very helpful.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/7f3a44cab793cb07/01f0d6a744a04588?show_docid=01f0d6a744a04588</guid>
  <author>
  s...@discussions.microsoft.com
  (Sam)
  </author>
  <pubDate>Fri, 11 Nov 2009 20:43:02 UT
</pubDate>
  </item>
  <item>
  <title>Re: Why can&#39;t recursive queries contain...?</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/0fabc31ab3c8df84/3d27b6e414e52632?show_docid=3d27b6e414e52632</link>
  <description>
  As I replied on another branch - I actually think his dream already exists. &lt;br&gt; I know that everything he is asking for is already available from &lt;br&gt; Intersystems Cache.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/0fabc31ab3c8df84/3d27b6e414e52632?show_docid=3d27b6e414e52632</guid>
  <author>
  jeff.williams3...@verizon.net
  (Jeffrey Williams)
  </author>
  <pubDate>Fri, 11 Nov 2009 20:26:24 UT
</pubDate>
  </item>
  <item>
  <title>Re: Why can&#39;t recursive queries contain...?</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/0fabc31ab3c8df84/6dcb1c08d24794a9?show_docid=6dcb1c08d24794a9</link>
  <description>
  If you really think you want an OODBMS or Hierarchical DBMS which also has &lt;br&gt; capabilities to utilize SQL you might want to take a look at Intersystems &lt;br&gt; Cache. It does all of the above and is an Enterprise class system that can &lt;br&gt; also run on various hardware platforms. &lt;br&gt; You have the options of accessing data as objects, or running queries using
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/0fabc31ab3c8df84/6dcb1c08d24794a9?show_docid=6dcb1c08d24794a9</guid>
  <author>
  jeff.williams3...@verizon.net
  (Jeffrey Williams)
  </author>
  <pubDate>Fri, 11 Nov 2009 20:24:33 UT
</pubDate>
  </item>
  <item>
  <title>Re: How costly is it to use BCP or OPENROWSET to create Excel files?</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/7f3a44cab793cb07/527bada9b8f40652?show_docid=527bada9b8f40652</link>
  <description>
  Agree with John, you probably want to use SSIS to export data directly to &lt;br&gt; Excel. As part of your SSIS package you can move the XLS file over to &lt;br&gt; another directory/server after the export.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/7f3a44cab793cb07/527bada9b8f40652?show_docid=527bada9b8f40652</guid>
  <author>
  ad...@geocodenet.com
  (Michael Coles)
  </author>
  <pubDate>Fri, 11 Nov 2009 19:39:59 UT
</pubDate>
  </item>
  <item>
  <title>Re: Why can&#39;t recursive queries contain...?</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/0fabc31ab3c8df84/f80614782a58e42b?show_docid=f80614782a58e42b</link>
  <description>
  Absolutely, and so do hierarchical DBMS&#39;s, which would solve his issues with &lt;br&gt; the limitations on hierarchical data inherent in the relational/SQL model. &lt;br&gt; I don&#39;t know why OODBMS&#39;s haven&#39;t caught on outside of specialized &lt;br&gt; applications either -- maybe they&#39;re inferior in some respects, could be an &lt;br&gt; issue of support, or it might just be good old-fashioned marketing? Either
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/0fabc31ab3c8df84/f80614782a58e42b?show_docid=f80614782a58e42b</guid>
  <author>
  ad...@geocodenet.com
  (Michael Coles)
  </author>
  <pubDate>Fri, 11 Nov 2009 19:27:18 UT
</pubDate>
  </item>
  <item>
  <title>Re: IDENTITY_INSERT</title>
  <link>http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/a5ddc75da91b6633/c24101c8b0cdfb2f?show_docid=c24101c8b0cdfb2f</link>
  <description>
  Thanks Tom. A big help as usual!
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/microsoft.public.sqlserver.programming/browse_thread/thread/a5ddc75da91b6633/c24101c8b0cdfb2f?show_docid=c24101c8b0cdfb2f</guid>
  <author>
  nospamagi...@newsgroup.nospam
  (AG)
  </author>
  <pubDate>Fri, 11 Nov 2009 19:21:25 UT
</pubDate>
  </item>
  </channel>
</rss>
