<?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>Diverse</title><link>http://sqlserver.ro/forums/27/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: insert sau update</title><link>http://sqlserver.ro/forums/thread/7415.aspx</link><pubDate>Wed, 22 Jul 2009 11:42:57 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7415</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7415.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=27&amp;PostID=7415</wfw:commentRss><description>Vezi si&lt;br /&gt;http://weblogs.sqlteam.com/mladenp/archive/2007/07/30/60273.aspx</description></item><item><title>Re: insert sau update</title><link>http://sqlserver.ro/forums/thread/7414.aspx</link><pubDate>Wed, 22 Jul 2009 11:39:38 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7414</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7414.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=27&amp;PostID=7414</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://sqlserver.ro/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;katalyn:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Iar daca nu discutam despre SQL Server 2008 &lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;o alta idee : http://sqlserver-tips.blogspot.com/2006/09/mimicking-merge-statement-in-sql.html&lt;br&gt;&lt;br&gt;</description></item><item><title>Re: insert sau update</title><link>http://sqlserver.ro/forums/thread/7413.aspx</link><pubDate>Wed, 22 Jul 2009 10:58:12 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7413</guid><dc:creator>katalyn</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7413.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=27&amp;PostID=7413</wfw:commentRss><description>Iar daca nu discutam despre SQL Server 2008 se poate realiza o combinatie de genul:&lt;br /&gt;IF EXISTS (SELECT .....) BEGIN&lt;br /&gt;   UPDATE tabela&lt;br /&gt;END&lt;br /&gt;ELSE BEGIN&lt;br /&gt;   INSERT tabela&lt;br /&gt;END</description></item><item><title>Re: insert sau update</title><link>http://sqlserver.ro/forums/thread/7412.aspx</link><pubDate>Wed, 22 Jul 2009 10:22:37 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7412</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7412.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=27&amp;PostID=7412</wfw:commentRss><description>Incercati instructiunea MERGE din T-SQL :&lt;br&gt;http://technet.microsoft.com/en-us/library/bb510625.aspx&lt;br&gt;http://jdixon.dotnetdevelopersjournal.com/i_want_my_sql_2005_merge_statement.htm&lt;br&gt;&lt;br&gt;</description></item><item><title>insert sau update</title><link>http://sqlserver.ro/forums/thread/7411.aspx</link><pubDate>Wed, 22 Jul 2009 10:05:49 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7411</guid><dc:creator>ungureandavid</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7411.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=27&amp;PostID=7411</wfw:commentRss><description>Salut!&lt;br /&gt;&lt;br /&gt;Am o aplicatie care insereaza intr-o tabela cateva campuri. Cheia primara este coloana cnp, care nu admite duplicate. Intrebarea mea este: pot sa folosesc vre-o smecherie ca atunci cand randul pe care vreau sa il insereaz daca exista, atunci sa fac update, iar daca nu exista sa fac insert?&lt;br /&gt;&lt;br /&gt;Auzisem ca se poate face cu index.. dar nu stiu mai multe... &lt;br /&gt;&lt;br /&gt;multumesc&lt;br /&gt;david</description></item></channel></rss>