<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Helping community in helping themselves...</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/arali/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/arali/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 16 Apr 2019 04:41:26 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Basic Storage Modes (MOLAP, ROLAP and HOLAP) in Analysis Services</title>
      <link>https://docs.microsoft.com/archive/blogs/arali/basic-storage-modes-molap-rolap-and-holap-in-analysis-services</link>
      <pubDate>Thu, 04 Mar 2010 09:51:00 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/arali/2010/03/04/basic-storage-modes-molap-rolap-and-holap-in-analysis-services/</guid>
      <description><![CDATA[Basic Storage Modes (MOLAP, ROLAP and HOLAP) in Analysis ServicesThere are three standard storage...]]></description>
      <content:encoded><![CDATA[<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><A href="https://www.sql-server-performance.com/articles/biz/ssas_storage_modes_p1.aspx"><SPAN style="COLOR: #336699">Basic Storage Modes (MOLAP, ROLAP and HOLAP) in Analysis Services<BR></SPAN></A></SPAN></B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI">There are three standard storage modes (MOLAP, ROLAP and HOLAP) in OLAP applications which affect the performance of OLAP queries and cube processing, storage requirements and also determine storage locations. To learn more about these standard storage modes, pros and cons of each one, <A href="https://www.sql-server-performance.com/articles/biz/ssas_storage_modes_p1.aspx"><SPAN style="COLOR: #336699">click here.</SPAN></A></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>SQL Server 2008 R2 - SQL Azure Enhancements</title>
      <link>https://docs.microsoft.com/archive/blogs/arali/sql-server-2008-r2-sql-azure-enhancements</link>
      <pubDate>Thu, 04 Mar 2010 09:45:00 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/arali/2010/03/04/sql-server-2008-r2-sql-azure-enhancements/</guid>
      <description><![CDATA[SQL Server 2008 R2 - SQL Azure EnhancementsIf you were unhappy with the capabilities of SQL Server...]]></description>
      <content:encoded><![CDATA[<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><A href="https://www.mssqltips.com/tip.asp?tip=1898"><B><SPAN style="COLOR: #336699">SQL Server 2008 R2 - SQL Azure Enhancements</SPAN></B></A><BR>If you were unhappy with the capabilities of SQL Server Management Studio (SSMS) while working with SQL Azure, then there is good news for you. Microsoft has announced the November CTP for Microsoft SQL Server 2008 R2. The SSMS of this version allows you to work with SQL Azure in almost the same way as when you are connected to a local SQL Server. In other words, now you can use your favorite Object Explorer in SSMS to browse through the database objects hosted in SQL Azure as well. In this article, I am going to show how you can use SSMS’s Object Browser to connect/browse to SQL Azure database. For more details <A href="https://www.mssqltips.com/tip.asp?tip=1898"><SPAN style="COLOR: #336699">click here.</SPAN></A><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>SQL Azure - Starting up...</title>
      <link>https://docs.microsoft.com/archive/blogs/arali/sql-azure-starting-up</link>
      <pubDate>Thu, 04 Mar 2010 09:42:00 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/arali/2010/03/04/sql-azure-starting-up/</guid>
      <description><![CDATA[SQL Azure - Learning from scratch....
There has been lots of buzz about cloud computing lately and...]]></description>
      <content:encoded><![CDATA[<P style="TEXT-ALIGN: justify; LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt" class=MsoNormal><B><SPAN style="COLOR: #333333; FONT-SIZE: 11.5pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI; mso-bidi-font-size: 7.0pt; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"><A href="https://www.mssqltips.com/tip.asp?tip=1874" mce_href="https://www.mssqltips.com/tip.asp?tip=1874"><SPAN style="COLOR: #336699"><FONT face=Calibri>SQL Azure - Learning from scratch....</FONT></SPAN></A></SPAN></B><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #333333; FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="TEXT-ALIGN: justify; LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt" class=MsoNormal><FONT face=Calibri><SPAN style="COLOR: #333333; FONT-SIZE: 11.5pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">There has been lots of buzz about cloud computing lately and looking at the benefits it provides (in terms of cost savings, high availability, scalability (scale up/down) etc.) it is now evident that cloud computing is the future for next generation applications. Many of tomorrow's applications will be designed and hosted in the cloud. Microsoft realizes this potential and provides a cloud computing solution with </SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #333333; FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><A href="https://www.microsoft.com/windowsazure/" target=_blank mce_href="https://www.microsoft.com/windowsazure/"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11.5pt; mso-bidi-font-size: 7.0pt">Windows Azure</SPAN></A></SPAN><SPAN style="COLOR: #333333; FONT-SIZE: 11.5pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">. Windows Azure platform, which is hosted inside Microsoft data centers, offers several services which you can leverage while developing your application if you target them for the cloud. One of them is </SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #333333; FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><A href="https://www.microsoft.com/windowsazure/sqlazure/" target=_blank mce_href="https://www.microsoft.com/windowsazure/sqlazure/"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11.5pt; mso-bidi-font-size: 7.0pt">Microsoft SQL Azure</SPAN></A></SPAN><SPAN style="COLOR: #333333; FONT-SIZE: 11.5pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">, it's a cloud based relational database service built on Microsoft SQL Server technologies. In this article, I am going to show how you can start creating databases and database objects on the cloud with SQL Azure. For more details, </SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #333333; FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><A href="https://www.mssqltips.com/tip.asp?tip=1874" mce_href="https://www.mssqltips.com/tip.asp?tip=1874"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #336699; FONT-SIZE: 11.5pt; mso-bidi-font-size: 7.0pt">click here</SPAN></A></SPAN><SPAN style="COLOR: #333333; FONT-SIZE: 11.5pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">.</SPAN></FONT></P>]]></content:encoded>
    </item>
    <item>
      <title>How to upgrade SSIS 2005 Packages to SSIS 2008</title>
      <link>https://docs.microsoft.com/archive/blogs/arali/how-to-upgrade-ssis-2005-packages-to-ssis-2008</link>
      <pubDate>Thu, 04 Mar 2010 06:46:00 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/arali/2010/03/04/how-to-upgrade-ssis-2005-packages-to-ssis-2008/</guid>
      <description><![CDATA[How to upgrade SSIS 2005 Packages to SSIS 2008There are several enhancements in SSIS 2008 such as...]]></description>
      <content:encoded><![CDATA[<SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 12pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI">
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><A href="https://www.sql-server-performance.com/articles/dba/upgarde_2005_packages_2008_i_p1.aspx"><SPAN style="COLOR: #336699">How to upgrade SSIS 2005 Packages to SSIS 2008</SPAN></A><BR>There are several <A href="https://www.sql-server-performance.com/articles/biz/SSIS_New_Features_in_SQL_Server_2008_Part1_p1.aspx"><SPAN style="COLOR: #336699">enhancements in SSIS 2008</SPAN></A> such as enhanced lookup transformation, the development environment for Script Task and Script Component changing from VSA to VSTA, etc. If you plan to upgrade your SSIS 2005 packages to SSIS 2008 it may be a challenging task especially if it uses the Script Task or Script Component because of the <A href="https://www.sql-server-performance.com/articles/biz/SSIS_New_Features_in_SQL_Server_2008_Part5_p1.aspx"><SPAN style="COLOR: #336699">development environmental changes (from VSA to VSTA) </SPAN></A>. SSIS provides several different options to upgrade SSIS packages, for more details <A href="https://www.sql-server-performance.com/articles/dba/upgarde_2005_packages_2008_i_p1.aspx"><SPAN style="COLOR: #336699">click here</SPAN></A>.</SPAN></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Transfer SQL Server database schema objects and data to another server or database with SMO</title>
      <link>https://docs.microsoft.com/archive/blogs/arali/transfer-sql-server-database-schema-objects-and-data-to-another-server-or-database-with-smo</link>
      <pubDate>Fri, 12 Feb 2010 04:48:00 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/arali/2010/02/12/transfer-sql-server-database-schema-objects-and-data-to-another-server-or-database-with-smo/</guid>
      <description><![CDATA[Transfer SQL Server database schema objects and data to another server or database with SMO Have you...]]></description>
      <content:encoded><![CDATA[<P style="TEXT-ALIGN: justify; LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><A href="https://www.mssqltips.com/tip.asp?tip=1910"><SPAN style="COLOR: #336699"><STRONG>Transfer SQL Server database schema objects and data to another server or database with SMO</STRONG> </SPAN></A><BR>Have you wondered how Database Copy Wizard works behind the scenes? Do you have a requirement to create a copy of your database (say copy of your production database for development or testing) programmatically? In this article, I am going to show you how you can use SMO (SQL Server Management Objects) classes to transfer database objects and data to another server or database, to learn detail click <A href="https://www.mssqltips.com/tip.asp?tip=1910"><SPAN style="COLOR: #336699">here.</SPAN></A> <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Backup and Restore SQL Server databases programmatically with SMO</title>
      <link>https://docs.microsoft.com/archive/blogs/arali/backup-and-restore-sql-server-databases-programmatically-with-smo</link>
      <pubDate>Fri, 12 Feb 2010 04:39:00 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/arali/2010/02/12/backup-and-restore-sql-server-databases-programmatically-with-smo/</guid>
      <description><![CDATA[Backup and Restore SQL Server databases programmatically with SMO
In this article I am going to...]]></description>
      <content:encoded><![CDATA[<P style="TEXT-ALIGN: justify; LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><A href="https://www.mssqltips.com/tip.asp?tip=1849"><SPAN style="COLOR: #336699">Backup and Restore SQL Server databases programmatically with SMO</SPAN></A></SPAN></B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="TEXT-ALIGN: justify; LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI">In this article I am going to provide examples to SQL Server Database Administrators on how to backup and restore SQL Server databases programmatically with SMO. I will start with how you can issue different types (Full, Differential and Log) of backups with SMO and how to restore them when required programmatically using SMO. <A href="https://www.mssqltips.com/tip.asp?tip=1849"><SPAN style="COLOR: #336699">Click here for more details....</SPAN></A></SPAN><SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 9pt"><o:p><FONT face=Calibri>&nbsp;</FONT></o:p></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Generate SQL Scripts for database objects with SMO</title>
      <link>https://docs.microsoft.com/archive/blogs/arali/generate-sql-scripts-for-database-objects-with-smo</link>
      <pubDate>Fri, 12 Feb 2010 04:36:00 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/arali/2010/02/12/generate-sql-scripts-for-database-objects-with-smo/</guid>
      <description><![CDATA[Generate SQL Scripts for database objects with SMO
In this article I take about how you can...]]></description>
      <content:encoded><![CDATA[<P style="TEXT-ALIGN: justify; LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><A href="https://www.mssqltips.com/tip.asp?tip=1833"><SPAN style="COLOR: #336699">Generate SQL Scripts for database objects with SMO</SPAN></A></SPAN></B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="TEXT-ALIGN: justify; LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI">In this article I take about how you can generate SQL object scripts programmatically. Though you can do this through SQL Server Management Studio (SSMS) there might be times (more details on usage scenarios given below) when you would need to create SQL scripts automatically. <A href="https://www.mssqltips.com/tip.asp?tip=1833"><SPAN style="COLOR: #336699">Click here for more details....</SPAN></A></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Accessing SQL Server programmatically with SQL Server Management Objects (SMO)</title>
      <link>https://docs.microsoft.com/archive/blogs/arali/accessing-sql-server-programmatically-with-sql-server-management-objects-smo</link>
      <pubDate>Fri, 12 Feb 2010 04:35:00 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/arali/2010/02/12/accessing-sql-server-programmatically-with-sql-server-management-objects-smo/</guid>
      <description><![CDATA[Accessing SQL Server programmatically with SQL Server Management Objects (SMO)
SQL Server 2005 and...]]></description>
      <content:encoded><![CDATA[<P style="TEXT-ALIGN: justify; LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><A href="https://www.mssqltips.com/tip.asp?tip=1826"><B><SPAN style="COLOR: #336699">Accessing SQL Server programmatically with SQL Server Management Objects (SMO)</SPAN></B></A><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="TEXT-ALIGN: justify; LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI">SQL Server 2005 and 2008 provide SQL Server Management Objects (SMO), a collection of namespaces which in turn contain different classes, interfaces, delegates and enumerations, to programmatically work with and manage a SQL Server instance. SMO extends and supersedes SQL Server Distributed Management Objects (SQL-DMO) which was used for SQL Server 2000. In this article, I discuss how you can get started with SMO and how you can programmatically manage a SQL Server instance with your choice of programming language. <A href="https://www.mssqltips.com/tip.asp?tip=1826"><SPAN style="COLOR: #336699">Click here for more details....</SPAN></A></SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 8pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><o:p>&nbsp;</o:p></SPAN></P>
<P style="TEXT-ALIGN: justify; MARGIN: 0in 0in 10pt" class=MsoNormal><SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 9pt"><o:p><FONT face=Calibri>&nbsp;</FONT></o:p></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Database Impersonation with EXEC AS in SQL Server</title>
      <link>https://docs.microsoft.com/archive/blogs/arali/database-impersonation-with-exec-as-in-sql-server</link>
      <pubDate>Fri, 12 Feb 2010 04:27:00 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/arali/2010/02/12/database-impersonation-with-exec-as-in-sql-server/</guid>
      <description><![CDATA[Database Impersonation with EXEC AS in SQL ServerSQL Server 2005/2008 provides the ability to change...]]></description>
      <content:encoded><![CDATA[<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><A href="https://www.sql-server-performance.com/articles/dba/context_switching_impersonation_p1.aspx"><SPAN style="COLOR: #336699">Database Impersonation with EXEC AS in SQL Server<BR></SPAN></A><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></B></P><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI; mso-ansi-language: EN-US; mso-fareast-language: EN-US">SQL Server 2005/2008 provides the ability to change the execution/security context with the EXEC or EXECUTE AS clause. You can explicitly change the execution context by specifying a login or user name in an EXECUTE AS statement for batch execution or by specifying the EXECUTE AS clause in a module (stored procedure, triggers and user-defined functions) definition. Once the execution context is switched to another login or user name, SQL Server verifies the permission against the specified login or user (specified with EXECUTE AS statement) for subsequent execution instead of the execution context of current user. To learn more about this feature and how it works click <A href="https://www.sql-server-performance.com/articles/dba/context_switching_impersonation_p1.aspx"><SPAN style="COLOR: #336699">here.</SPAN></A></SPAN>]]></content:encoded>
    </item>
    <item>
      <title>Executing dynamic SQL scripts on remote SQL Server with EXEC AT statement</title>
      <link>https://docs.microsoft.com/archive/blogs/arali/executing-dynamic-sql-scripts-on-remote-sql-server-with-exec-at-statement</link>
      <pubDate>Fri, 12 Feb 2010 04:26:00 GMT</pubDate>
      <dc:creator><![CDATA[Garry Trinder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/arali/2010/02/12/executing-dynamic-sql-scripts-on-remote-sql-server-with-exec-at-statement/</guid>
      <description><![CDATA[Executing dynamic SQL scripts on remote SQL Server with EXEC AT statement
With SQL Server 2000, we...]]></description>
      <content:encoded><![CDATA[<P style="TEXT-ALIGN: justify; LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><A href="https://www.mssqltips.com/tip.asp?tip=1757"><SPAN style="COLOR: #336699">Executing dynamic SQL scripts on remote SQL Server with EXEC AT statement</SPAN></A></SPAN></B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="TEXT-ALIGN: justify; LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 10pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: HI">With SQL Server 2000, we had OPENQUERY and OPENROWSET to execute a pass-through query on the specified server, but it has several inherent limitations. Starting with SQL Server 2005 we have another more elegant way using "EXEC AT" to execute a pass-through query on the specified linked server which also addresses several shortcomings of OPENQUERY and OPENROWSET table functions. <A href="https://www.mssqltips.com/tip.asp?tip=1757"><SPAN style="COLOR: #336699">This article talks about this new way of executing dynamic SQL scripts on the remote server in SQL Server 2005 and 2008.</SPAN></A><o:p></o:p></SPAN></P>]]></content:encoded>
    </item>
  </channel>
</rss>