<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlserver.ro/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Question of the Day</title><link>http://sqlserver.ro/forums/17/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: QOD 2006-10-12</title><link>http://sqlserver.ro/forums/thread/779.aspx</link><pubDate>Mon, 06 Nov 2006 18:24:37 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:779</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/779.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=17&amp;PostID=779</wfw:commentRss><description>Specificatia N este folosita pentru a specifica faptul ca sirul care urmeaza este UNICODE.</description></item><item><title>Re: QOD 2006-10-12</title><link>http://sqlserver.ro/forums/thread/774.aspx</link><pubDate>Mon, 06 Nov 2006 17:16:26 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:774</guid><dc:creator>crestinul</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/774.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=17&amp;PostID=774</wfw:commentRss><description>&lt;p&gt;Imi puteti spune va rog care e semnificatia &amp;quot;N&amp;quot; din dreapta =?&lt;/p&gt;&lt;p&gt;Multumesc&lt;/p&gt;</description></item><item><title>Re: QOD 2006-10-12</title><link>http://sqlserver.ro/forums/thread/407.aspx</link><pubDate>Tue, 17 Oct 2006 06:51:29 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:407</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/407.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=17&amp;PostID=407</wfw:commentRss><description>&lt;p&gt;You can filter for a specific database using the following code sample:&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;SELECT &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;TOP 1&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;* &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;FROM msdb..restorehistory&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;WHERE destination_database_name = N&amp;#39;AdventureWorks&amp;#39;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;AND TYPE = &amp;#39;D&amp;#39; &lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;ORDER BY restore_date DESC&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;-- Type D stands for database&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;-- Other types: F = File, G = Filegroup, I = Differential &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;-- L = Log, V = Verifyonly, R = Revert&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: QOD 2006-10-12</title><link>http://sqlserver.ro/forums/thread/400.aspx</link><pubDate>Mon, 16 Oct 2006 19:11:04 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:400</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/400.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=17&amp;PostID=400</wfw:commentRss><description>&lt;p&gt;The answer is : &lt;font color="#0000ff" size="2"&gt;&lt;p&gt;select&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#808080" size="2"&gt;*&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;from&lt;/font&gt;&lt;font size="2"&gt; msdb&lt;/font&gt;&lt;font color="#808080" size="2"&gt;..&lt;/font&gt;&lt;font size="2"&gt;restorehistory&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;select&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#808080" size="2"&gt;*&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;from&lt;/font&gt;&lt;font size="2"&gt; msdb&lt;/font&gt;&lt;font color="#808080" size="2"&gt;..&lt;/font&gt;&lt;font size="2"&gt;restorehistory&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>QOD 2006-10-12</title><link>http://sqlserver.ro/forums/thread/335.aspx</link><pubDate>Thu, 12 Oct 2006 11:35:34 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:335</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/335.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=17&amp;PostID=335</wfw:commentRss><description>&lt;p&gt;How can you see the last restore (NOT backup) date of your database ?&lt;/p&gt;&lt;p&gt;(At this kind of question in a day I answer in other day you answer, today is a 
day when you can answer)&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>