<?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: Problema cu un trigger insert/update</title><link>http://sqlserver.ro/forums/thread/3131.aspx</link><pubDate>Wed, 31 Oct 2007 07:00:34 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:3131</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/3131.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=3131</wfw:commentRss><description>&lt;P&gt;Puteti reda codul?&lt;/P&gt;
&lt;P&gt;Daca nu, folositi un trace cu SQL Profiler sa vedeti concret ce se intampla.&lt;/P&gt;</description></item><item><title>Problema cu un trigger insert/update</title><link>http://sqlserver.ro/forums/thread/3130.aspx</link><pubDate>Wed, 31 Oct 2007 06:39:14 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:3130</guid><dc:creator>Syberye</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/3130.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=3130</wfw:commentRss><description>&lt;P&gt;Buna la toata lumea&lt;/P&gt;
&lt;P&gt;Am facut o aplicatie .net care foloseste SQL Express ca baza de date. Intr-o tabela am un trigger in care pe langa faptul ca isi face rolul normal pe care il are mai am si un rand care imi introduce intr-o tablea de loguri ca a fost apelat acel trigger. Problema este ca imi tabela de loguri imi apare de&amp;nbsp;4 (sau de mai multe) ori ca a fost apelat acel trigger. Imi poate spune cineva de ce ? si daca e o greseala de a mea unde sa o caut? Mai trebe sa spun ca in .net deschid si inchid conexiunea de fiecare data dupa inserarea datelor si inserez doar o inregistrare la momendat, iar procedura stocata care imi insereaza datele in tabela cu trigger folosesc o tranzactie. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;Va multumesc&lt;/P&gt;
&lt;P&gt;Petre&lt;/P&gt;</description></item></channel></rss>