<?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/15/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: din SECUNDE in ORE</title><link>http://sqlserver.ro/forums/thread/1898.aspx</link><pubDate>Thu, 22 Feb 2007 18:26:56 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1898</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1898.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=1898</wfw:commentRss><description>&lt;p&gt;Atât timp cât durata totală va fi sub 24 de ore, poţi să foloseşti ceva de genul:&lt;/p&gt;&lt;p&gt;SELECT CONVERT(char(8),DATEADD(S,10755,0),108)&lt;/p&gt;&lt;p&gt;Răzvan&lt;br&gt;&lt;/p&gt;</description></item><item><title>Re: din SECUNDE in ORE</title><link>http://sqlserver.ro/forums/thread/1895.aspx</link><pubDate>Thu, 22 Feb 2007 14:07:03 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1895</guid><dc:creator>lmsasu</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1895.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=1895</wfw:commentRss><description>&lt;P&gt;2.99 ore -&amp;gt; aproape 3 ore. Parerea mea :)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Faci ca la ciclul primar: faci 10755&amp;nbsp;/ 60 = 179 rest 15. Restul asta&amp;nbsp;de 15 secunde nu le poti transforma in minute si le vei raporta ca secunde. &lt;/P&gt;
&lt;P&gt;Apoi: 179 / 60 = 2 rest 59&lt;/P&gt;
&lt;P&gt;daca 2 se impartea la 24 o tineai in continuare, cu numar de zile si ce mai urmeaza dupa zile.&lt;/P&gt;
&lt;P&gt;Raspuns: 2 ore 59 de minute si 15 secunde. Ce mai, 3 ore.&lt;/P&gt;
&lt;P&gt;Operatorii de impartire interaga si rest al impartirii (mod, modulo) sunt implementati cam peste tot.&lt;/P&gt;
&lt;P&gt;Lucian&lt;/P&gt;</description></item><item><title>din SECUNDE in ORE</title><link>http://sqlserver.ro/forums/thread/1893.aspx</link><pubDate>Thu, 22 Feb 2007 13:37:31 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1893</guid><dc:creator>Alex</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1893.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=1893</wfw:commentRss><description>&lt;P&gt;salut,&lt;/P&gt;
&lt;P&gt;am o coloana intr-o tabela de tip int in care se salveza o durata de secunde (sau nu stiu cum sa-i zic)&lt;/P&gt;
&lt;P&gt;eu fac pe aceasta coloana SUM dupa care vreau sa transform aceasta suma in ore.....sa zicem ca suma mea este 10755&lt;/P&gt;
&lt;P&gt;vreau s-o transform in ore.....daca o impart la 3600(secunde intr-0 ora) imi da de genul 2.98...rotunjit 2.99....cum interpretez eu rezultatul ca nu pot spune ca am 2 ore si 99 de minute :)&lt;/P&gt;
&lt;P&gt;multumesc&lt;/P&gt;</description></item></channel></rss>