<?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: cum fac CAST/CONVERT-ul ?</title><link>http://sqlserver.ro/forums/thread/1847.aspx</link><pubDate>Fri, 16 Feb 2007 13:23:13 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1847</guid><dc:creator>Alex</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1847.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=1847</wfw:commentRss><description>&lt;P&gt;am rezolvat.....multumesc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>cum fac CAST/CONVERT-ul ?</title><link>http://sqlserver.ro/forums/thread/1846.aspx</link><pubDate>Fri, 16 Feb 2007 13:04:57 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1846</guid><dc:creator>Alex</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1846.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=1846</wfw:commentRss><description>&lt;P&gt;salut....am intr-o tabela campurile&lt;/P&gt;
&lt;P&gt;QASStation as nvarchar,&lt;/P&gt;
&lt;P&gt;TimeStation as int&lt;/P&gt;
&lt;P&gt;si vreau sa realizez &lt;/P&gt;
&lt;P&gt;cast(convert(decimal,count(QASStation) * TimeStation/3600) as decimal(5,2)) as OREOptim&lt;/P&gt;
&lt;P&gt;deci ...................count(QASStation)*TimeStation/3600&lt;/P&gt;
&lt;P&gt;asfel incat rezultatul sa aiba 2 zecimale...sa nu rotunjeasca&lt;/P&gt;
&lt;P&gt;P.S. va rog nu stergeti Post-ul chiar daca este unul asemnator pe English Section pt ca sunt diferite.&lt;/P&gt;</description></item></channel></rss>