<?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: 2 intrebari interesante.</title><link>http://sqlserver.ro/forums/thread/8200.aspx</link><pubDate>Thu, 15 Apr 2010 16:00:25 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8200</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8200.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8200</wfw:commentRss><description>1. Am avut azi o discutie cu George Pristavu DPE Lead la Microsoft Romania (pentru cine nu stie George vine de la Oracle) si mi-a spus ca e posibil sa se discute despre tehnologia&lt;a href="http://www.oracle.com/technology/deploy/availability/htdocs/Flashback_Overview.htm"&gt; Flashback&lt;/a&gt; &lt;br&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;br&gt;&lt;p&gt;&lt;span class="parahead1"&gt;Flashback Transaction&lt;/span&gt;&lt;br&gt;
&lt;/p&gt;&lt;p class="bodycopy"&gt;Large-scale database applications rely on
complex sequences of transactions, to ensure atomicity and consistency
of a group of inserts, updates, or deletes. In the event of a ‘bad’
transaction, the administrator must trail back-in-time to see what
changes were effected by the transaction and ascertain any dependencies
(e.g. transactions that modified the same data after the ‘bad’
transaction), to ensure that undoing the transaction preserves the
original, good state of the data and any related data. Performing this
type of transaction analysis can be laborious, especially for very
complex applications.&lt;/p&gt;
&lt;p class="bodycopy"&gt;With Flashback Transaction, a single transaction,
and optionally, all of its dependent transactions, can be flashed back
with a single PL/SQL operation or by using an intuitive EM wizard to
identify and flashback the problem transactions. Flashback Transaction
relies on the availability of undo data and archived redo logs for the
given transaction and its dependents, to backout the changes.&lt;/p&gt;&lt;p class="bodycopy"&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p class="bodycopy"&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;/p&gt;&lt;p class="bodycopy"&gt;The 
                    Oracle Database architecture leverages the unique 
                    technological advances in the area of database recovery due 
                    to human errors. Oracle Flashback Technology provides a set 
                    of new features to view and rewind data back and forth in 
                    time. The Flashback features offer the capability to  query historical data, perform 
                    change analysis, and perform self-service repair to recover 
                    from logical corruptions while the database is online. With 
                    Oracle Flashback Technology, you can 
                    indeed undo the past!
                  &lt;/p&gt;&lt;p class="bodycopy"&gt;Oracle9&lt;em&gt;i&lt;/em&gt; introduced Flashback Query to provide a 
                    simple, powerful and completely non-disruptive mechanism for 
                    recovering from human errors. It allows users to view the 
                    state of data at a point in time in the past without requiring 
                    any structural changes to the database. &lt;/p&gt;
                  &lt;p class="bodycopy"&gt;Oracle Database 10&lt;i&gt;g&lt;/i&gt; extended the Flashback Technology to provide fast and 
                    easy recovery at the database, table, row, and transaction 
                    level. Flashback Technology revolutionizes recovery by operating 
                    just on the changed data. The time it takes to recover the 
                    error is now equal to the same amount of time it took to make 
                    the mistake. Oracle 10&lt;i&gt;g&lt;/i&gt; Flashback Technologies includes 
                    Flashback Database, Flashback Table, Flashback Drop, Flashback 
                  Versions Query, and Flashback Transaction Query.  &lt;/p&gt;
                  &lt;p class="bodycopy"&gt;Flashback
