<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ASP.NET MSSQL Webhosting Blog &#187; SQL 2005</title>
	<atom:link href="http://www.mywebhostingblog.net/tag/sql-2005/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mywebhostingblog.net</link>
	<description>ASP.NET, MSSQL and Windows dedicated server articles</description>
	<lastBuildDate>Thu, 16 Sep 2010 19:53:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Error 916 Connecting SQL 2005 DB with MSSMS (Express) 2008</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/error-916-connecting-ms-sql-2005-db-with-mssms-express-2008/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/error-916-connecting-ms-sql-2005-db-with-mssms-express-2008/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 03:21:36 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[MSSMS]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[remote connection]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL 2008]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=558</guid>
		<description><![CDATA[Since eUKhost has started providing Windows 2008 Server with Shared hosting as well as with Windows dedicated Server hosting there has been allot of new errors coming across. Also ASP .NET with Visual Studio 2008 and MS SQL 2008 has been widely used after the final release of Windows 2008 Server along with MS SQL [...]]]></description>
			<content:encoded><![CDATA[<p>Since eUKhost has started providing <strong>Windows 2008 Server</strong> with <strong>Shared hosting</strong> as well as with <strong>Windows dedicated Server host</strong>ing there has been allot of new errors coming across. Also<strong> ASP .NET</strong> with Visual Studio 2008 and MS SQL 2008 has been widely used after the final release of <strong>Windows 2008 Server</strong> along with<strong> MS SQL 2008</strong>. The most command error that we have seen in combination of<strong> MS SQL 2005</strong> and <strong>SQL 2008</strong> is:</p>
<p><code>TITLE: Microsoft SQL Server Management Studio<br />
------------------------------</code></p>
<p><code>Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)<br />
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;LinkId=20476</code></p>
<p><code>------------------------------<br />
ADDITIONAL INFORMATION:<br />
</code><br />
<code>An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)<br />
------------------------------</code></p>
<p><span id="more-558"></span><br />
<code>The server principal "my_db_user" is not able to access the database "any_other_db_on_the_server" under the current security context. (Microsoft SQL Server, Error: 916)<br />
</code><br />
<code>For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;ProdVer=09.00.1399&amp;EvtSrc=MSSQLServer&amp;EvtID=916&amp;LinkId=20476</code></p>
<p>This is something similar to the image below:</p>
<div id="attachment_567" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-567" title="microsoft-sql-server-management-studio-error-9162" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/07/microsoft-sql-server-management-studio-error-9162-300x96.jpg" alt="Error Connecting to MS SQL 2005 DB Remotely Management Studio 2008" width="300" height="96" /><p class="wp-caption-text">Error Connecting to MS SQL 2005 DB Remotely Management Studio 2008</p></div>
<p>This error happen to appear while remotely connecting a database on <strong>Microsoft SQL server 2005</strong> with any version of <strong>Microsoft SQL Server Management Studio 2008</strong>, It will not appear if you connect the <strong>SQL server 2005</strong> with <strong>Microsoft SQL Server Management Studio Express 2005</strong>. And the link that has been specified in the error above is of any no use, also the error started to be reported more for a <strong>Windows Shared hosting</strong> clients rather than the one with <strong>Windows dedicated server</strong>. Because the problem only appears to happen if you connect with a user that has access to a particular database and not with the user that has administrator access over the <strong>Microsoft SQL server</strong>. I had to scratch my head for the solution as it seems to be related more to the permissions on the database user. Now the interesting thing here is that the <strong>SQL database</strong> that in the error is different than the <strong>MSSQL database</strong> on which the user has its access on.</p>
<p>After allot of searching on the web I found that this is a bug on all versions of Microsoft SQL Server Management Studio (Express) 2008 and there is a simple work around to access your database remotely with no errors at all. Here is what that is required:</p>
<p>1) Connect to the <strong>MS SQL</strong> server with the user credentials in <strong>MSSMS (Express) 2008</strong>.<br />
2) Bring Object Explorer Details window by selecting View &#8211;&gt; Object Explorer Details in menu (or just by hitting F7)<br />
3) In Object Explorer window click at Databases folder<br />
4) In Object Explorer Details Window right-click at the column header and deselect Collation<br />
5) Refresh Databases folder.</p>
<p>Refer to the image below for better understanding:</p>
<div id="attachment_568" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-568" title="microsoft-sql-server-management-studio-remove-collation2" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/07/microsoft-sql-server-management-studio-remove-collation2-300x238.jpg" alt="Fix Failed to retrieve data for this request Error: 916 Management studio" width="300" height="238" /><p class="wp-caption-text">Fix Failed to retrieve data for this request Error: 916 Management studio</p></div>
<p>That is it. This will give you the desired access over your database and you will be happily make changes as per your need.<br />
This is just another complicated error by Microsoft which has a very simple fix.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/error-916-connecting-ms-sql-2005-db-with-mssms-express-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Group Policies Overview for SQL Server</title>
		<link>http://www.mywebhostingblog.net/hosting-security/group-policies-overview-for-sql-server/</link>
		<comments>http://www.mywebhostingblog.net/hosting-security/group-policies-overview-for-sql-server/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 08:08:14 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=368</guid>
		<description><![CDATA[Group Policy is a core part of Microsoft’s IntelliMirror technology.You can use Group Policy to manage all aspects of the Server environment for Windows Server, including Registry settings, software installation, scripts, security settings, and so on.The possibilities of what can be done with Group Policy are almost limitless.With VBScript or Jscript, you can write entire [...]]]></description>
			<content:encoded><![CDATA[<p>Group Policy is a core part of <strong>Microsoft’s IntelliMirror technology</strong>.You can use Group Policy to manage all aspects of the Server environment for <strong>Windows Server</strong>, including Registry settings, software installation, scripts, security settings, and so on.The possibilities of what can be done with Group Policy are almost limitless.With <strong>VBScript</strong> or Jscript, you can write entire applications to execute via Group Policy.You can install software automatically across the network and apply patches to applications. When deciding on the <strong>Group Policies</strong> you plan to enforce on your network, you should keep in mind that the more policies applied, the more network traffic, and hence the longer it could take for users to log onto the network. Group policies are stored in Active Directory as Group Policy Objects (<strong>GPO</strong>).These objects are the instructions for the management task to perform. Group Policy is implemented in four ways:</p>
<p><span id="more-368"></span><strong>Local Group Policy: </strong><br />
Using local Group Policy involves setting up Group Policy on the local machine.This is not very useful for managing computers on a network. Local Group Policy is configured on the local computer.</p>
<p><strong>Site Group Policy:</strong></p>
<p>Site Group Policy is when the Group Policy object is linked to the site. Site Group Policies can generate unwanted network traffic, so use these only when absolutely necessary.</p>
<p><strong>Domain Group Policy:</strong><br />
Domain Group Policy is when the Group Policy object is linked to the domain.This will apply the Group Policy object to all computers and users within a domain.This is especially useful for enforcing company-wide settings.This is one of the two most commonly used applications of Group Policy.</p>
<p><strong>Organizational Unit:</strong><br />
Group Policy When the Group Policy object is linked to the organizational unit (OU). Organizational unit Group Policy is especially useful for applying a Group Policy object to a logical grouping (organizational unit) of users or computers.</p>
<p>When a <strong>Windows Server</strong> machine logs on to a Windows AD, any legacy Windows 2000<strong> Group Policies </strong>will be applied to and work on Windows Server. The new Windows Group Policy snap-in will work on a <strong>Windows 2000 </strong>AD as well as <strong>Windows 2003</strong>.You can use the Windows Group Policy snap-in to connect to any Group Policy object in the Active Directory.You can also create a new Group Policy object using this snap-in. When you connect to a <strong>GPO</strong> using this snap-in, the <strong>ADM </strong>files are automatically updated using the newer versions of these files found on Windows XP.</p>
<p>Windows has over 200 policies.These policies are reflected in the new <strong>ADM </strong>files that are updated on the domain.The Windows admin snap-in shows what policies work on which clients. Best practice in a mixed environment: Use the Latest Windows Group Policy snap-in to administer Group Policy because it will display what policies are supported on what clients.</p>
<p><strong>Group Policy Order</strong></p>
<p>When Group Policies are applied in Windows Server, they are applied in a specific order.This is important to note because the order applied can affect the resulting policy. Group Policy is applied in the following order:</p>
<p>■ Windows NT 4 Policies (if any exist)<br />
■ Windows 2000 Policies<br />
■ Local Group Policies<br />
■ Site Group Policies<br />
■ Domain Group Policies<br />
■ Organizational Group Policy Objects (going from Highest Parent in the chain to lowest)</p>
<p>Additionally, the result of all of the applied policies can be determined by using the Resultant Set of Policy (RSOP) snap-in. More information on this topic is covered later in the “Resultant Set of Policy (RSOP)” section. Figure A.1 shows how Group Policy is applied by different organizational units along with the domain Group Policy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/hosting-security/group-policies-overview-for-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How MS SQL Failover Clustering Work</title>
		<link>http://www.mywebhostingblog.net/mssql-server-hosting/how-ms-sql-failover-clustering-work/</link>
		<comments>http://www.mywebhostingblog.net/mssql-server-hosting/how-ms-sql-failover-clustering-work/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 07:01:24 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Exchange Hosting]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=365</guid>
		<description><![CDATA[The clustered nodes use a &#8220;heartbeat&#8221; signal to check whether each node is alive, at both the operating system level and the SQL Server level. At the operating system level, the nodes in the cluster are in constant communication, validating the health of all the nodes. After installing a SQL Server failover cluster, the node [...]]]></description>
			<content:encoded><![CDATA[<p>The clustered nodes use a &#8220;<strong>heartbeat</strong>&#8221; signal to check whether each node is alive, at both the operating system level and the SQL Server level. At the operating system level, the nodes in the cluster are in constant communication, validating the health of all the nodes.</p>
<p>After installing a <strong>SQL Server failover cluster</strong>, the node hosting the <strong>SQL Server</strong> resource uses the Service Control Manager to check every 5 seconds whether the SQL Server service appears to be running. This &#8220;<strong>LooksAlive</strong>&#8221; check does not impact the performance of the system, but also does not do a thorough check; the check will succeed if the service appears to be running even though it might not be operational. Because the <strong>LooksAlive </strong>check does not do a thorough check, a deeper check must be done periodically; this &#8220;<strong>IsAlive</strong>&#8221; check runs every 60 seconds.</p>
<p>The <strong>IsAlive </strong>check runs a SELECT @@SERVERNAME Transact-SQL query against <strong>SQL Server</strong> to determine whether the server can respond to requests. Although a reply to the <strong>IsAlive </strong>query confirms that the SQL Server service is available for requests, it does not guarantee that all user databases are available, or that the user databases are operating within necessary performance/response-time requirements.</p>
<p><span id="more-365"></span></p>
<p>If the <strong>IsAlive </strong>query fails, the <strong>IsAlive </strong>health check is retried five times and then it attempts to reconnect to the instance of SQL Server. If all five retries fail, the SQL Server resource fails. Depending on the <strong>failover </strong>threshold configuration of the SQL Server resource, the failover cluster will attempt to either restart the resource on the same node or it will fail over to another available node. The IsAlive query tolerates a few errors, but ultimately it fails if its threshold is exceeded.</p>
<p>During failover of the<strong> SQL Server</strong> instance,<strong> SQL Server </strong>resources start up on the new node. <strong>Windows clustering</strong> starts the SQL Server service for that instance on the new node and <strong>SQL Server</strong> goes through the recovery process to start the databases. After the service is started and the master database is online, the SQL Server resource is considered to be up. Now the user databases will go through the normal recovery process, which means that any completed transactions in the transaction log are rolled forward (the Redo phase), and any incomplete transactions are rolled back (the Undo phase). In<strong> SQL Server 2005 Enterprise Edition</strong>, each user database will be available to the user once the Redo phase completes; for the other editions, as with all previous versions, each user database is unavailable until the Undo phase completes. The length of the recovery process depends on how much activity must be rolled forward or rolled back upon startup. The &#8216;recovery interval&#8217; sp_configure option of the server can be set to a low number to avoid longer Redo recovery times and to speed up the failover process. The Undo recovery time can be reduced by using shorter transactions so that any uncommitted transactions do not have much to roll back.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/mssql-server-hosting/how-ms-sql-failover-clustering-work/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Secure MS SQL 2005 Database with EFS Encryption</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/secure-ms-sql-2005-database-with-efs-encryption/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/secure-ms-sql-2005-database-with-efs-encryption/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 05:55:31 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=340</guid>
		<description><![CDATA[EFS Encryption EFS can be used to encrypt SQL Server 2005 data files and folders. EFS is supported on Windows 2000 and later operating systems with New Technology File Systems (NTFS) formatted drives. EFS uses a combination of symmetric and asymmetric methods to provide transparent SQL Server 2005 data encryption. On Windows 2003 Server and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>EFS Encryption</strong></p>
<p>EFS can be used to encrypt <strong>SQL Server 2005</strong> data files and folders. EFS is supported on <strong>Windows 2000</strong> and later operating systems with New Technology File Systems (<strong>NTFS</strong>) formatted drives. <strong>EFS </strong>uses a combination of symmetric and asymmetric methods to provide transparent SQL Server 2005 data encryption. On <strong>Windows 2003 Server</strong> and newer operating systems, EFS by default creates a random <strong>File Encryption Key</strong>, which is a 256-bit AES key to perform data encryption.The File Encryption Key is then itself encrypted with the user’s public key and stored within the encrypted file or folder.</p>
<p><strong>To encrypt SQL Server 2005 data files and folders using EFS, follow these steps:</strong></p>
<p>1. Stop the <strong>SQL Server</strong> service.<br />
2. Log out and log in using the<strong> SQL Server </strong>service account credentials.<br />
3. Right-click on the file or folder to be encrypted and select <strong>Properties | General Tab | Advanced.</strong></p>
<p><span id="more-340"></span><br />
4. Within the Advanced attributes window, select Encrypt contents to secure data.<br />
5. Within the Advanced attributes window, press OK.<br />
6. Within the Properties tab, press OK.<br />
7. If you are encrypting a folder containing subfolders, you will be presented with another window asking if you would like to  encrypt them as well. Press OK.<br />
8. <strong>EFS encrypted files</strong> and folder names should now appear in green within any Windows file explorer window.<br />
9. Restart the <strong>SQL Server</strong> services.</p>
<p>If errors are generated, you may have encrypted the<strong> SQL Serve</strong>r data files using an account that is not linked to the <strong>SQL Server</strong> service account.You can decrypt the data folders by reversing the steps above and trying again. When encrypting individual database files, EFS first creates a plain text copy of the file to be encrypted, encrypts the target file, and then deletes the temporary file.This temporary file is not securely deleted and can be recovered using common data recovery tools. To prevent local file disclosure, you should use a secure data deletion tool to overwrite the areas of disk containing the temporary file. Alternatively, you can simply encrypt the parent folder that contains the database files to ensure any temporary files are also encrypted.</p>
<p><strong>EFS encryption</strong> is beneficial if the database media is stolen or misplaced. When transferring<strong> EFS encrypted</strong> files over the network, Windows first decrypts the file and then transfers the plain text equivalent. Some administrators perform manual backups of database files prior to implementing changes on the database server. If this backup involves copying data files from one server to another, you will effectively be storing an unencrypted copy of your database on the destination server.</p>
<p><strong>Encryption File System Contains Inherit Flaws</strong></p>
<p>On <strong>Windows Server 2003</strong>, EFS uses a strong 256-bit AES key to encrypt data. Under most circumstances, this would be an effective method of encryption; however, this AES key is protected by the user’s public key, which is based on the user’s Windows login password. This ultimately reduces EFS protection to the strength of the user’s Windows password. There are publicly available tools that can successfully decrypt EFS encrypted data by exploiting this flaw. Because of this, EFS should not be used to encrypt sensitive database data.</p>
<p><strong>Working with EFS Encrypted Data</strong></p>
<p>EFS encryption is managed by the operating system, and seamlessly provides file and folder encryption to <strong>SQL Server 2005</strong>. All <strong>SQL Serve</strong>r functions and operations remain unchanged when using this encryption method. Because EFS is handled outside of SQL Server 2005, encryption keys must be backed up separately in addition to your database backups.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/secure-ms-sql-2005-database-with-efs-encryption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Difference between SQL Server 2005 and SQL Server 2008</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/difference-between-sql-server-2005-and-sql-server-2008/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/difference-between-sql-server-2005-and-sql-server-2008/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 14:55:49 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Difference]]></category>
		<category><![CDATA[Microsoft SQL]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=455</guid>
		<description><![CDATA[MS SQL 2005 Server was released after 5 servers of it previous SQL version, MS SQL 2000, Hence it required allot to revisions to cope up with the current windows development environment. Therefore MS SQL 2005 SP2 had major changes in it, with too many performances and security fixes. Microsoft could not add few revisions [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-456 alignleft" title="difference-between-2005-2008" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/difference-between-2005-2008.jpg" alt="difference-between-2005-2008" width="200" height="252" /></p>
<p><strong>MS SQL 2005 Server</strong> was released after 5 servers of it previous SQL version, <strong>MS SQL 2000</strong>, Hence it required allot to revisions to cope up with the current <strong>windows </strong>development environment. Therefore <strong>MS SQL 2005 SP2</strong> had major changes in it, with too many performances and security fixes. Microsoft could not add few revisions due to its basic development structure however they had all the scope to introduce them in SQL 2008 release. And indeed, MS <strong>SQL 2008</strong> has many installation as well as <strong>performance </strong>fixes being applied to it and allowing <strong>Windows</strong> Administrators to have full control on <strong>SQL </strong>activities. The biggest advantage of <strong>SQL 2008</strong> over <strong>SQL 2005</strong> is the ability to manage and maintain server performance. <strong>SQL 2008</strong> does not require too much resource which is the best deal for today’s <strong>Shared Hosting</strong> environment. Also an upper hand to whose to do not want to invest too much on hardware of their <strong>dedicated servers</strong> just to run <strong>SQL server</strong> on it.</p>
<p><span id="more-455"></span></p>
<p><img class="alignright size-medium wp-image-458" title="difference-between-sql-server1" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/difference-between-sql-server1-235x300.jpg" alt="difference-between-sql-server1" width="159" height="203" />I have tried to gather the major improvement introduced by <strong>Microsoft on SQL 2008</strong> from Internet which is an advantage over <strong>SQL 2005</strong> however it all depends on what features are useful to you in the development of your ASP .NET applications. But switching to <strong>Microsoft SQL 2008</strong> is definitely going to improve the performance even if you don&#8217;t use any of the below feature. And not to forget that with the release of SQL 2008, Microsoft will announce<em><strong> &#8220;End Of Life&#8221;</strong></em> for <strong>SQL 2000</strong> version, which will mean that there won&#8217;t be any official support or update release for SQL 2000.</p>
<p><strong>Major difference between SQL 2005 and SQL 2008.</strong></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-463" title="sql 2008 dedicated hosting" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/sql-2008-hosting.png" alt="sql-2008-hosting" width="363" height="75" /></p>
<p>* <em>Easy Upgrades:</em> Version <strong>upgrades </strong>are now very easy and effective with <strong>SQL 2008</strong>.<br />
* <em>Resource Restriction Governor:</em> We set a restriction on a users or groups from consuming high resources. This is a very good feature that can be used on <strong>Windows shared serve</strong>r with SQL database to maintain the performance.<br />
* <em>Dates and Times settings: </em>New data types such as: Date, Time, Date Time Offset has been introduced.<br />
* <em>Improved Full Text Search:</em> Ability to backup Native Indexes and also thesaurus them as metadata.<br />
* <em>External Key Management:</em> This unique can store Keys separately and not with the data.<br />
* <em>Improved SQL Server Analysis Service:</em> It now has improved Stacks and computes block faster.<br />
* <em>Improved Installation:</em> Microsoft has added an option where you can uninstall Disk images and service packs.<br />
* <em>Data Synchronizing:</em> A Development of databases used in applications that frequently get disconnected.<br />
* <em>Transparent Data Encrypts:</em> It has the ability to encrypt full <strong>SQL database </strong>with different encryption Methods.</p>
<p>* <em>SQL Server Integration Service:</em> SQL 2008 Server has improved multiprocessor support and faster lookups in compare to SQL 2005.<br />
* <em>Change Data Capture:</em> Allows all changes to be captured and queried. (Enterprise). Also allows us to get detailed information on what changes has happened to which rows after a specific version.<br />
* <em><strong>LINQ:</strong></em> A Development query language for accessing multiple type of data like XML and SQL at the same time.<br />
* <em>Hot Plug CPU:</em> With this feature to an add CPUs on fly for your SQL server to use.<br />
* <em><strong>Microsoft Office 2007 integration:</strong></em> One can use MS OFFICE as an SSRS template, like SSRS to WORD.<br />
* <em>Spatial Data types:</em> Data types for storing Longitude, Latitude and GPS entry of a particular database.<br />
* <em><strong>MERGE:</strong></em> A new TSQL command as a combination Update, Insert and Delete.<br />
* <em><strong>Encrypted Backups: </strong></em>We can execute it at the time running backups to prevent tampering from external resource.<br />
* <em><strong>Data Compression:</strong></em> This feature is different as it allows us to manage data compression at table level to enhance performance.<br />
* <em>Dynamic Development:</em> Latest Visual Studio and ADO options along with ASP .Net 3.<br />
* <em>Reporting Server Performance: </em>Unlike in SQL 2005 we can set threshold on Reporting server for memory management.<br />
* <em>Performance Studio:</em> It is a Gallery that has collection of monitoring tools enhanced performance.<br />
* <em><strong>Audits:</strong></em> A very power feature for monitoring the data access of your SQL database.<br />
* <em><strong>Table Value Parameters:</strong></em> SQL 2008 database has ability to insert entire table into a stored procedure.<br />
* <em>Entity Database Services:</em> (LOB) Line Of Business framework and (eSQL) Entity Query Language.</p>
<p>No doubt that <strong>Microsoft </strong>has improved all the features that has been used by <strong>hosting services</strong>. Even <strong>SQL Cluster</strong> in <strong>version 2008</strong> has few major advantages since every one in today world wants to have their site up all the time with<strong> 100% uptime</strong>. I hope I get some time to write on &#8220;<em><strong>MS SQL 2008 Clustering..</strong></em>&#8220;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/difference-between-sql-server-2005-and-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Pass Phrases to Encrypt Data in MSSQL 2005</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/using-pass-phrases-to-encrypt-data-in-mssql-2005/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/using-pass-phrases-to-encrypt-data-in-mssql-2005/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 04:43:46 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=360</guid>
		<description><![CDATA[Using Pass Phrases to Encrypt Data A password that allows for spaces can be referred to as a pass phrase. The benefit of pass phrases is that you can make them meaningful and easy to remember. Instead of creating and managing encryption keys or certificates in your database server, you can encrypt data using only [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Using Pass Phrases to Encrypt Data</strong></p>
<p>A password that allows for spaces can be referred to as a pass phrase. The benefit of pass phrases is that you can make them meaningful and easy to remember. Instead of creating and managing encryption keys or certificates in your database server, you can encrypt data using only a pass phrase.The <strong>ENCRYPTBYPASSPHRASE</strong> statement uses the supplied pass phrase to generate a symmetric key, which is used to perform the actual data encryption. No key management is required, as the key will be recreated each time the same pass phrase is supplied.The common syntax of the<strong> ENCRYPTBYPASSPHRASE</strong> statement is as follows:</p>
<p><code>ENCRYPTBYPASSPHRASE ('PASSPHRASE', 'PLAINTEXT')</code></p>
<p>In this statement, <strong>PASSPHRASE </strong>specifies the data string to be used to derive an encryption key. <strong>PLAINTEXT </strong>specifies the data to be encrypted. No permissions are required to run the <strong>ENCRYPTBYPASSPHRASE </strong>statement.</p>
<p>The following syntax encrypts the string using the supplied pass phrase:</p>
<p><span id="more-360"></span></p>
<p><code>SELECT ENCRYPTBYPASSPHRASE('SQL Server 2005 Pass Phrase Encryption', 'pass phrase encryption test')</code></p>
<p>Here are the results:</p>
<p><code>0x01000000B0FA66E0152FB0B655B23439904E36F3ED5B758618BEED0F2A2BF918C6CF9DF685BC2A60A<br />
AD5E81D660BA5A396D1CA89</code></p>
<p>As mentioned earlier, the preceding results will differ from what you receive on your SQL Server.To decrypt data, you can use the <strong>DECRYPTBYPASSPHRASE</strong> statement.The general syntax of this statement is as follows:</p>
<p><code>DECRYPTBYPASSPHRASE ('PASSPHRASE', 'CIPHERTEXT')</code></p>
<p>In this statement, <strong>PASSPHRASE </strong>specifies the data string to be used to derive a decryption key. <strong>CIPHERTEXT </strong>specifies the data to be decrypted. Similar to the <strong>ENCRYPTBYPASSPHRASE </strong>statement, no permissions are required to execute the <strong>DECRYPTBYPASSPHRASE </strong>statement.The following syntax uses the <strong>DECRYPTBYPASSPHRASE </strong>statement to decrypt the previously encrypted data, and converts it into the human readable varchar format:</p>
<p><code>SELECT CAST (DECRYPTBYPASSPHRASE('SQL Server 2005 Pass Phrase Encryption',<br />
0x01000000B0FA66E0152FB0B655B23439904E36F3ED5B758618BEED0F2A2BF918C6CF9DF685BC2A60A<br />
AD5E81D660BA5A396D1CA89) AS varchar)</code></p>
<p>Note that you should substitute the cipher text in the preceding statement with the cipher text that you obtained from the earlier <strong>ENCRYPTBYPASSPHRASE </strong>statement. Here is what the results of running the preceding statement will look like:<br />
<code><br />
pass phrase encryption test</code></p>
<p>The encryption algorithm and key length used by pass phrase encryption have not been formally documented by Microsoft. Because of this, it is recommended that you do not use this encryption mechanism to encrypt sensitive data.</p>
<p><strong>Flaws within Microsoft Object Encryption</strong></p>
<p>The object encryption used by Microsoft is weak, and there are publicly available scripts that can successfully decrypt the objects. Further, at run-time, SQL Server internally decrypts the object and SQL Profiler can be used to capture object logic in plain text form. Due to this, object encryption should not be used to encrypt sensitive information, and you should not embed key or certificate passwords or pass phrases in SQL Server objects encrypted using objectbased encryption.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/using-pass-phrases-to-encrypt-data-in-mssql-2005/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

