<?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>T-SQL</title><link>http://sqlserver.ro/forums/5/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: conversie datetime</title><link>http://sqlserver.ro/forums/thread/2001.aspx</link><pubDate>Fri, 01 Jun 2007 11:57:39 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2001</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2001.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=5&amp;PostID=2001</wfw:commentRss><description>&lt;p&gt;Vezi şi: &lt;a href="http://www.karaszi.com/SQLServer/info_datetime.asp" target="_blank"&gt;http://www.karaszi.com/SQLServer/info_datetime.asp&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Răzvan&amp;nbsp;&lt;/p&gt;</description></item><item><title>conversie datetime</title><link>http://sqlserver.ro/forums/thread/2000.aspx</link><pubDate>Fri, 01 Jun 2007 11:55:01 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2000</guid><dc:creator>katalyn</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2000.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=5&amp;PostID=2000</wfw:commentRss><description>&lt;P&gt;Uite un exemplu:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DECLARE @DataCuOra AS DATETIME&lt;BR&gt;SET @DataCuOra='20070101 17:30:00.000'&lt;BR&gt;SELECT @DataCuOra&lt;/P&gt;
&lt;P&gt;Rezultatul va fi:&lt;/P&gt;&lt;FONT size=2&gt;
&lt;P&gt;2007&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;-&lt;/FONT&gt;&lt;FONT size=2&gt;01&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;-&lt;/FONT&gt;&lt;FONT size=2&gt;01 17&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;:&lt;/FONT&gt;&lt;FONT size=2&gt;30&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;:&lt;/FONT&gt;&lt;FONT size=2&gt;00.000&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Katalyn&lt;FONT size=1&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=1&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;</description></item><item><title>conversie datetime</title><link>http://sqlserver.ro/forums/thread/1999.aspx</link><pubDate>Fri, 01 Jun 2007 08:52:01 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1999</guid><dc:creator>calin.berindea</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1999.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=5&amp;PostID=1999</wfw:commentRss><description>&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;Salut&lt;br&gt;&lt;br&gt;pentru a lucra in mod unitar cu tipul de date datetime din sql server folosesc string-ul sub forma &lt;b&gt;yyyymmdd &lt;/b&gt;spre exemplu &lt;b&gt;tabel1.field5 &amp;gt; '20070601'&lt;/b&gt; care functioneaza. &lt;br&gt;Cum pot sa ma folosesc si de ora? &lt;b&gt;tabel1.field5 &amp;gt; '200706011730'&lt;/b&gt; nu functioneaza pentru a specifica &lt;i&gt;1 Iunie 2007 ora 17:30&lt;/i&gt;.&lt;br&gt;&lt;br&gt;Stie cineva?&lt;br&gt;&lt;br&gt;Mersi&lt;br&gt;Calin&lt;/font&gt;&lt;/font&gt;</description></item></channel></rss>