technology can just as easily be utilized for non-repair purposes, such
as historical auditing with Flashback Query and undoing test changes
with Flashback Database. Oracle Database 11g introduces an innovative
method to manage and query long-term historical data with Flashback
Data Archive. This release also provides an easy, one-step transaction
backout operation, with the new Flashback Transaction capability. &lt;br&gt;&lt;/p&gt;&lt;p class="bodycopy"&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p class="bodycopy"&gt;&lt;br&gt;&lt;/p&gt;&lt;p class="bodycopy"&gt;In SQL Server se pot obtine functionalitati aproximativ similare prin Database Snapshots si Point in Time Revovery (restaurare de transaction log). Functionalitate similara insa nu identica.&lt;br&gt;&lt;/p&gt;&lt;br&gt;</description></item><item><title>Re: 2 intrebari interesante.</title><link>http://sqlserver.ro/forums/thread/8197.aspx</link><pubDate>Wed, 14 Apr 2010 16:45:08 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8197</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8197.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8197</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;Jourjaque:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Si SQL server are conceptul de Savepoint ? Si in caz afirmativ cum se face ?&lt;br&gt;&lt;br&gt;Merci.&lt;br&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;&lt;br /&gt;Vezi BOL ---&gt; ROLLBACK TRANSACTION</description></item><item><title>Re: 2 intrebari interesante.</title><link>http://sqlserver.ro/forums/thread/8195.aspx</link><pubDate>Wed, 14 Apr 2010 14:26:52 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8195</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8195.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8195</wfw:commentRss><description>Nu cunosc Oracle, dar nu prea &amp;#238;mi vine să cred că se poate face ROLLBACK la o tranzacţie comisă. Probabil cine a zis asta se referea la altceva:&lt;br /&gt;a) &amp;#238;n Oracle, este default SET IMPLICIT_TRANSACTIONS ON, ceea ce &amp;#238;nseamnă că dacă faci un UPDATE simplu, el nu este comis direct, aşa că poţi să verifici rezultatele, apoi să dai ROLLBACK sau COMMIT, după caz&lt;br /&gt;b) era vorba de o nested transactions (eventual de un savepoint &amp;#238;ntr-o tranzacţie la un nivel superior)&lt;br /&gt;c) cu vreo sculă de citit transaction log-ul, se execută altă tranzacţie care anulează efectele primei tranzacţii (aşa cum spuneam &amp;#238;n mesajul iniţial). Cred că asta se numeşte &lt;a href="http://www.oracle.com/technology/deploy/availability/htdocs/Flashback_Overview.htm"&gt;FlashBack&lt;a&gt; &amp;#238;n Oracle (vezi şi &lt;a href="http://www.oracle-base.com/articles/11g/FlashbackAndLogminerEnhancements_11gR1.php"&gt;&amp;#238;mbunătăţirile din Oracle 11g&lt;/a&gt;), iar &amp;#238;n SQL Server poate fi realizat cu scule third-party de gen &lt;a href="http://www.apexsql.com/sql_tools_log.asp"&gt;ApexSQL Log&lt;/a&gt; sau &lt;a href="http://www.red-gate.com/products/SQL_Log_Rescue/index.htm"&gt;Redgate SQL Log Rescue&lt;/a&gt;.</description></item><item><title>Re: 2 intrebari interesante.</title><link>http://sqlserver.ro/forums/thread/8194.aspx</link><pubDate>Wed, 14 Apr 2010 14:22:42 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8194</guid><dc:creator>Jourjaque</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8194.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8194</wfw:commentRss><description>Si SQL server are conceptul de Savepoint ? Si in caz afirmativ cum se face ?&lt;br&gt;&lt;br&gt;Merci.&lt;br&gt;</description></item><item><title>Re: 2 intrebari interesante.</title><link>http://sqlserver.ro/forums/thread/8193.aspx</link><pubDate>Wed, 14 Apr 2010 14:08:29 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8193</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8193.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8193</wfw:commentRss><description>1. Conform &lt;a href="http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/transact.htm"&gt;documentatiei&lt;/a&gt; Oracle,&amp;nbsp; comportamentul tranzactional este similar cu cel al SQL Server. Doua cazuri speciale sunt Savepoints, cand se poate marca un punct intr-o tranzactie la care se poate reveni si tranzactiile "nested".&lt;br&gt;In cazul urmator:&lt;br&gt;&lt;br&gt;&lt;i&gt;&lt;font face="Courier New"&gt;-- Transaction 1&lt;br&gt;BEGIN TRAN &lt;br&gt;...&lt;br&gt;-- Transaction 2&lt;br&gt;BEGIN TRAN&lt;br&gt;...&lt;br&gt;-- Commit 1&lt;br&gt;COMMIT TRAN&lt;br&gt;...&lt;br&gt;&lt;br&gt;&lt;/font&gt;&lt;/i&gt;primul &lt;font face="Courier New"&gt;COMMIT TRAN&lt;/font&gt; nu face nimic concret asa ca orice &lt;font face="Courier New"&gt;ROLLBACK TRAN&lt;/font&gt; va avea ca efect anularea tuturor modificarilor efectuate de la inceputul primei tranzactii.&lt;br&gt;&lt;br&gt;2. OPENROWSET, linked server si OPENQUERY, OLE automation etc. Evident cea mai simpla metoda este OPENROWSET.&lt;br&gt;</description></item><item><title>Re: 2 intrebari interesante.</title><link>http://sqlserver.ro/forums/thread/8192.aspx</link><pubDate>Wed, 14 Apr 2010 13:24:15 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8192</guid><dc:creator>Jourjaque</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8192.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8192</wfw:commentRss><description>1.Am inteles ca in Oracle se poate de asta am intrebat .&lt;br&gt;&lt;br&gt;2.Acum mi-am amintit si eu de openrowset , uitasem :P .&lt;br&gt;&lt;br&gt;Merci mult. &lt;br&gt;</description></item><item><title>Re: 2 intrebari interesante.</title><link>http://sqlserver.ro/forums/thread/8191.aspx</link><pubDate>Wed, 14 Apr 2010 13:16:13 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8191</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8191.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8191</wfw:commentRss><description>2 ---&gt; sau printr-o procedura CLR care poate analiza textul.&lt;br /&gt;Altfel, full text search pe coloane care contin documente in varbinary(max).</description></item><item><title>Re: 2 intrebari interesante.</title><link>http://sqlserver.ro/forums/thread/8190.aspx</link><pubDate>Wed, 14 Apr 2010 12:23:36 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8190</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8190.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8190</wfw:commentRss><description>1. Nu, tocmai asta &amp;#238;nseamnă să faci COMMIT la o tranzacţie. Dar se poate face alta tranzactie care să anuleze ceea ce a făcut prima (dacă a făcut un INSERT, atunci să facă un DELETE; dacă a făcut un UPDATE, atunci să facă un alt UPDATE cu valorile vechi, etc).&lt;br /&gt;&lt;br /&gt;2. Da, folosind funcţia OPENROWSET, vezi &lt;a href="http://msdn.microsoft.com/en-us/library/ms190312.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms190312.aspx&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Răzvan</description></item><item><title>2 intrebari interesante.</title><link>http://sqlserver.ro/forums/thread/8189.aspx</link><pubDate>Wed, 14 Apr 2010 12:10:00 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8189</guid><dc:creator>Jourjaque</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8189.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8189</wfw:commentRss><description>Am primit aceste 2 intrebari privitoare la MS SQL Server 2008 R2 Ent si n-am stiut ce sa raspund:&lt;br&gt;&lt;br&gt;1. Daca se poate anula o tranzactie comisa &lt;u&gt;fara restaurare&lt;/u&gt; din bck,snapshot,etc. ?&lt;br&gt;2. Daca se poate face o interogare direct din baza de date a unor fisiere text externe , fara o incarcare prealabila intr-o tabela ?&lt;br&gt;&lt;br&gt;&lt;br&gt;Multumesc.&lt;br&gt;&lt;span style="font-size:11pt;font-family:'Arial','sans-serif';"&gt;&lt;/span&gt;</description></item></channel></rss>