<?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: stergere recursiva controlata</title><link>http://sqlserver.ro/forums/thread/8271.aspx</link><pubDate>Wed, 12 May 2010 18:49:03 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8271</guid><dc:creator>neo</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8271.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8271</wfw:commentRss><description>Va multumesc.</description></item><item><title>Re: stergere recursiva controlata</title><link>http://sqlserver.ro/forums/thread/8267.aspx</link><pubDate>Wed, 12 May 2010 18:11:06 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8267</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8267.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8267</wfw:commentRss><description>Evitati cursoarele. In situatia descrisa de dumneavoastra un ciclu while este mult mai eficient.</description></item><item><title>Re: stergere recursiva controlata</title><link>http://sqlserver.ro/forums/thread/8257.aspx</link><pubDate>Fri, 07 May 2010 16:02:42 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8257</guid><dc:creator>neo</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8257.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8257</wfw:commentRss><description>am zeci de milioane de inregistrari si mai multe aplicatii care ruleaza in timp real...si ma intreb care dintre variantele de stergere are planuri de executie si costuri mai eficiente pentru a nu cauza blocaj(e).</description></item><item><title>Re: stergere recursiva controlata</title><link>http://sqlserver.ro/forums/thread/8256.aspx</link><pubDate>Fri, 07 May 2010 15:58:30 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8256</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8256.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8256</wfw:commentRss><description>Nu vad de ce ai avea nevoie de cursor.</description></item><item><title>Re: stergere recursiva controlata</title><link>http://sqlserver.ro/forums/thread/8255.aspx</link><pubDate>Fri, 07 May 2010 15:47:11 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8255</guid><dc:creator>neo</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8255.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8255</wfw:commentRss><description>Stergerea utilizand un "cursor",  din pct de vedere incarcare este mai  fiabila comparativ cu o stergere in bucla "while"?&lt;br /&gt;&lt;br /&gt;Multumesc.</description></item><item><title>Re: stergere recursiva controlata</title><link>http://sqlserver.ro/forums/thread/8254.aspx</link><pubDate>Fri, 07 May 2010 15:41:12 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8254</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8254.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8254</wfw:commentRss><description>Sterge de exemplu 1000  de inregistrari intr-un batch, Vezi&lt;br /&gt;http://www.sqlservercentral.com/articles/T-SQL/67898/</description></item><item><title>Re: stergere recursiva controlata</title><link>http://sqlserver.ro/forums/thread/8253.aspx</link><pubDate>Fri, 07 May 2010 13:47:18 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8253</guid><dc:creator>neo</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8253.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8253</wfw:commentRss><description>pot sterge maxim o mie de linii o data si doar din script si nu trebuie sa utilizez  nu din job.</description></item><item><title>Re: stergere recursiva controlata</title><link>http://sqlserver.ro/forums/thread/8252.aspx</link><pubDate>Fri, 07 May 2010 12:45:05 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8252</guid><dc:creator>katalyn</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8252.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8252</wfw:commentRss><description>pai si un simplu delete 10000 ? eventual poti face o procedura care face delete top 1000 from .... order by PK where .... si o poti executa printr-un job pe care sa-l setezi sa se execute cand "Start whenever the CPUs become idle" ... sau poti sa rulezi stergerea noaptea .... O alta idee ar fi sa folosesti resource governor daca vrei sa te complici putin.</description></item><item><title>stergere recursiva controlata</title><link>http://sqlserver.ro/forums/thread/8251.aspx</link><pubDate>Fri, 07 May 2010 10:15:32 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8251</guid><dc:creator>neo</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8251.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8251</wfw:commentRss><description>Salut,&lt;br /&gt;&lt;br /&gt;Cum as putea realiza pe un tabel o stergere recursiva controlata care sa tina cont de incarcare (spid-uri) iar daca situatia devine critica procesul sa se opresca pe parcursul stergerii (si sa si checkpointeze...sa nu faca rollback).(sql server 2005 std edition).&lt;br /&gt;Tabelul are constrangeri, chei primare insa e vorba de niste inregistrari orfane care trebuie sterse si sunt f multe zeci de milioane. Cu un simplu "delete "  mi s-ar bloca aplicatiile.&lt;br /&gt;Multumesc</description></item></channel></rss>