<?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>Intrebari generale</title><link>http://sqlserver.ro/forums/16/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: data version</title><link>http://sqlserver.ro/forums/thread/1610.aspx</link><pubDate>Tue, 30 Jan 2007 17:03:18 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1610</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1610.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1610</wfw:commentRss><description>&lt;P&gt;(Un pic off-topic insa intaratat de Razvan &lt;img src="http://sqlserver.ro/emoticons/emotion-1.gif" alt="Smile" /&gt;)Vis-a-vis de principiul de versionare a unor date intr-o baza de date , iata cum se face in Oracle E-Business Suite:&lt;/P&gt;
&lt;P&gt;orice rand care este versionabil are 2 coloane de tip BeginDate si EndDate care semnifica de cand este valabila acea informatie si pana cand; daca vrei sa stergi informatia o poti face, insa o poti inactiva completand EndDate, astfel ca daca vrea cineva sa vada, sa zicem, ierarhii de departamente sau de salariati la diferite momente de timp o poate face foarte bine, sistemul manevreaza datele in functie de cele 2 coloane amintite mai sus.&lt;/P&gt;</description></item><item><title>Re: data version</title><link>http://sqlserver.ro/forums/thread/1609.aspx</link><pubDate>Tue, 30 Jan 2007 16:41:54 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1609</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1609.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1609</wfw:commentRss><description>&lt;p&gt;Pentru câteva idei interesante vezi şi &lt;a href="http://ronua.ro/CS/forums/thread/8876.aspx" target="_blank"&gt;http://ronua.ro/CS/forums/thread/8876.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Răzvan&lt;/p&gt;</description></item><item><title>Re: data version</title><link>http://sqlserver.ro/forums/thread/1608.aspx</link><pubDate>Tue, 30 Jan 2007 16:03:01 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1608</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1608.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1608</wfw:commentRss><description>&lt;P&gt;eu as face asa:&lt;/P&gt;
&lt;P&gt;as codifica coloanele value1 sa zicem c1, samd si as insera versionarile in tabelul urmator&lt;/P&gt;
&lt;P&gt;id_entitate,Coloana,Valoare,DataOra&lt;/P&gt;
&lt;P&gt;iata cum ar arata niste randuri:&lt;/P&gt;
&lt;P&gt;1,c1,a,30.01.2007 20:34:00&lt;/P&gt;
&lt;P&gt;1,c1,b,30.01.2007 20:35:00&lt;/P&gt;
&lt;P&gt;2,c2,d,30.01.2007 20:39:00&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;unde 1 si&amp;nbsp;2&amp;nbsp; sunt coduri de entitati, c1,c2, codurile coloanelor corespunzatoare&lt;/P&gt;
&lt;P&gt;(inserarea o fac dintr-un trigger update)&lt;/P&gt;</description></item><item><title>Re: data version</title><link>http://sqlserver.ro/forums/thread/1607.aspx</link><pubDate>Tue, 30 Jan 2007 15:58:51 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1607</guid><dc:creator>marcel soare</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1607.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1607</wfw:commentRss><description>&lt;p&gt;Este o solutie buna. &lt;/p&gt;&lt;p&gt;Insa imi ridica niste semne de intrebare.....&lt;/p&gt;&lt;p&gt;1. Cum se va comporta triggerul daca am o tabela mare ?&lt;/p&gt;&lt;p&gt;2. Cum se va comporta, daca se doreste mentinerea istoricul relatiilor, in care este implicata tabela mea? &lt;br&gt;&lt;/p&gt;</description></item><item><title>Re: data version</title><link>http://sqlserver.ro/forums/thread/1604.aspx</link><pubDate>Tue, 30 Jan 2007 15:25:57 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1604</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1604.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1604</wfw:commentRss><description>&lt;P&gt;Ceva similar:&lt;/P&gt;
&lt;P&gt;T1 (id, id_entitate, versiune_curenta, value1, value2, value3)&lt;/P&gt;
&lt;P&gt;T2 (id, id_entitate, versiune, value1, value2, value3)&lt;/P&gt;
&lt;P&gt;Pentru update un trigger modifica in T1 versiune_curenta = versiune_curenta + 1, value1, value2, value3&amp;nbsp;si facea &lt;/P&gt;
&lt;P&gt;INSERT INTO T2 (id, id_entitate, versiune, value1, value2, value3) &lt;/P&gt;
&lt;P&gt;SELECT id, id_entitate, versiune_curenta, value1, value2, value3&lt;/P&gt;
&lt;P&gt;FROM deleted&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>data version</title><link>http://sqlserver.ro/forums/thread/1603.aspx</link><pubDate>Tue, 30 Jan 2007 14:52:29 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1603</guid><dc:creator>marcel soare</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1603.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1603</wfw:commentRss><description>&lt;p&gt;Se da tabela ce contine campurile&lt;br&gt;(id &lt;br&gt;id_entitate,&lt;br&gt;value1,&lt;/p&gt;&lt;p&gt;value2,&lt;/p&gt;&lt;p&gt;value3,&lt;/p&gt;&lt;p&gt; )&lt;/p&gt;&lt;p&gt;Pt acest exemplu se cere o versionare a valorilor entitatilor. &lt;/p&gt;&lt;p&gt;Ceva de genul entitatea(id_entitate) a avut pt value1 valorile ,x,y,z,; pt value2 valorile c,v,b ;pt value3 valorile p,o,i&lt;br&gt;&lt;/p&gt;&lt;p&gt;A intalnit cineva un examplu pt aceasta problema?&amp;nbsp;&lt;/p&gt;&lt;br&gt;</description></item></channel></rss>