<?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>Articole</title><link>http://sqlserver.ro/forums/22/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: Conexiune Dedicata pentru Administrator</title><link>http://sqlserver.ro/forums/thread/265.aspx</link><pubDate>Fri, 06 Oct 2006 17:16:33 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:265</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/265.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=22&amp;PostID=265</wfw:commentRss><description>&lt;P&gt;Asa e, doar o DAC este disponibila si este ideal sa nu uitam sa o inchidem &lt;img src="http://sqlserver.ro/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Re: Conexiune Dedicata pentru Administrator</title><link>http://sqlserver.ro/forums/thread/263.aspx</link><pubDate>Fri, 06 Oct 2006 10:44:56 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:263</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/263.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=22&amp;PostID=263</wfw:commentRss><description>Si cum bine spuneai candva aceasta(DAC) trebuie sa fie inchisa la terminare.</description></item><item><title>Conexiune Dedicata pentru Administrator</title><link>http://sqlserver.ro/forums/thread/262.aspx</link><pubDate>Fri, 06 Oct 2006 08:19:47 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:262</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/262.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=22&amp;PostID=262</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Arial;mso-fareast-font-family:'Times New Roman';mso-ansi-language:RO;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;STRONG&gt;Conexiune Dedicata pentru Administrator &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Arial;mso-fareast-font-family:'Times New Roman';mso-ansi-language:RO;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="FONT-SIZE:9pt;FONT-FAMILY:Arial;mso-ansi-language:RO;"&gt;In cazuri deosebite cand accesul la SQL Server nu mai este posibil datorita unor probleme sau unor erori, este disponibila o conexiune pentru membrii rolului &lt;I style="mso-bidi-font-style:normal;"&gt;&lt;STRONG&gt;sysadmin&lt;/STRONG&gt;&lt;/I&gt;, prin care se poate face diagnosticare si se pot executa interogari. Aceasta conexiune dedicata administratorului (DAC) se poate face folosind utilitarul din linie de comanda &lt;I style="mso-bidi-font-style:normal;"&gt;&lt;STRONG&gt;sqlcmd&lt;/STRONG&gt;&lt;/I&gt; in doua modalitati - cu parametrul de administrator &lt;I style="mso-bidi-font-style:normal;"&gt;&lt;STRONG&gt;–A&lt;/STRONG&gt;&lt;/I&gt;, sau folosind numele instantei si prefixul &lt;I style="mso-bidi-font-style:normal;"&gt;&lt;STRONG&gt;admin:&lt;/STRONG&gt;&lt;/I&gt; spre exemplu &lt;I style="mso-bidi-font-style:normal;"&gt;&lt;STRONG&gt;sqlcmd –Sadmin:&amp;lt;nume-instanta&amp;gt;&lt;/STRONG&gt;&lt;/I&gt;. Dealtfel se poate folosi pentru aceasta conexiune si SQL Server Management Studio Query Editor deschizand o conexiune la &lt;I style="mso-bidi-font-style:normal;"&gt;&lt;STRONG&gt;admin:&amp;lt;nume-instanta&amp;gt;&lt;/STRONG&gt;&lt;/I&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="FONT-SIZE:9pt;FONT-FAMILY:Arial;mso-ansi-language:RO;"&gt;In mod implicit conexiunea se poate face doar de catre un client aflat pe server, dar se poate permite accesul din retea daca se configureaza optiunea &lt;I style="mso-bidi-font-style:normal;"&gt;&lt;STRONG&gt;remote admin connections&lt;/STRONG&gt; &lt;/I&gt;cu procedura stocata &lt;I style="mso-bidi-font-style:normal;"&gt;&lt;STRONG&gt;sp_configure&lt;/STRONG&gt;&lt;/I&gt; sau aplicatia &lt;STRONG&gt;Surface Area Configuration&lt;/STRONG&gt;. Poate exista numai o singura conexiune DAC. Este recomandata conectarea la baza de date &lt;I style="mso-bidi-font-style:normal;"&gt;&lt;STRONG&gt;master&lt;/STRONG&gt;&lt;/I&gt; folosind comanda &lt;I style="mso-bidi-font-style:normal;"&gt;&lt;STRONG&gt;sqlcmd –A –d master&lt;/STRONG&gt;&lt;/I&gt;, si nu este posibila executia interogarilor in paralel. Aceasta conexiune nu este disponibila implicit in SQL Server 2005 Express Edition insa poate fi activata prin folosirea unui trace flag.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;SPAN style="FONT-SIZE:9pt;FONT-FAMILY:Arial;mso-ansi-language:RO;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;SPAN style="FONT-SIZE:9pt;FONT-FAMILY:Arial;mso-ansi-language:RO;"&gt;Exemple:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="FONT-SIZE:9pt;FONT-FAMILY:Arial;mso-ansi-language:RO;"&gt;Pentru conectare local folosind portul standard:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;I style="mso-bidi-font-style:normal;"&gt;&lt;SPAN style="FONT-SIZE:9pt;FONT-FAMILY:Arial;mso-ansi-language:RO;"&gt;&lt;STRONG&gt;sqlcmd –S 127.0.0.1,1434&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="FONT-SIZE:9pt;FONT-FAMILY:Arial;mso-ansi-language:RO;"&gt;Pentru conectare prin retea:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;I style="mso-bidi-font-style:normal;"&gt;&lt;SPAN style="FONT-SIZE:9pt;FONT-FAMILY:Arial;mso-ansi-language:RO;"&gt;&lt;STRONG&gt;sqlcmd –S server_name_or_ip –U sa –P password –A&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;Detalii suplimentare: &lt;A href="http://sqlserver.ro/forums/thread/91.aspx"&gt;http://sqlserver.ro/forums/thread/91.aspx&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description></item></channel></rss>