<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3191818738462219789</id><updated>2024-08-28T19:00:52.550-07:00</updated><title type='text'>SharePoint Server, MOSS, SharePoint Development, Collaboration</title><subtitle type='html'>Talking about almost everything related to MS SharePoint</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-5233016558353128658</id><published>2018-11-14T15:13:00.000-08:00</published><updated>2018-11-14T15:13:13.909-08:00</updated><title type='text'>Correct Permissions to Update WordPress installed on IIS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
To make WordPress update without the need of using FTP, add the following line to wp-config.php&lt;br /&gt;
&lt;br /&gt;
/** Sets up auto update without FTP */&lt;br /&gt;
define(&#39;FS_METHOD&#39;,&#39;direct&#39;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To&amp;nbsp;Correct Permissions to Update WordPress installed on IIS, basically you need to give read/write permission to an &quot;Authenticated users&quot; and change the site Application Pool identity to LocalSystem&lt;br /&gt;
&lt;br /&gt;
In IIS manager &lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Go to Application pools and choose the one used by your WordPress site.&lt;/li&gt;
&lt;li&gt;Right Click and choose Advanced Settings...&lt;/li&gt;
&lt;li&gt;Change the Identity to LocalSystem&lt;/li&gt;
&lt;li&gt;Click OK to save changes. &lt;/li&gt;
&lt;/ol&gt;
Then on Sites list, &lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Choose your WordPress site from the sites list&lt;/li&gt;
&lt;li&gt;Right click on it and click on &lt;strong&gt;Edit permissions&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Go to security tab and click on Edit... (Group or user names)&lt;/li&gt;
&lt;li&gt;Click on add and type &quot;&lt;strong&gt;Authenticated users&lt;/strong&gt;&quot;&lt;/li&gt;
&lt;li&gt;Give read/write permission to an &quot;&lt;strong&gt;Authenticated users&lt;/strong&gt;&quot;&lt;/li&gt;
&lt;li&gt;Click OK to save changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Now try to update WordPress and it should work perfect !&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/5233016558353128658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2018/11/correct-permissions-to-update-wordpress.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/5233016558353128658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/5233016558353128658'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2018/11/correct-permissions-to-update-wordpress.html' title='Correct Permissions to Update WordPress installed on IIS'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-4298818268370536611</id><published>2016-07-19T03:45:00.002-07:00</published><updated>2016-07-19T03:45:57.355-07:00</updated><title type='text'>How to fix: Cannot connect to WMI provider. You do not have permission or the server is unreachable</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you get the following error message when you open SQL Server Configuration Manager&lt;br /&gt;
&lt;br /&gt;
&quot;Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 and later servers with SQL Server Configuration Manager.&lt;br /&gt;
Invalid class [0x80041010]&quot;&lt;br /&gt;
&lt;br /&gt;
To make it work again, open a command prompt as an administrator, and type the following command, then press ENTER:&lt;br /&gt;
mofcomp &quot;%programfiles(x86)%\Microsoft SQL Server\number\Shared\sqlmgmproviderxpsp2up.mof&quot;&lt;br /&gt;
Note For this command to succeed, the Sqlmgmproviderxpsp2up.mof file must be present in the %programfiles(x86)%\Microsoft SQL Server\number\Shared folder.&lt;br /&gt;
&lt;br /&gt;
The value of number depends on the version of SQL Server:nnn&lt;br /&gt;
&lt;br /&gt;
Microsoft SQL Server 2012&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;110&lt;br /&gt;
Microsoft SQL Server 2008 R2&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;100&lt;br /&gt;
Microsoft SQL Server 2008&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;100&lt;br /&gt;
Microsoft SQL Server 2005&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;90&lt;br /&gt;
&lt;br /&gt;
After you run the Mofcomp tool, restart the WMI service for the changes to take effect. The service name is Windows management Instrumentation.&lt;br /&gt;
&lt;br /&gt;
Thats it :)&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Ref:&amp;nbsp;https://support.microsoft.com/en-us/kb/956013&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/4298818268370536611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2016/07/how-to-fix-cannot-connect-to-wmi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/4298818268370536611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/4298818268370536611'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2016/07/how-to-fix-cannot-connect-to-wmi.html' title='How to fix: Cannot connect to WMI provider. You do not have permission or the server is unreachable'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-5319326092145617301</id><published>2015-12-05T02:09:00.000-08:00</published><updated>2015-12-05T02:09:18.550-08:00</updated><title type='text'>Change the Display Order for a User Property in SharePoint User Properties with PowerShell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
#First create a connection to the User Profile Manager&lt;br /&gt;&lt;br /&gt;
$MySite = Get-SPSite http://MySite&lt;br /&gt;
$context = Get-SPServiceContext $MySite&lt;br /&gt;
$profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)&lt;br /&gt;
&lt;br /&gt;
#Then type To view the current order&lt;br /&gt;
$profilemanager.properties | ft name,displayorder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#set the display order for a property&lt;br /&gt;
$profileManager.Properties.SetDisplayOrderByPropertyName(&quot;Languages&quot;,16)&lt;br /&gt;
$profileManager.Properties.CommitDisplayOrder()&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/5319326092145617301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2015/12/change-display-order-for-user-property.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/5319326092145617301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/5319326092145617301'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2015/12/change-display-order-for-user-property.html' title='Change the Display Order for a User Property in SharePoint User Properties with PowerShell'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-5937024408306227173</id><published>2015-11-11T02:16:00.002-08:00</published><updated>2015-11-11T02:25:29.828-08:00</updated><title type='text'>Fixed: Unable to start User profile sync service ,stuck at Starting - in SharePoint server 2013</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Issue &amp;amp; Observations&lt;br /&gt;
Unable to start User Profile sync service from Central administration site -&amp;gt;system settings-&amp;gt;Services on server. The service freezes at &quot;starting&quot; and never start.&lt;br /&gt;
netsh http delete urlacl url=http://+:5726/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Exception occured while connecting to WCF endpoint: Microsoft.SharePoint.SPEndpointAddressNotFoundException: There are no addresses available for this application. &amp;nbsp; &amp;nbsp; at Microsoft.SharePoint.SPRoundRobinServiceLoadBalancer.BeginOperation() &amp;nbsp; &amp;nbsp; at Microsoft.Office.Server.UserProfiles.MossClientBase`1.get_Channel() &amp;nbsp; &amp;nbsp; at Microsoft.Office.Server.UserProfiles.MossClientBase`1.ExecuteOnChannel(String operationName, CodeBlock codeBlock) &amp;nbsp; &amp;nbsp; at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(String operationName, CodeBlock codeBlock)&lt;br /&gt;
UserProfileApplicationProxy.InitializePropertyCache: Microsoft.Office.Server.UserProfiles.UserProfileException: There are no addresses available for this application. ---&amp;gt; Microsoft.SharePoint.SPEndpointAddressNotFoundException: There are no addresses available for this application. &amp;nbsp; &amp;nbsp; at Microsoft.SharePoint.SPRoundRobinServiceLoadBalancer.BeginOperation() &amp;nbsp; &amp;nbsp; at Microsoft.Office.Server.UserProfiles.MossClientBase`1.get_Channel() &amp;nbsp; &amp;nbsp; at Microsoft.Office.Server.UserProfiles.MossClientBase`1.ExecuteOnChannel(String operationName, CodeBlock codeBlock) &amp;nbsp; &amp;nbsp; at&lt;br /&gt;
Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(String operationName, CodeBlock codeBlock) &amp;nbsp; &amp;nbsp; --- End of inner exception stack trace --- &amp;nbsp; &amp;nbsp; at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(String operationName, CodeBlock codeBlock) &amp;nbsp; &amp;nbsp; at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.GetProfileProperties() &amp;nbsp; &amp;nbsp; at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.RefreshProperties(Guid applicationID) &amp;nbsp; &amp;nbsp; at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValueNow(K key) &amp;nbsp; &amp;nbsp; at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValue(K key, Boolean asynchronous) &amp;nbsp; &amp;nbsp; at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.InitializePropertyCache()&lt;br /&gt;
From Event viewer&lt;br /&gt;
Log Name: &amp;nbsp; &amp;nbsp; &amp;nbsp;Application&lt;br /&gt;
Source: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Microsoft-SharePoint Products-SharePoint Foundation&lt;br /&gt;
Date: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3/4/2011 12:30:23 PM&lt;br /&gt;
Event ID: &amp;nbsp; &amp;nbsp; &amp;nbsp;8077&lt;br /&gt;
Task Category: Topology&lt;br /&gt;
Level: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error&lt;br /&gt;
Keywords: &amp;nbsp; &amp;nbsp;&lt;br /&gt;
User: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Domain\sp_farm&lt;br /&gt;
Computer: &amp;nbsp; &amp;nbsp; &amp;nbsp;Computer FQDN&lt;br /&gt;
Description:&lt;br /&gt;
&quot;There are no instances of the User Profile Service started on any server in this farm. Ensure that at least one instance is started on an application server in the farm using the Services on Server page in Central Administration.&quot;&lt;br /&gt;
Event Xml:&lt;br /&gt;
&amp;lt;Event xmlns=&quot;http://schemas.microsoft.com/win/2004/08/events/event&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;System&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Provider Name=&quot;Microsoft-SharePoint Products-SharePoint Foundation&quot; Guid=&quot;{6FB7E0CD-52E7-47DD-997A-241563931FC2}&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;EventID&amp;gt;8077&amp;lt;/EventID&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Version&amp;gt;14&amp;lt;/Version&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Level&amp;gt;2&amp;lt;/Level&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Task&amp;gt;13&amp;lt;/Task&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Opcode&amp;gt;0&amp;lt;/Opcode&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Keywords&amp;gt;0x4000000000000000&amp;lt;/Keywords&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;TimeCreated SystemTime=&quot;2011-03-04T18:30:23.718750000Z&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;EventRecordID&amp;gt;18688&amp;lt;/EventRecordID&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Correlation /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Execution ProcessID=&quot;3356&quot; ThreadID=&quot;5948&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Channel&amp;gt;Application&amp;lt;/Channel&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Computer&amp;gt;Computer name&amp;lt;/Computer&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Security UserID=&quot;S-1-5-21-1834648779-3785927647-1620804944-5169&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/System&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;EventData&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Data Name=&quot;string0&quot;&amp;gt;User Profile Service&amp;lt;/Data&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/EventData&amp;gt;&lt;br /&gt;
&amp;lt;/Event&amp;gt;&lt;br /&gt;
-----------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
Log Name: &amp;nbsp; &amp;nbsp; &amp;nbsp;Application&lt;br /&gt;
Source: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Microsoft Resource Management Service&lt;br /&gt;
Date: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3/4/2011 1:00:07 PM&lt;br /&gt;
Event ID: &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
Task Category: None&lt;br /&gt;
Level: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error&lt;br /&gt;
Keywords: &amp;nbsp; &amp;nbsp; &amp;nbsp;Classic&lt;br /&gt;
User: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;N/A&lt;br /&gt;
Computer: &amp;nbsp; &amp;nbsp; &amp;nbsp;Computer name&lt;br /&gt;
Description:&lt;br /&gt;
Service cannot be started. System.Data.SqlClient.SqlException: Cannot open database &quot;Sync DB&quot; requested by the login. The login failed.&lt;br /&gt;
Login failed for user domain\sp_farm&#39;.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at Microsoft.ResourceManagement.WindowsHostService.OnStart(String[] args)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)&lt;br /&gt;
Event Xml:&lt;br /&gt;
&amp;lt;Event xmlns=&quot;http://schemas.microsoft.com/win/2004/08/events/event&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;System&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Provider Name=&quot;Microsoft Resource Management Service&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;EventID Qualifiers=&quot;0&quot;&amp;gt;0&amp;lt;/EventID&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Level&amp;gt;2&amp;lt;/Level&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Task&amp;gt;0&amp;lt;/Task&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Keywords&amp;gt;0x80000000000000&amp;lt;/Keywords&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;TimeCreated SystemTime=&quot;2011-03-04T19:00:07.000000000Z&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;EventRecordID&amp;gt;18718&amp;lt;/EventRecordID&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Channel&amp;gt;Application&amp;lt;/Channel&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Computer&amp;gt;sharepoint&amp;lt;/Computer&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Security /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/System&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;EventData&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Data&amp;gt;Service cannot be started. System.Data.SqlClient.SqlException: Cannot open database &quot;Sync DB&quot; requested by the login. The login failed.&lt;br /&gt;
Login failed for user &#39;Domain\sp_farm&#39;.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at Microsoft.ResourceManagement.WindowsHostService.OnStart(String[] args)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)&amp;lt;/Data&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/EventData&amp;gt;&lt;br /&gt;
&amp;lt;/Event&amp;gt;&lt;br /&gt;
-----------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
Log Name: &amp;nbsp; &amp;nbsp; &amp;nbsp;Application&lt;br /&gt;
Source: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Forefront Identity Manager&lt;br /&gt;
Date: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3/4/2011 1:00:07 PM&lt;br /&gt;
Event ID: &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;br /&gt;
Task Category: None&lt;br /&gt;
Level: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error&lt;br /&gt;
Keywords: &amp;nbsp; &amp;nbsp; &amp;nbsp;Classic&lt;br /&gt;
User: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;N/A&lt;br /&gt;
Computer: &amp;nbsp; &amp;nbsp; &amp;nbsp;sharepoint&lt;br /&gt;
Description:&lt;br /&gt;
.Net SqlClient Data Provider: System.Data.SqlClient.SqlException: Cannot open database &quot;Sync DB&quot; requested by the login. The login failed.&lt;br /&gt;
Login failed for user &#39;domain\sp_farm&#39;.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at Microsoft.ResourceManagement.Data.Exception.DataAccessExceptionManager.ThrowException(SqlException innerException)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at Microsoft.ResourceManagement.Data.DatabaseConnection.Open(SqlConnection connection)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at Microsoft.ResourceManagement.Data.DatabaseConnection.Open(DataStore store)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at Microsoft.ResourceManagement.Data.TransactionAndConnectionScope..ctor(Boolean createTransaction, IsolationLevel isolationLevel, DataStore dataStore)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at Microsoft.ResourceManagement.Data.TransactionAndConnectionScope..ctor(Boolean createTransaction)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at Microsoft.ResourceManagement.Data.DataAccess.RegisterService(String hostName)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.RegisterService(String hostName)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.Initialize()&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at Microsoft.ResourceManagement.WebServices.ResourceManagementServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at Microsoft.ResourceManagement.WindowsHostService.OnStart(String[] args)&lt;br /&gt;
Event Xml:&lt;br /&gt;
&amp;lt;Event xmlns=&quot;http://schemas.microsoft.com/win/2004/08/events/event&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;System&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Provider Name=&quot;Forefront Identity Manager&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;EventID Qualifiers=&quot;0&quot;&amp;gt;3&amp;lt;/EventID&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Level&amp;gt;2&amp;lt;/Level&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Task&amp;gt;0&amp;lt;/Task&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Keywords&amp;gt;0x80000000000000&amp;lt;/Keywords&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;TimeCreated SystemTime=&quot;2011-03-04T19:00:07.000000000Z&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;EventRecordID&amp;gt;18717&amp;lt;/EventRecordID&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Channel&amp;gt;Application&amp;lt;/Channel&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Computer&amp;gt;sharepoint&amp;lt;/Computer&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Security /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/System&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;EventData&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Data&amp;gt;.Net SqlClient Data Provider: Sys&lt;br /&gt;
-----------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
Log Name: &amp;nbsp; &amp;nbsp; &amp;nbsp;Application&lt;br /&gt;
Source: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Microsoft.ResourceManagement.ServiceHealthSource&lt;br /&gt;
Date: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3/4/2011 1:00:07 PM&lt;br /&gt;
Event ID: &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;br /&gt;
Task Category: None&lt;br /&gt;
Level: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error&lt;br /&gt;
Keywords: &amp;nbsp; &amp;nbsp; &amp;nbsp;Classic&lt;br /&gt;
User: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;N/A&lt;br /&gt;
Computer: &amp;nbsp; &amp;nbsp; &amp;nbsp;sharepoint&lt;br /&gt;
Description:&lt;br /&gt;
The Forefront Identity Manager Service could not bind to its endpoints. &amp;nbsp;This failure prevents clients from communicating with the Web services.&lt;br /&gt;
A most likely cause for the failure is another service, possibly another instance of Forefront Identity Manager Service, has already bound to the endpoint. &amp;nbsp;Another, less likely cause, is that the account under which the service runs does not have permission to bind to endpoints.&lt;br /&gt;
Ensure that no other processes have bound to that endpoint and that the service account has permission to bind endpoints. &amp;nbsp;Further, check the application configuration file to ensure the Forefront Identity Manager Service is binding to the correct endpoints.&lt;br /&gt;
Event Xml:&lt;br /&gt;
&amp;lt;Event xmlns=&quot;http://schemas.microsoft.com/win/2004/08/events/event&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;System&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Provider Name=&quot;Microsoft.ResourceManagement.ServiceHealthSource&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;EventID Qualifiers=&quot;0&quot;&amp;gt;2&amp;lt;/EventID&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Level&amp;gt;2&amp;lt;/Level&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Task&amp;gt;0&amp;lt;/Task&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Keywords&amp;gt;0x80000000000000&amp;lt;/Keywords&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;TimeCreated SystemTime=&quot;2011-03-04T19:00:07.000000000Z&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;EventRecordID&amp;gt;18716&amp;lt;/EventRecordID&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Channel&amp;gt;Application&amp;lt;/Channel&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Computer&amp;gt;sharepoint&amp;lt;/Computer&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Security /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/System&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;EventData&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Data&amp;gt;The Forefront Identity Manager Service could not bind to its endpoints. &amp;nbsp;This failure prevents clients from communicating with the Web services.&lt;br /&gt;
A most likely cause for the failure is another service, possibly another instance of Forefront Identity Manager Service, has already bound to the endpoint. &amp;nbsp;Another, less likely cause, is that the account under which the service runs does not have permission to bind to endpoints.&lt;br /&gt;
Ensure that no other processes have bound to that endpoint and that the service account has pe&lt;br /&gt;
-----------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
Log Name: &amp;nbsp; &amp;nbsp; &amp;nbsp;Application&lt;br /&gt;
Source: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Microsoft.ResourceManagement.ServiceHealthSource&lt;br /&gt;
Date: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3/4/2011 1:00:07 PM&lt;br /&gt;
Event ID: &amp;nbsp; &amp;nbsp; &amp;nbsp;26&lt;br /&gt;
Task Category: None&lt;br /&gt;
Level: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error&lt;br /&gt;
Keywords: &amp;nbsp; &amp;nbsp; &amp;nbsp;Classic&lt;br /&gt;
User: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;N/A&lt;br /&gt;
Computer: &amp;nbsp; &amp;nbsp; &amp;nbsp;sharepoint&lt;br /&gt;
Description:&lt;br /&gt;
The Forefront Identity Manager Service was not able to initialize a timer necessary for supporting the execution of workflows.&lt;br /&gt;
Upon startup, the Forefront Identity Manager Service must initialize and set a timer to support workflow execution. &amp;nbsp;If this timer fails to get created, workflows will not run successfully and there is no recovery other than to stop and start the Forefront Identity Manager Service.&lt;br /&gt;
Restart the Forefront Identity Manager Service.&lt;br /&gt;
Event Xml:&lt;br /&gt;
&amp;lt;Event xmlns=&quot;http://schemas.microsoft.com/win/2004/08/events/event&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;System&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Provider Name=&quot;Microsoft.ResourceManagement.ServiceHealthSource&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;EventID Qualifiers=&quot;0&quot;&amp;gt;26&amp;lt;/EventID&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Level&amp;gt;2&amp;lt;/Level&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Task&amp;gt;0&amp;lt;/Task&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Keywords&amp;gt;0x80000000000000&amp;lt;/Keywords&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;TimeCreated SystemTime=&quot;2011-03-04T19:00:07.000000000Z&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;EventRecordID&amp;gt;18715&amp;lt;/EventRecordID&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Channel&amp;gt;Application&amp;lt;/Channel&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Computer&amp;gt;sharepoint&amp;lt;/Computer&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Security /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/System&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;EventData&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Data&amp;gt;The Forefront Identity Manager Service was not able to initialize a timer necessary for supporting the execution of workflows.&lt;br /&gt;
Upon startup, the Forefront Identity Manager Service must initialize and set a timer to support workflow execution. &amp;nbsp;If this timer fails to get created, workflows will not run successfully and there is no recovery other than to stop and start the Forefront Identity Manager Service.&lt;br /&gt;
Restart the Forefront Identity Manager Service.&amp;lt;/Data&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/EventData&amp;gt;&lt;br /&gt;
&amp;lt;/Event&amp;gt;&lt;br /&gt;
-----------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
Log Name: &amp;nbsp; &amp;nbsp; &amp;nbsp;Application&lt;br /&gt;
Source: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Microsoft.ResourceManagement.ServiceHealthSource&lt;br /&gt;
Date: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3/4/2011 1:00:06 PM&lt;br /&gt;
Event ID: &amp;nbsp; &amp;nbsp; &amp;nbsp;22&lt;br /&gt;
Task Category: None&lt;br /&gt;
Level: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error&lt;br /&gt;
Keywords: &amp;nbsp; &amp;nbsp; &amp;nbsp;Classic&lt;br /&gt;
User: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;N/A&lt;br /&gt;
Computer: &amp;nbsp; &amp;nbsp; &amp;nbsp;sharepoint&lt;br /&gt;
Description:&lt;br /&gt;
The Forefront Identity Manager Service cannot connect to the SQL Database Server.&lt;br /&gt;
The SQL Server could not be contacted. The connection failure may be due to a network failure, firewall configuration error, or other connection issue. Additionally, the SQL Server connection information could be configured incorrectly.&lt;br /&gt;
Verify that the SQL Server is reachable from the Forefront Identity Manager Service computer. Ensure that SQL Server is running, that the network connection is active, and that the firewall is configured properly. Last, verify the connection information has been configured properly. This configuration is stored in the Windows Registry.&lt;br /&gt;
Event Xml:&lt;br /&gt;
&amp;lt;Event xmlns=&quot;http://schemas.microsoft.com/win/2004/08/events/event&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;System&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Provider Name=&quot;Microsoft.ResourceManagement.ServiceHealthSource&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;EventID Qualifiers=&quot;0&quot;&amp;gt;22&amp;lt;/EventID&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Level&amp;gt;2&amp;lt;/Level&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Task&amp;gt;0&amp;lt;/Task&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Keywords&amp;gt;0x80000000000000&amp;lt;/Keywords&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;TimeCreated SystemTime=&quot;2011-03-04T19:00:06.000000000Z&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;EventRecordID&amp;gt;18712&amp;lt;/EventRecordID&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Channel&amp;gt;Application&amp;lt;/Channel&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Computer&amp;gt;sharepoint&amp;lt;/Computer&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Security /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/System&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;EventData&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Data&amp;gt;The Forefront Identity Manager Service cannot connect to the SQL Database Server.&lt;br /&gt;
The SQL Server could not be contacted. The connection failure may be due to a network failure, firewall configuration error, or other connection issue. Additionally, the SQL Server connection information could be configured incorrectly.&lt;br /&gt;
Verify that the SQL Server is reachable from the Forefront Identity Manager Service computer. Ensure that SQL Server is running, that the network connection is active, and that the firewall is configured properly. Last, ver&lt;br /&gt;
&lt;br /&gt;
Cause&lt;br /&gt;
In this case, the SSP was not migrated properly. Some of the database information was not properly registered in the SharePoint server registry.&lt;br /&gt;
&lt;br /&gt;
Resolution&lt;br /&gt;
- Stop User profile service and User profile sync service on ALL SharePoint servers in the farm&lt;br /&gt;
- Clear timer config cache by following the &quot;resolution&quot; documented at thttp://support.microsoft.com/kb/939308&lt;br /&gt;
&lt;br /&gt;
- Deleted the Pending timer job related to the UPA sync service provisioning using Central administration-&amp;gt;Monitoring-&amp;gt;check job status&lt;br /&gt;
&lt;br /&gt;
- Confirmed that the security token service has only windows and anonymous enabled ( from IIS manager-&amp;gt;SharePoint web services-&amp;gt;Security token service-&amp;gt;Authentication (under IIS))&lt;br /&gt;
&lt;br /&gt;
- On the SharePoint server access the registry editor and confirm that the information related to FIM ( database servername , sync DB name etc ) are properly populated, if found wrong , back &amp;nbsp;up the registry key and edit the values to reflect the right information.&lt;br /&gt;
&lt;br /&gt;
HKLM\system\currentcontrolset001\services\FIMservice&lt;br /&gt;
HKLM\system\currentcontrolset002\services\FIMservice&lt;br /&gt;
HKLM\system\currentcontrolset\services\FIMservice&lt;br /&gt;
&lt;br /&gt;
- Delete all FIM related certificates from certificate store ( for account and system) . Make sure that no FIM related certificate is listed in any folders when looked at certificate manager.&lt;br /&gt;
&lt;br /&gt;
Here is a script to remove the ForeFrontIdentityManager Certificates off your server for you:&lt;br /&gt;
&lt;br /&gt;
net stop sptimerv4&lt;br /&gt;
net stop spadminv4&lt;br /&gt;
&lt;br /&gt;
sl cert:&lt;br /&gt;
Get-ChildItem -Recurse | Where { $_.Issuer -eq “CN=ForefrontIdentityManager” }&lt;br /&gt;
Get-ChildItem -Recurse | Where { $_.Issuer -eq “CN=ForefrontIdentityManager” } | Remove-Item&lt;br /&gt;
Get-ChildItem -Recurse | Where { $_.Issuer -eq “CN=ForefrontIdentityManager” }&lt;br /&gt;
&lt;br /&gt;
net start sptimerv4&lt;br /&gt;
net start spadminv4&lt;br /&gt;
&lt;br /&gt;
And I deleted both of the Discresionary Access Lists ( acl )&lt;br /&gt;
netsh http delete urlacl url=http://+:5725/&lt;br /&gt;
&lt;br /&gt;
- From Central administration-&amp;gt;Application management-&amp;gt;Manage service application, Make sure the User profile service application and its proxy are started, If found stopped, its always recommended to recreate them taking necessary backups (mysites)&lt;br /&gt;
&lt;br /&gt;
- Start User profile service on the machine where you would like to start the User profile sync service (use central administration console)&lt;br /&gt;
&lt;br /&gt;
- Once the service is started, try starting the User profile sync service from the central administration site&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/5937024408306227173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2015/11/unable-to-start-user-profile-sync.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/5937024408306227173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/5937024408306227173'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2015/11/unable-to-start-user-profile-sync.html' title='Fixed: Unable to start User profile sync service ,stuck at Starting - in SharePoint server 2013'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-1776792312984271578</id><published>2015-06-10T14:18:00.000-07:00</published><updated>2015-06-10T14:18:26.759-07:00</updated><title type='text'>PLESK: How-to change subscription expiry to unlimited via command line in</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Sometimes you may discover that domains suspending for no reason every day !&lt;br /&gt;
&lt;br /&gt;
Or subscriptions get automatically disabled when statistics are recalculated. This happens for several subscriptions.&lt;br /&gt;
&lt;br /&gt;
We faced this! even while subscriptions are assigned to a custom plan where resource over usage is allowed!&lt;br /&gt;
&lt;br /&gt;
Reason:&lt;br /&gt;
In Parallels Plesk control panel subscriptions get suspended automatically if their expiration date passes.&lt;br /&gt;
&lt;br /&gt;
Plesk does not renew subscriptions automatically, so it suspends a subscription when the subscription expiration date comes. By default, the expiration date is &quot;Setup date + 1 year&quot;.&lt;br /&gt;
&lt;br /&gt;
As I mentioned in my previous post&amp;nbsp;&lt;a href=&quot;http://sharepointinaction.blogspot.ae/2015/06/how-to-activate-subscription-via.html&quot; style=&quot;color: #6699cc; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;How to Activate Subscription via command line in PLESK for windows&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 13.8599996566772px; line-height: 19.4039993286133px;&quot;&gt;in Parallels PLESK - Web Admin Edition&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 13.8599996566772px; line-height: 19.4039993286133px;&quot;&gt;you don&#39;t have a tap to manage subscriptions, so you will have to do it via command line&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
To check the expiry status for your hosted domains:&lt;br /&gt;
&lt;br /&gt;
Open CMD and type the following in one line:&lt;br /&gt;
C:\Program Files (x86)\Parallels\Plesk\admin\bin&amp;gt;dbclient --direct-sql --&lt;br /&gt;
&lt;br /&gt;
sql=&quot;SELECT domains.name,limits.value,limits.limit_name FROM&lt;br /&gt;
&lt;br /&gt;
limits,subscriptionproperties INNER JOIN subscriptions ON&lt;br /&gt;
&lt;br /&gt;
subscriptionproperties.subscription_id = subscriptions.id INNER JOIN domains&lt;br /&gt;
&lt;br /&gt;
ON subscriptions.object_id = domains.id WHERE subscriptionproperties.name =&lt;br /&gt;
&lt;br /&gt;
&#39;limitsId&#39; AND limits.limit_name = &#39;expiration&#39; AND&lt;br /&gt;
&lt;br /&gt;
subscriptionproperties.value = limits.id;&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to change subscription expiry to unlimited via command line type the following:&lt;br /&gt;
C:\Program Files (x86)\Parallels\Plesk\admin\bin&amp;gt;subscription_settings.exe -u&lt;br /&gt;
mydomain.com -expiration -1&lt;br /&gt;
&lt;br /&gt;
and you are done :)&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/1776792312984271578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2015/06/plesk-how-to-change-subscription-expiry.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/1776792312984271578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/1776792312984271578'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2015/06/plesk-how-to-change-subscription-expiry.html' title='PLESK: How-to change subscription expiry to unlimited via command line in'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-619523012710526614</id><published>2015-06-10T00:03:00.000-07:00</published><updated>2015-06-10T00:03:15.590-07:00</updated><title type='text'>How to Activate Subscription via command line in PLESK for windows</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
Few days ago I faced a problem on one of my servers, the server running with Parallels PLESK 12 - Web Admin Edition.&lt;br /&gt;
&lt;br /&gt;
in Web Admin Edition you don&#39;t have a tap to manage subscriptions, one of my hosted domain suddenly suspended with no reason, when I tried to activate it I got an Error msg that the domain has been suspended by my Hosting provider and I can&#39;y active it. WHAT !! I&#39;m on my own server!&lt;br /&gt;
&lt;br /&gt;
I searched in every link in the Plesk control panel and didn&#39;t found anyway to activate it!&lt;br /&gt;
&lt;br /&gt;
the only solution was to activate it via command line as following:&lt;br /&gt;
&lt;br /&gt;
Activate Subscription:&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;C:\Program Files (x86)\Parallels\Plesk\bin&amp;gt;domain.exe --webspace-on&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;mydomain.com&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
Successfully activated&lt;br /&gt;
&lt;br /&gt;
That fixed the problem and the domain become active now, but it was only for one day :(&lt;br /&gt;
&lt;br /&gt;
The next day the domain got suspended again!&lt;br /&gt;
&lt;br /&gt;
Find out why this happened an how I fixed it permanently in the next post.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/619523012710526614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2015/06/how-to-activate-subscription-via.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/619523012710526614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/619523012710526614'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2015/06/how-to-activate-subscription-via.html' title='How to Activate Subscription via command line in PLESK for windows'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-6195196413269336292</id><published>2015-05-15T16:53:00.001-07:00</published><updated>2015-05-15T16:53:18.053-07:00</updated><title type='text'>How to update year only in a date datatype</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In some cases you may need to update your date value in database by changing the date from year to another Ex. updating your dates from year 2014 to 2015&lt;br /&gt;
&lt;br /&gt;
SQL update datetime year only&lt;br /&gt;
&lt;br /&gt;
This way is very simple:&lt;br /&gt;
&lt;br /&gt;
UPDATE TableName
  SET [Date Column] = DATEADD(YEAR, 1, [Date Column]);&lt;br /&gt;
&lt;br /&gt;
That&#39;s it !&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/6195196413269336292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2015/05/how-to-update-year-only-in-date-datatype.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/6195196413269336292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/6195196413269336292'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2015/05/how-to-update-year-only-in-date-datatype.html' title='How to update year only in a date datatype'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-7316072158031118485</id><published>2013-11-04T21:31:00.003-08:00</published><updated>2013-11-04T21:31:33.022-08:00</updated><title type='text'>Fixing a SharePoint 2010 Stuck Timer Job</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; line-height: 18px;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQopRhRNePx91v_ILb_dYeVrt_u-vPcSkR0KNHQ5divaBzU51xa8Y0kM3iH4sDonY79NwGjHdKpnF7NkzIijiIIYGvMP6t0bT7JMcACDTsnaladQgPPR7Ght-nxFNZT5vm63CSjEANGOt4/s1600/q.jpg&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;303&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQopRhRNePx91v_ILb_dYeVrt_u-vPcSkR0KNHQ5divaBzU51xa8Y0kM3iH4sDonY79NwGjHdKpnF7NkzIijiIIYGvMP6t0bT7JMcACDTsnaladQgPPR7Ght-nxFNZT5vm63CSjEANGOt4/s400/q.jpg&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; padding: 5px; position: relative;&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b style=&quot;background-color: white; color: #222222; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #222222; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #222222; line-height: 18px;&quot;&gt;Resolution :&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #222222;&quot;&gt;Toresolve this issue, clear the file system cache on all servers in the serverfarm on which the Windows SharePoint Services Timer service is running. To dothis, follow these steps:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;1&quot; style=&quot;background-color: white; color: #222222; line-height: 18px;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Stop the Timer service. To do this, follow these steps:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ol start=&quot;1&quot; style=&quot;background-color: white; color: #222222; line-height: 18px;&quot; type=&quot;1&quot;&gt;&lt;ol start=&quot;1&quot; type=&quot;a&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Click&amp;nbsp;&lt;b&gt;Start&lt;/b&gt;, point to&amp;nbsp;&lt;b&gt;Administrative Tools&lt;/b&gt;, and then click&amp;nbsp;&lt;b&gt;Services&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Right-click&amp;nbsp;&lt;b&gt;Windows SharePoint Services Timer&lt;/b&gt;, and then click&amp;nbsp;&lt;b&gt;Stop&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Close the Services console.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;On the computer that is running Microsoft Office SharePoint Server 2007 and on which the Central Administration site is hosted, click&amp;nbsp;&lt;b&gt;Start&lt;/b&gt;, click&amp;nbsp;&lt;b&gt;Run&lt;/b&gt;, type explorer, and then press ENTER.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;In Windows Explorer, locate and then double-click the following folder:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 18px; margin-left: 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;Drive&lt;/i&gt;:\Documents andSettings\All Users\Application Data\Microsoft\SharePoint\Config\&lt;i&gt;GUID&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 18px; margin-left: 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Notes&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;3&quot; style=&quot;background-color: white; color: #222222; line-height: 18px;&quot; type=&quot;1&quot;&gt;&lt;ul style=&quot;line-height: 1.4; margin: 0.5em 0px; padding: 0px 2.5em;&quot; type=&quot;circle&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The&amp;nbsp;&lt;i&gt;Drive&lt;/i&gt;&amp;nbsp;placeholder specifies the letter of the drive on which Windows is installed. By default, Windows is installed on drive C.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The&amp;nbsp;&lt;i&gt;GUID&lt;/i&gt;&amp;nbsp;placeholder specifies the GUID folder.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The Application Data folder may be hidden. To view the hidden folder, follow these steps:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ol start=&quot;1&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;On the&amp;nbsp;&lt;b&gt;Tools&lt;/b&gt;&amp;nbsp;menu, click&amp;nbsp;&lt;b&gt;Folder Options.&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Click the&amp;nbsp;&lt;b&gt;View&lt;/b&gt;&amp;nbsp;tab.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;In the&amp;nbsp;&lt;b&gt;Advanced settings&lt;/b&gt;&amp;nbsp;list, click&amp;nbsp;&lt;b&gt;Show hidden files and folders&lt;/b&gt;&amp;nbsp;under&amp;nbsp;&lt;b&gt;Hidden files and folders&lt;/b&gt;, and then click&amp;nbsp;&lt;b&gt;OK&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;In Windows Server 2008, the configuration cache is in the following location:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 18px; margin-left: 1in;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;Drive&lt;/i&gt;:\ProgramData\Microsoft\SharePoint\Config\&lt;i&gt;GUID&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; line-height: 18px;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZXltWJ_hbmN7gm-wY3auviUHPsJpnJW2BViPBH9kovsGjSN6UPzOhGE2XKZ4BQdSIrpC5T5iuH6E1Nc_pKy8FUEHB669bu8evYF0qDm1ar3-ZvVSUL_E9yMtw_p7welUHDephAUjh7L4o/s1600/p.jpg&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;303&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZXltWJ_hbmN7gm-wY3auviUHPsJpnJW2BViPBH9kovsGjSN6UPzOhGE2XKZ4BQdSIrpC5T5iuH6E1Nc_pKy8FUEHB669bu8evYF0qDm1ar3-ZvVSUL_E9yMtw_p7welUHDephAUjh7L4o/s400/p.jpg&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; padding: 5px; position: relative;&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 18px; margin-left: 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; line-height: 18px;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhThWjW9GgapZM8HbPd2qhV6M0_QfzR1Qp7ezYyqm8sLDVDnVSLFXNfAwT8bkpwMSVp6DGBK9C7LxE8Qk3Vduyws5LHLNapM5gBu9hIy-eLBSaTxHRMvmMXyL0ydo1EHKEtpNvHxWApI4Pu/s1600/r.jpg&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;355&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhThWjW9GgapZM8HbPd2qhV6M0_QfzR1Qp7ezYyqm8sLDVDnVSLFXNfAwT8bkpwMSVp6DGBK9C7LxE8Qk3Vduyws5LHLNapM5gBu9hIy-eLBSaTxHRMvmMXyL0ydo1EHKEtpNvHxWApI4Pu/s400/r.jpg&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; padding: 5px; position: relative;&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b style=&quot;background-color: white; color: #222222; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #222222; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; line-height: 18px;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHIFkwxMIomMaeEuRBnHAScGDqD7gpXFHBnX2BZj9RGZHFeDCdZO4fzuf7gEsYo2D1v1HpM6NNa1u8CpGTFnco4aZUnFStv49Fp8SNUhZ7NenZPAoNcF8hcuNcM0oUI44IBD4hImSmbbn5/s1600/s.jpg&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;277&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHIFkwxMIomMaeEuRBnHAScGDqD7gpXFHBnX2BZj9RGZHFeDCdZO4fzuf7gEsYo2D1v1HpM6NNa1u8CpGTFnco4aZUnFStv49Fp8SNUhZ7NenZPAoNcF8hcuNcM0oUI44IBD4hImSmbbn5/s400/s.jpg&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; padding: 5px; position: relative;&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b style=&quot;background-color: white; color: #222222; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #222222; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ol start=&quot;1&quot; style=&quot;background-color: white; color: #222222; line-height: 18px;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Back up the Cache.ini file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Delete all the XML configuration files in the GUID folder. Do this so that you can verify that the GUID folder is replaced by new XML configuration files when the cache is rebuilt.&lt;br /&gt;&lt;br /&gt;Note When you empty the configuration cache in the GUID folder, make sure that you do not delete the GUID folder and the Cache.ini file that is located in the GUID folder.&lt;b&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; line-height: 18px;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9PILNke779Qi6q0cMhrLIwfEdlPZ1jynmWU6Cv00icAit4AF_38Z3TL6aMhSFwmuhrrYYALWvYzPX30zbn7NZXUeUPcnt71Teg3uuB_mRmSyXR4F_YBwANzAIZ7StGtxjjhA9mKwawVoW/s1600/t.jpg&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;293&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9PILNke779Qi6q0cMhrLIwfEdlPZ1jynmWU6Cv00icAit4AF_38Z3TL6aMhSFwmuhrrYYALWvYzPX30zbn7NZXUeUPcnt71Teg3uuB_mRmSyXR4F_YBwANzAIZ7StGtxjjhA9mKwawVoW/s400/t.jpg&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; padding: 5px; position: relative;&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; line-height: 18px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; line-height: 18px;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfBgljh5_CoNpcktgFK9ecz_X0YL4vtuaNYTveE1XjxuWzROJzF8tUuzgDIdVT63NWDDvq2MO1M4icQqCfYkz1vW7TMjHXd9N53GWfZ6J2x5wligCeVilgLoT1tqM0RJ1WgtZJQdOp2AIX/s1600/u.jpg&quot; imageanchor=&quot;1&quot; style=&quot;color: #888888; margin-left: 1em; margin-right: 1em; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfBgljh5_CoNpcktgFK9ecz_X0YL4vtuaNYTveE1XjxuWzROJzF8tUuzgDIdVT63NWDDvq2MO1M4icQqCfYkz1vW7TMjHXd9N53GWfZ6J2x5wligCeVilgLoT1tqM0RJ1WgtZJQdOp2AIX/s400/u.jpg&quot; style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 5px; padding: 5px; position: relative;&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; line-height: 18px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;1&quot; style=&quot;background-color: white; color: #222222; line-height: 18px;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Double-click the Cache.ini file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;On the&amp;nbsp;&lt;b&gt;Edit&amp;nbsp;&lt;/b&gt;menu, click&amp;nbsp;&lt;b&gt;Select All&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;On the&amp;nbsp;&lt;b&gt;Edit&lt;/b&gt;&amp;nbsp;menu, click&amp;nbsp;&lt;b&gt;Delete&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Type 1, and then click&amp;nbsp;&lt;b&gt;Save&lt;/b&gt;&amp;nbsp;on the&amp;nbsp;&lt;b&gt;File&lt;/b&gt;&amp;nbsp;menu.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;On the&amp;nbsp;&lt;b&gt;File&lt;/b&gt;&amp;nbsp;menu, click&amp;nbsp;&lt;b&gt;Exit&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Start the Timer service. To do this, follow these steps:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ol start=&quot;6&quot; style=&quot;background-color: white; color: #222222; line-height: 18px;&quot; type=&quot;1&quot;&gt;&lt;ol start=&quot;0&quot; type=&quot;a&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Click&amp;nbsp;&lt;b&gt;Start&lt;/b&gt;, point to&amp;nbsp;&lt;b&gt;Administrative Tools&lt;/b&gt;, and then click&amp;nbsp;&lt;b&gt;Services&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Right-click&amp;nbsp;&lt;b&gt;Windows SharePoint Services Timer&lt;/b&gt;, and then click&lt;b&gt;Start&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Close the Services console.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 18px; margin-left: 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Note&lt;/b&gt;&amp;nbsp;The file systemcache is re-created after you perform this procedure. Make sure that youperform this procedure on all servers in the server farm.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;7&quot; style=&quot;background-color: white; color: #222222; line-height: 18px;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Make sure that the Cache.ini file in the GUID folder now contains its previous value. For example, make sure that the value of the Cache.ini file is not 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Click&amp;nbsp;&lt;b&gt;Start&lt;/b&gt;, point to&amp;nbsp;&lt;b&gt;Programs&lt;/b&gt;, point to&amp;nbsp;&lt;b&gt;Administrative Tools&lt;/b&gt;, and then click&lt;b&gt;SharePoint 3.0 Central Administration&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Click the&amp;nbsp;&lt;b&gt;Operations&lt;/b&gt;&amp;nbsp;tab, and then click&amp;nbsp;&lt;b&gt;Timer job status&lt;/b&gt;&amp;nbsp;under&amp;nbsp;&lt;b&gt;Global Configuration&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;In the list of timer jobs, verify that the status of the&amp;nbsp;&lt;b&gt;Config Refresh&lt;/b&gt;&amp;nbsp;entry is&lt;b&gt;succeeded&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;On the&amp;nbsp;&lt;/span&gt;&lt;b&gt;File&lt;/b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;menu, click&amp;nbsp;&lt;/span&gt;&lt;b&gt;Close&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/7316072158031118485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2013/11/fixing-sharepoint-2010-stuck-timer-job.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/7316072158031118485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/7316072158031118485'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2013/11/fixing-sharepoint-2010-stuck-timer-job.html' title='Fixing a SharePoint 2010 Stuck Timer Job'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQopRhRNePx91v_ILb_dYeVrt_u-vPcSkR0KNHQ5divaBzU51xa8Y0kM3iH4sDonY79NwGjHdKpnF7NkzIijiIIYGvMP6t0bT7JMcACDTsnaladQgPPR7Ght-nxFNZT5vm63CSjEANGOt4/s72-c/q.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-607221451541691385</id><published>2013-09-29T00:16:00.003-07:00</published><updated>2013-09-29T00:16:58.700-07:00</updated><title type='text'>How to Create a Minimal Master Page</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-size: 13px; line-height: 17px; overflow: auto; padding: 5px; word-wrap: normal;&quot;&gt;&lt;h1 class=&quot;heading&quot; style=&quot;font-family: &#39;Segoe UI Semibold&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 1.769em; font-weight: normal; line-height: 1.167; margin: 0px; padding-bottom: 5px; padding-top: 5px; white-space: normal;&quot;&gt;
To create a minimal master page&lt;/h1&gt;
&lt;div class=&quot;section&quot; id=&quot;procedureSection0&quot; style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; white-space: normal;&quot;&gt;
&lt;ol&gt;
&lt;li&gt;&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
Open SharePoint Designer.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
On the&amp;nbsp;&lt;strong&gt;File&lt;/strong&gt;&amp;nbsp;menu, click&amp;nbsp;&lt;strong&gt;New&lt;/strong&gt;, point to&amp;nbsp;&lt;strong&gt;SharePoint Content&lt;/strong&gt;, and then click the&amp;nbsp;&lt;strong&gt;Page&lt;/strong&gt;&amp;nbsp;tab.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
Double-click&amp;nbsp;&lt;strong&gt;Master Page&lt;/strong&gt;&amp;nbsp;to create a new master page.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
Click&amp;nbsp;&lt;strong&gt;Design&lt;/strong&gt;&amp;nbsp;to show the master page in design view. You should see header and left margin areas and several content placeholders in the master page.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
Click&amp;nbsp;&lt;strong&gt;Code&lt;/strong&gt;&amp;nbsp;to show the master page in code view.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;color: #2a2a2a; line-height: 18px; padding-bottom: 15px;&quot;&gt;
Copy the following code into the master page.&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-size: 13px; line-height: 17px; overflow: auto; padding: 5px; word-wrap: normal;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-size: 13px; line-height: 17px; overflow: auto; padding: 5px; word-wrap: normal;&quot;&gt;&amp;lt;%-- Identifies this page as a .master page written in Microsoft Visual C# and registers tag prefixes, namespaces, assemblies, and controls. --%&amp;gt;
&amp;lt;%@ Master language=&quot;C#&quot; %&amp;gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;html&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;PUBLIC&lt;/span&gt; &quot;&lt;span style=&quot;color: blue;&quot;&gt;-//W3C//DTD HTML 4.01 Transitional//EN&lt;/span&gt;&quot; &quot;&lt;span style=&quot;color: blue;&quot;&gt;http://www.w3.org/TR/html4/loose.dtd&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
&amp;lt;%@ Import Namespace=&quot;Microsoft.SharePoint&quot; %&amp;gt;
&amp;lt;%@ Register Tagprefix=&quot;SPSWC&quot; Namespace=&quot;Microsoft.SharePoint.Portal.WebControls&quot; Assembly=&quot;Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; %&amp;gt;
&amp;lt;%@ Register Tagprefix=&quot;SharePoint&quot; Namespace=&quot;Microsoft.SharePoint.WebControls&quot; Assembly=&quot;Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; %&amp;gt;
&amp;lt;%@ Register Tagprefix=&quot;WebPartPages&quot; Namespace=&quot;Microsoft.SharePoint.WebPartPages&quot; Assembly=&quot;Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; %&amp;gt;
&amp;lt;%@ Register Tagprefix=&quot;PublishingWebControls&quot; Namespace=&quot;Microsoft.SharePoint.Publishing.WebControls&quot; Assembly=&quot;Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; %&amp;gt;
&amp;lt;%@ Register Tagprefix=&quot;PublishingNavigation&quot; Namespace=&quot;Microsoft.SharePoint.Publishing.Navigation&quot; Assembly=&quot;Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; %&amp;gt;
&amp;lt;%@ Register TagPrefix=&quot;wssuc&quot; TagName=&quot;Welcome&quot; src=&quot;~/_controltemplates/Welcome.ascx&quot; %&amp;gt;
&amp;lt;%@ Register TagPrefix=&quot;wssuc&quot; TagName=&quot;DesignModeConsole&quot; src=&quot;~/_controltemplates/DesignModeConsole.ascx&quot; %&amp;gt;
&amp;lt;%@ Register TagPrefix=&quot;PublishingVariations&quot; TagName=&quot;VariationsLabelMenu&quot; src=&quot;~/_controltemplates/VariationsLabelMenu.ascx&quot; %&amp;gt;
&amp;lt;%@ Register Tagprefix=&quot;PublishingConsole&quot; TagName=&quot;Console&quot; src=&quot;~/_controltemplates/PublishingConsole.ascx&quot; %&amp;gt;
&amp;lt;%@ Register TagPrefix=&quot;PublishingSiteAction&quot; TagName=&quot;SiteActionMenu&quot; src=&quot;~/_controltemplates/PublishingActionMenu.ascx&quot; %&amp;gt;
&amp;lt;%-- Uses the Microsoft Office namespace and schema. --%&amp;gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;WebPartPages&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;SPWebPartManager&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;SharePoint&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;RobotsMetaTag&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;

  &amp;lt;%-- The head section includes a content placeholder for the page title and links to CSS and ECMAScript (JScript, JavaScript) files that run on the server. --%&amp;gt;
  &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;head&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;head&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
      &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderPageTitle&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot; &lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
      &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Sharepoint&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;CssLink&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderAdditionalPageHead&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot; &lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
  
  &amp;lt;%-- When loading the body of the .master page, SharePoint Server 2007 also loads the SpBodyOnLoadWrapper class. This class handles .js calls for the master page. --%&amp;gt;
  &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;body&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;onload&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;javascript:_spBodyOnLoadWrapper();&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
    &amp;lt;%-- The SPWebPartManager manages all of the Web part controls, functionality, and events that occur on a Web page. --%&amp;gt;
    &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;form&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;onsubmit&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;return _spFormOnSubmitWrapper();&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
      &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;wssuc&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Welcome&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;explitLogout&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
      &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;PublishingSiteAction&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;SiteActionMenu&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;  
      &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;PublishingWebControls&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;AuthoringContainer&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;authoringcontrols&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;PublishingConsole&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Console&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot; &lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
      &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;PublishingWebControls&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;AuthoringContainer&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
      &amp;lt;%-- The PlaceHolderMain content placeholder defines where to place the page content for all the content from the page layout. The page layout can overwrite any content placeholder from the master page. Example: The PlaceHolderLeftNavBar can overwrite the left navigation bar. --%&amp;gt;
      &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderMain&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot; &lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
        &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Panel&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;visible&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
        &amp;lt;%-- These ContentPlaceHolders ensure all default SharePoint Server pages render with this master page. If the system master page is set to any default master page, the only content placeholders required are those that are overridden by your page layouts. --%&amp;gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderSearchArea&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderTitleBreadcrumb&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderPageTitleInTitleArea&lt;/span&gt;&quot;  &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderLeftNavBar&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderPageImage&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderBodyLeftBorder&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderNavSpacer&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderTitleLeftBorder&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderTitleAreaSeparator&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderMiniConsole&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderCalendarNavigator&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot; &lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderLeftActions&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderPageDescription&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderBodyAreaClass&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderTitleAreaClass&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ContentPlaceHolder&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;PlaceHolderBodyRightMargin&lt;/span&gt;&quot;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;server&lt;/span&gt;&quot;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Panel&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
    &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/607221451541691385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2013/09/how-to-create-minimal-master-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/607221451541691385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/607221451541691385'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2013/09/how-to-create-minimal-master-page.html' title='How to Create a Minimal Master Page'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-6891359428200419634</id><published>2013-03-04T23:14:00.001-08:00</published><updated>2013-03-04T23:14:30.077-08:00</updated><title type='text'>Select Sql Date / DateTime Formats By Name</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– SQL format datetime by name&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– Default format: Oct 23 2006 10:40AM&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;[Default]&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– US-Style format: 10/23/2006&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;[US-Style]&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;char&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;101&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– ANSI format: 2006.10.23&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;[ANSI]&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;char&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CURRENT_TIMESTAMP,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;102&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– UK-Style format: 23/10/2006&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;[UK-Style]&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;char&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;103&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– German format: 23.10.2006&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;[German]&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;104&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– ISO format: 20061023&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;ISO&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;112&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– ISO8601 format: 2008-10-23T19:20:16.003&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;[ISO8601]&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;GETDATE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;126&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
————&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Calibri; font-size: 11pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– SQL Server datetime formats&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– Century date format MM/DD/YYYY usage in a query&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– Format dates SQL Server 2005&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;TOP&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesOrderID&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;char&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;OrderDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;101&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderDateTime&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;OrderDate&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;FROM&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;AdventureWorks&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Sales&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;SalesOrderHeader&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
/* Result&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
SalesOrderID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderDate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderDateTime&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
43697&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 07/01/2001&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2001-07-01 00:00:00.000&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
*/&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/6891359428200419634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2013/03/select-sql-date-datetime-formats-by-name.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/6891359428200419634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/6891359428200419634'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2013/03/select-sql-date-datetime-formats-by-name.html' title='Select Sql Date / DateTime Formats By Name'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-1502026576118042266</id><published>2013-03-04T23:10:00.002-08:00</published><updated>2013-03-04T23:10:30.734-08:00</updated><title type='text'>How to Create SQL Server Date Formatting function</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Courier New; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;In this post we will learn How to create a SQL Server function to display Date in&amp;nbsp;different&amp;nbsp;formats&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– SQL Server date formatting function – convert datetime to string&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
————&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– SQL datetime functions&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– SQL Server date formats&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– T-SQL convert dates&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– Formatting dates sql server&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;CREATE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;FUNCTION&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;@Datetime&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;DATETIME&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;@FormatMask&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;32&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;))&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;RETURNS&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;32&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
AS&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
BEGIN&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;DECLARE&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@StringDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;32&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@StringDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@FormatMask&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CHARINDEX&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘YYYY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;0&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@StringDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;REPLACE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘YYYY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATENAME&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;YY&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@Datetime&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;))&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CHARINDEX&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘YY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;0&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@StringDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;REPLACE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘YY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;RIGHT(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATENAME&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;YY&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@Datetime&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;))&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CHARINDEX&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘Month’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;0&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@StringDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;REPLACE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘Month’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATENAME&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;MM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@Datetime&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;))&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CHARINDEX&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘MON’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;COLLATE&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;SQL_Latin1_General_CP1_CS_AS&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@StringDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;REPLACE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘MON’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;LEFT(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;UPPER&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATENAME&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;MM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@Datetime&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;))&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CHARINDEX&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘Mon’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;0&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@StringDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;REPLACE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘Mon’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;LEFT(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATENAME&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;MM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@Datetime&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;))&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CHARINDEX&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘MM’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;0&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@StringDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;REPLACE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘MM’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;RIGHT(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;’0′&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATEPART&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;MM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@Datetime&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;))&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CHARINDEX&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘M’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;0&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@StringDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;REPLACE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘M’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CONVERT&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATEPART&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;MM&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@Datetime&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)))&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CHARINDEX&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘DD’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;0&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@StringDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;REPLACE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘DD’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;RIGHT(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;’0′&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATENAME&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;DD&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@Datetime&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;))&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;IF&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CHARINDEX&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘D’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;0&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@StringDate&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;REPLACE&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;@StringDate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘D’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;DATENAME&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;DD&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@Datetime&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;))&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;RETURN&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;@StringDate&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
END&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
GO&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– Microsoft SQL Server date format function test&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– MSSQL formatting dates&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘MM/DD/YYYY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– 01/03/2012&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘DD/MM/YYYY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– 03/01/2012&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘M/DD/YYYY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– 1/03/2012&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘M/D/YYYY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– 1/3/2012&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘M/D/YY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– 1/3/12&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘MM/DD/YY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– 01/03/12&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘MON DD, YYYY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– JAN 03, 2012&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘Mon DD, YYYY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– Jan 03, 2012&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘Month DD, YYYY’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– January 03, 2012&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘YYYY/MM/DD’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– 2012/01/03&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘YYYYMMDD’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– 20120103&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘YYYY-MM-DD’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– 2012-01-03&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
– CURRENT_TIMESTAMP returns current system date and time in standard internal format&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;dbo&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;fnFormatDate&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;CURRENT_TIMESTAMP&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘YY.MM.DD’&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– 12.01.03&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: blue; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
GO&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
....&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
In the following post we will see how to select Sql DATE/DATETIME FORMATS by name, Follow me :)&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 20px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/1502026576118042266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2013/03/how-to-create-sql-server-date.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/1502026576118042266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/1502026576118042266'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2013/03/how-to-create-sql-server-date.html' title='How to Create SQL Server Date Formatting function'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-4997160478419794302</id><published>2013-03-04T23:04:00.004-08:00</published><updated>2013-03-04T23:04:43.642-08:00</updated><title type='text'>Formating Datetime &amp; Date in Microsoft Sql Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; color: #494949; font-weight: normal; margin: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 20px;&quot;&gt;Data formats available in SQL Server.&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;content&quot; style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;
&lt;div style=&quot;color: #494949; font-family: Verdana; font-size: 10pt; padding: 0px;&quot;&gt;
We will start with the conversion options available for sql datetime formats with century (YYYY or CCYY format). Subtracting 100 from the Style (format) number will transform dates without century (YY). For example Style 103 is with century, Style 3 is without century. The default Style values – Style 0 or 100, 9 or 109, 13 or 113, 20 or 120, and 21 or 121 – always return the century (yyyy) format.&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
– Microsoft SQL Server T-SQL date and datetime formats&lt;/div&gt;
&lt;div style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
– Date time formats – mssql datetime&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
– MSSQL getdate returns current system date and time in standard internal format&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;100&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– mon dd yyyy hh:mmAM (or PM)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– Oct&amp;nbsp; 2 2008 11:01AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;101&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– mm/dd/yyyy&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;-&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;10/02/2008&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;102&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– yyyy.mm.dd – 2008.10.02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;103&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– dd/mm/yyyy&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;104&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– dd.mm.yyyy&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;105&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– dd-mm-yyyy&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;106&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– dd mon yyyy&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;107&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– mon dd, yyyy&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;108&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– hh:mm:ss&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;109&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– mon dd yyyy hh:mm:ss:mmmAM (or PM)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– Oct&amp;nbsp; 2 2008 11:02:44:013AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;110&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– mm-dd-yyyy&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;111&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– yyyy/mm/dd&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;112&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– yyyymmdd&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;113&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– dd mon yyyy hh:mm:ss:mmm&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– 02 Oct 2008 11:02:07:577&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;114&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– hh:mm:ss:mmm(24h)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;120&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– yyyy-mm-dd hh:mm:ss(24h)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;121&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– yyyy-mm-dd hh:mm:ss.mmm&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;126&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– yyyy-mm-ddThh:mm:ss.mmm&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– 2008-10-02T10:52:47.513&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
– SQL create different date styles with t-sql string functions&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;replace&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;111&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘/’&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;‘ ‘&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– yyyy mm dd&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;126&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– yyyy-mm&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;right(&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;convert&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;getdate&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;(),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;106&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;),&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;8&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;– mon yyyy&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #494949; font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: green;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt; padding: 0px;&quot;&gt;
In the following post we will create a function to&amp;nbsp;convert datetime to string, follow it&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/4997160478419794302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2013/03/formating-datetime-date-in-microsoft.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/4997160478419794302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/4997160478419794302'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2013/03/formating-datetime-date-in-microsoft.html' title='Formating Datetime &amp; Date in Microsoft Sql Server'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-5744706355133008837</id><published>2013-01-07T02:52:00.001-08:00</published><updated>2013-01-07T02:52:25.140-08:00</updated><title type='text'>SQL Queries for SharePoint Content Database</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;We will begin with some of the basic tables:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;Features&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about all the activated features for each site collection or site.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;Sites&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about all the site collections for this content database.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;Webs&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about all the specific sites (webs) in each site collection.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;UserInfo&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about all the users for each site collection.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;Groups&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about all the SharePoint groups in each site collection.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;Roles&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about all the SharePoint roles (permission levels) for each site.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;AllLists&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about lists for each site.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;GroupMembership&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about all the SharePoint group members.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;AllUserData&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about all the list items for each list.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;AllDocs&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about all the documents (and all list items) for each document library and list.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;RoleAssignment&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about all the users or SharePoint groups that are assigned to roles.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;SchedSubscriptions&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about all the scheduled subscriptions (alerts) for each user.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;ImmedSubscriptions&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;&amp;nbsp;Table that holds information about all the immediate subscriptions (alerts) for each user.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot;&gt;Some of the common queries that can be used against the content database:&lt;/strong&gt;&lt;br style=&quot;background-color: white; color: #333333; font-size: 15px; line-height: 20px;&quot; /&gt;-- Query to get all the top level site collections&lt;br /&gt;SELECT SiteId AS SiteGuid, Id AS WebGuid, FullUrl AS Url, Title, Author, TimeCreated&lt;br /&gt;FROM dbo.Webs&lt;br /&gt;WHERE (ParentWebId IS NULL)&lt;br /&gt;&lt;br /&gt;-- Query to get all the child sites in a site collection&lt;br /&gt;SELECT SiteId AS SiteGuid, Id AS WebGuid, FullUrl AS Url, Title, Author, TimeCreated&lt;br /&gt;FROM dbo.Webs&lt;br /&gt;WHERE (NOT (ParentWebId IS NULL))&lt;br /&gt;&lt;br /&gt;-- Query to get all the SharePoint groups in a site collection&lt;br /&gt;SELECT dbo.Webs.SiteId, dbo.Webs.Id, dbo.Webs.FullUrl, dbo.Webs.Title, dbo.Groups.ID AS Expr1,&lt;br /&gt;dbo.Groups.Title AS Expr2, dbo.Groups.Description&lt;br /&gt;FROM dbo.Groups INNER JOIN&lt;br /&gt;dbo.Webs ON dbo.Groups.SiteId = dbo.Webs.SiteId&lt;br /&gt;&lt;br /&gt;-- Query to get all the users in a site collection&lt;br /&gt;SELECT dbo.Webs.SiteId, dbo.Webs.Id, dbo.Webs.FullUrl, dbo.Webs.Title, dbo.UserInfo.tp_ID,&lt;br /&gt;dbo.UserInfo.tp_DomainGroup, dbo.UserInfo.tp_SiteAdmin, dbo.UserInfo.tp_Title, dbo.UserInfo.tp_Email&lt;br /&gt;FROM dbo.UserInfo INNER JOIN&lt;br /&gt;dbo.Webs ON dbo.UserInfo.tp_SiteID = dbo.Webs.SiteId&lt;br /&gt;-- Query to get all the members of the SharePoint Groups&lt;br /&gt;SELECT dbo.Groups.ID, dbo.Groups.Title, dbo.UserInfo.tp_Title, dbo.UserInfo.tp_Login&lt;br /&gt;FROM dbo.GroupMembership INNER JOIN&lt;br /&gt;dbo.Groups ON dbo.GroupMembership.SiteId = dbo.Groups.SiteId INNER JOIN&lt;br /&gt;dbo.UserInfo ON dbo.GroupMembership.MemberId = dbo.UserInfo.tp_ID&lt;br /&gt;-- Query to get all the sites where a specific feature is activated&lt;br /&gt;SELECT dbo.Webs.Id AS WebGuid, dbo.Webs.Title AS WebTitle, dbo.Webs.FullUrl AS WebUrl, dbo.Features.FeatureId,&lt;br /&gt;dbo.Features.TimeActivated&lt;br /&gt;FROM dbo.Features INNER JOIN&lt;br /&gt;dbo.Webs ON dbo.Features.SiteId = dbo.Webs.SiteId AND dbo.Features.WebId = dbo.Webs.Id&lt;br /&gt;WHERE (dbo.Features.FeatureId = &#39;00BFEA71-D1CE-42de-9C63-A44004CE0104&#39;)&lt;br /&gt;&lt;br /&gt;-- Query to get all the users assigned to roles&lt;br /&gt;SELECT dbo.Webs.Id, dbo.Webs.Title, dbo.Webs.FullUrl, dbo.Roles.RoleId, dbo.Roles.Title AS RoleTitle,&lt;br /&gt;dbo.UserInfo.tp_Title, dbo.UserInfo.tp_Login&lt;br /&gt;FROM dbo.RoleAssignment INNER JOIN&lt;br /&gt;dbo.Roles ON dbo.RoleAssignment.SiteId = dbo.Roles.SiteId AND&lt;br /&gt;dbo.RoleAssignment.RoleId = dbo.Roles.RoleId INNER JOIN&lt;br /&gt;dbo.Webs ON dbo.Roles.SiteId = dbo.Webs.SiteId AND dbo.Roles.WebId = dbo.Webs.Id INNER JOIN&lt;br /&gt;dbo.UserInfo ON dbo.RoleAssignment.PrincipalId = dbo.UserInfo.tp_ID&lt;br /&gt;&lt;br /&gt;-- Query to get all the SharePoint groups assigned to roles&lt;br /&gt;SELECT dbo.Webs.Id, dbo.Webs.Title, dbo.Webs.FullUrl, dbo.Roles.RoleId, dbo.Roles.Title AS RoleTitle,&lt;br /&gt;dbo.Groups.Title AS GroupName&lt;br /&gt;FROM dbo.RoleAssignment INNER JOIN&lt;br /&gt;dbo.Roles ON dbo.RoleAssignment.SiteId = dbo.Roles.SiteId AND&lt;br /&gt;dbo.RoleAssignment.RoleId = dbo.Roles.RoleId INNER JOIN&lt;br /&gt;dbo.Webs ON dbo.Roles.SiteId = dbo.Webs.SiteId AND dbo.Roles.WebId = dbo.Webs.Id INNER JOIN&amp;nbsp;dbo.Groups ON dbo.RoleAssignment.SiteId = dbo.Groups.SiteId AND&lt;br /&gt;dbo.RoleAssignment.PrincipalId = dbo.Groups.ID&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;--&amp;nbsp;&lt;/span&gt;Query to get&amp;nbsp;&lt;span style=&quot;font-family: inherit;&quot;&gt;all Files by date&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;SELECT AllLists.tp_Title AS &#39;List Name&#39;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;AllDocs.LeafName AS &#39;File Name&#39;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;AllDocs.[TimeLastModified] AS &#39;TimeLastModified&#39;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;AllDocs.DirName AS &#39;URL&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;FROM AllDocs&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;JOIN AllLists&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;ON&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;AllLists.tp_id = AllDocs.ListId WHERE AllDocs.[TimeLastModified]&amp;gt;=&#39;2012-01-01&#39; AND AllDocs.Type &amp;lt;&amp;gt; 1 AND (LeafName NOT LIKE&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&#39;%.stp&#39;) AND (LeafName NOT LIKE &#39;%.aspx&#39;) AND (LeafName NOT LIKE &#39;%.xfp&#39;) AND (LeafName NOT LIKE &#39;%.dwp&#39;) AND (LeafName NOT&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;LIKE &#39;%template%&#39;) AND (LeafName NOT LIKE &#39;%.inf&#39;) AND (LeafName NOT LIKE &#39;%.css&#39;)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/5744706355133008837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2013/01/sql-queries-for-sharepoint-content.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/5744706355133008837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/5744706355133008837'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2013/01/sql-queries-for-sharepoint-content.html' title='SQL Queries for SharePoint Content Database'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-3347374896855819360</id><published>2012-12-23T00:28:00.003-08:00</published><updated>2012-12-23T00:32:36.650-08:00</updated><title type='text'>Accessing list items using the object model</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;There are various ways of accessing the List Items (SPListItem) in a List (SPList).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Accessing list items in the same site&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;SPList.Items foreach&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This SPListItem Collection works directly against the underlying SharePoint List (SPList). Any updates made against List Items are updated on the server.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The below code shows enumerating through all List Items in a List.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;using (SPWeb web = siteCollection.AllWebs[&amp;amp;quot;webname&amp;amp;quot;])&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; SPListItemCollection items = web.Lists[&amp;amp;quot;Document Library&amp;amp;quot;].Items;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; foreach (SPListItem item in items)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; Console.Write(item.Title);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;background-color: #fff2cc;&quot;&gt;Iterating on Collection Properties of objects with for loop&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Please note that when iterating through a list, to reduce underlying calls to the database, be very careful what property you iterate on. Make sure in this example you do not use:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;for(int i; i &amp;amp;lt;= web.Lists[&amp;amp;quot;Document Library&amp;amp;quot;].Items.Count; i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;Console.WriteLine(web.Lists[&amp;amp;quot;Document Library&amp;amp;quot;].Items[i].Title.ToString());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;This will cause a new SPListItemCollection object everytime the property is accessed. An example of the performance hit on this would be that if the list had 100 items, you would get 200 hits to the database. By instantiating an SPListItemCollection object outside of the foreach loop reduces this significantly.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;SPListItemCollection items = web.Lists[&amp;amp;quot;Document Library&amp;amp;quot;].Items;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;for(int i; i &amp;amp;lt;= items.Count; i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;Console.WriteLine(items[i].Title.ToString());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Source: &lt;a href=&quot;http://blog.dynatrace.com/2009/01/11/the-wrong-way-to-iterate-through-sharepoint-splist-items/&quot; target=&quot;_blank&quot;&gt;The wrong way to iterate through SharePoint SPList Items by Andreas Grabner&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Accessing List Item instances&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The below code shows accessing a List Item by its identifier (Int).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;using (SPWeb web = siteCollection.AllWebs[&amp;amp;quot;webname&amp;amp;quot;])&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; SPList list = web.Lists[&amp;amp;quot;Document Library&amp;amp;quot;];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; SPListItem item = list.GetItemById(id);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; Console.Write(item.Title);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;background-color: #fff2cc;&quot;&gt;Performance mini Case Study&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://techblooms.com/post/2009/04/16/Fine-Tune-SharePoint-Application-Performance-issue-in-SPListItemCollectionGetItembyID.aspx&quot; target=&quot;_blank&quot;&gt;Gopinath Devadasshad&lt;/a&gt; an issue with this code pattern using GetItemById and noticed a 30 second to 3 second difference in performance compared to using SPQuery (see below).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The below code shows accessing a List Item by it&#39;s unique identifier (Guid).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;using (SPWeb web = siteCollection.AllWebs[&amp;amp;quot;webname&amp;amp;quot;])&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; SPList list = web.Lists[&amp;amp;quot;Document Library&amp;amp;quot;];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; SPListItem item = list.GetItemByUniqueId(guid);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; Console.Write(item.Title);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;background-color: #fff2cc;&quot;&gt;MSDN Guidance&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Please note that it is advised not to use SPList.Items[System.Guid] and SPList.Items[System.Int32] as mentioned in &#39;Table 1. Alternatives to SPList.Items on the source referenced below&#39;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Source:&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/bb687949.aspx&quot; target=&quot;_blank&quot;&gt; MSDN:Best Practices: Common Coding Issues When Using the SharePoint Object Model&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;SPList.Items foreach with SPQuery&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SPList list = SPContext.Current.Web.Lists[&amp;amp;quot;Contracts&amp;amp;quot;];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SPQuery query = new SPQuery();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;query.Query = string.Format(&amp;amp;quot;&amp;amp;lt;Where&amp;amp;gt;&amp;amp;lt;Eq&amp;amp;gt;&amp;amp;lt;FieldRef Name=&#39;ID&#39; &amp;amp;#47;&amp;amp;gt;&amp;amp;lt;Value Type=&#39;Counter&#39;&amp;amp;gt;{0}&amp;amp;lt;&amp;amp;#47;Value&amp;amp;gt;&amp;amp;lt;&amp;amp;#47;Eq&amp;amp;gt;&amp;amp;lt;&amp;amp;#47;Where&amp;amp;gt;&amp;amp;quot;,&amp;amp;quot;407&amp;amp;quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SPListItem item = list.GetItems(query)[0];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SPList.Items.GetDataTable()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SPListItemCollection.GetDataTable Method (Microsoft.SharePoint)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Returns a copy of the list items as an ADO.NET DataTable, any updates to the DataTable do not affect the underlying SharePoint List (SPList).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;using (SPWeb web = siteCollection.AllWebs[&amp;amp;quot;webname&amp;amp;quot;])&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; SPList list = web.Lists[&amp;amp;quot;Document Library&amp;amp;quot;];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; DataTable table = list.GetItems(list.DefaultView).GetDataTable();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;amp;#47;&amp;amp;#47;TODO: enumerate DataTable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;SPList.Items.GetDataTable() with SPQuery&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Returns a copy of the list items as an ADO.NET DataTable, any updates to the DataTable do not affect the underlying SharePoint List (SPList).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;PortalSiteMapProvider.GetCachedListItemsByQuery&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Requires Microsoft Office SharePoint Server (not WSS) using the Publishing feature. Returns a copy of the list items, any updates to the DataTable do not affect the underlying SharePoint List (SPList).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;PortalSiteMapProvider psmp = PortalSiteMapProvider.CurrentNavSiteMapProviderNoEncode;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SPQuery query = new SPQuery&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; ViewFields = &amp;amp;quot;&amp;amp;lt;FieldRef Name=&#39;Title&#39; &amp;amp;#47;&amp;amp;gt;&amp;amp;lt;FieldRef Name=&#39;ID&#39; &amp;amp;#47;&amp;amp;gt;&amp;amp;quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; Query = &amp;amp;quot;&amp;amp;quot;, &amp;nbsp;&amp;amp;#47;&amp;amp;#47; replace with your CAML query&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; RowLimit = 10&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;};&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SPListItemCollection listItemNodes = _portalSiteMapProvider.GetCachedListItemsByQuery(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;((PortalSiteMapNode)psmp.CurrentNode).WebNode,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; &amp;nbsp;&amp;amp;quot;List Title&amp;amp;quot;, query, web);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;SPWeb.GetListItem(string url)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.getlistitem.aspx&quot;&gt;SPWeb.GetListItem&lt;/a&gt; method &amp;nbsp;allows you to retrieve a list item using its URL:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SPListItem listItem = SPContext.Current.Web.GetListItem(listItemUrl);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Such approach for retrieving list items is extremely useful while working with Publishing Pages with elevated privileges:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SPSecurity.RunWithElevatedPrivileges(delegate() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; using (SPSite site = new SPSite(SPContext.Current.Site.ID))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; using (SPWeb web = site.OpenWeb(SPContext.Current.Web.ID))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; string listItemUrl = SPContext.Current.ListItemServerRelativeUrl;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; SPListItem listItem = web.GetListItem(listItemUrl);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;#47;&amp;amp;#47; do something with the list item&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;});&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;background-color: #fff2cc;&quot;&gt;Keep in mind&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;In spite of being called in the context of a site (web.GetListItem) the GetListItem(string) method requires a server-relative URL in order to retrieve a list item. Providing a site-relative URL will result in a COMException (more information available @ &lt;a href=&quot;http://blog.mastykarz.nl/inconvenient-spweb-getlistitem-exception-hresult-0x80070001/&quot;&gt;http://blog.mastykarz.nl/inconvenient-spweb-getlistitem-exception-hresult-0x80070001/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;List Web Service&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;See &lt;a href=&quot;https://www.nothingbutsharepoint.com/sites/devwiki/SP2007Dev/Pages/Lists%20SharePoint%20Web%20Service.aspx&quot;&gt;Lists SharePoint&lt;/a&gt; Web Service&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Accessing list items in multiple sites&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Waldek Mastykarz: &lt;a href=&quot;http://blog.mastykarz.nl/performance-of-content-aggregation-queries-on-multiple-lists/&quot;&gt;Performance of content aggregation queries on multiple lists&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;SPSiteDataQuery&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Returns a&lt;b&gt; copy&lt;/b&gt; of the list items, any updates to the DataTable do not affect the underlying SharePoint List (SPList).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Source: &lt;a href=&quot;http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/d5fffc90-dbaf-4740-be72-cb9022dbdcf8#e24eb8a6-9be8-4264-bafd-cbce35c4d3b6&quot;&gt;Chakkaradeep Chandran&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;StringBuilder queryBuilder = new StringBuilder();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SPSiteDataQuery oQuery = new SPSiteDataQuery();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;oQuery.Lists = &amp;amp;quot;&amp;amp;lt;Lists BaseType=&#39;1&#39;&amp;amp;#47;&amp;amp;gt;&amp;amp;quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;oQuery.RowLimit = 100;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;oQuery.Webs = &amp;amp;quot;&amp;amp;lt;Webs Scope=\&amp;amp;quot;Recursive\&amp;amp;quot; &amp;amp;#47;&amp;amp;gt;&amp;amp;quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;queryBuilder.Append(&amp;amp;quot;&amp;amp;lt;Where&amp;amp;gt;&amp;amp;lt;Eq&amp;amp;gt;&amp;amp;lt;FieldRef Name=\&amp;amp;quot;UniqueId\&amp;amp;quot; &amp;amp;#47;&amp;amp;gt;&amp;amp;quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;queryBuilder.Append(&amp;amp;quot;&amp;amp;lt;Value Type=\&amp;amp;quot;Lookup\&amp;amp;quot;&amp;amp;gt;&amp;amp;quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;queryBuilder.Append(&amp;amp;quot;e5d483ac-1c4a-4699-bcd1-dd0bb0455a71&amp;amp;quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;queryBuilder.Append(&amp;amp;quot;&amp;amp;lt;&amp;amp;#47;Value&amp;amp;gt;&amp;amp;lt;&amp;amp;#47;Eq&amp;amp;gt;&amp;amp;lt;&amp;amp;#47;Where&amp;amp;gt;&amp;amp;quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;oQuery.Query = queryBuilder.ToString();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;DataTable dtResult = web.GetSiteData(oQuery);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;More on SPSiteDataQuery&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;https://www.nothingbutsharepoint.com/sites/devwiki/SP2007Dev/Pages/SPSiteDataQuery%20Samples%20for%20WSS%20v3.0.aspx&quot;&gt;SPSiteDataQuery Samples for WSS v3.0&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;CrossListQueryCache&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Uses the same caching functionality as the Content Query Web Part and similarly requires Microsoft Office SharePoint Server 2007 Standard minimum. Returns a copy of the list items, any updates to the DataTable do not affect the underlying SharePoint List (SPList).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;CrossListQueryInfo clqInfo = new CrossListQueryInfo();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;clqInfo.Webs = &amp;amp;quot;&amp;amp;lt;Webs Scope=&#39;SiteCollection&#39;&amp;amp;#47;&amp;amp;gt;&amp;amp;quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;clqInfo.Lists = &amp;amp;quot;&amp;amp;lt;Lists ServerTemplate=&#39;101&#39;&amp;amp;#47;&amp;amp;gt;&amp;amp;quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;clqInfo.ViewFields = &amp;amp;quot;&amp;amp;lt;FieldRef Name=&#39;Title&#39; &amp;amp;#47;&amp;amp;gt;&amp;amp;lt;FieldRef Name=&#39;ID&#39; &amp;amp;#47;&amp;amp;gt;&amp;amp;quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;clqInfo.Query = &amp;amp;quot;&amp;amp;quot;; &amp;amp;#47;&amp;amp;#47; replace with your CAML query&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;clqInfo.RowLimit = 10;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;clqInfo.UseCache = true;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;CrossListQueryCache clqCache = new CrossListQueryCache(clqInfo);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;DataTable resultsTable = clqCache.GetSiteData(SPContext.Current.Site);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;background-color: #fff2cc;&quot;&gt;Query context&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://oidatsmyleg.wordpress.com/2009/08/13/cross-site-collection-query-almost/&quot;&gt;David Crabbe&lt;/a&gt; explains that only the current site collection can be queried using CrossListQueryCache.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;background-color: #fff2cc;&quot;&gt;Caching&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://sharepoint.nailhead.net/2008/04/musing-on-crosslistquerycache-class.html&quot;&gt;Jeff Dalton&lt;/a&gt; has found that only GetSiteData methods using SPSite parameters are cached (not SPWeb).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;MSDN references&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.publishing.crosslistqueryinfo.aspx&quot;&gt;CrossListQueryInfo&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.publishing.crosslistquerycache.aspx&quot;&gt;CrossListQueryCache&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Search&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Returns a copy of the list items, any updates to the DataTable do not affect the underlying SharePoint List (SPList).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;External Links&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;White Paper: &lt;a href=&quot;http://office.microsoft.com/download/afile.aspx?AssetID=AM102377231033&quot;&gt;Working with large lists in Office SharePoint® Server 2007&lt;/a&gt; - Extremely good white paper showing the differences in performance of various methods of accessing lists with graphs to prove it!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.gscottsingleton.com/post/Measure-48000-times3b-Cut-once.aspx&quot;&gt;Measure 48,000 times; Cut once by Scott Singleton&lt;/a&gt; Great post on performance based on method used to access List Items.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;https://www.nothingbutsharepoint.com/sites/devwiki/SP2007Dev/Pages/Accessing%20list%20items%20using%20the%20object%20model.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Original Post by:&amp;nbsp;Jeremy Thake&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/3347374896855819360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2012/12/accessing-list-items-using-object-model_23.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/3347374896855819360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/3347374896855819360'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2012/12/accessing-list-items-using-object-model_23.html' title='Accessing list items using the object model'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-751966861859796357</id><published>2012-11-19T21:34:00.000-08:00</published><updated>2012-11-19T21:34:38.176-08:00</updated><title type='text'>Convert column data type from multiline to single line in SharePoint 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;If you create a&amp;nbsp;SharePoint&amp;nbsp;list by importing a spreadsheet you will find that in&amp;nbsp;SharePoint&amp;nbsp;2010 all free text columns are converted to the multiline data type by default.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;This is a problem if you want to filter the multiline&amp;nbsp;columns in&amp;nbsp;a list by clicking on the column heading because column filtering will only work if the column is a single line data type.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;So to change a multiline data type column to a single line do this:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;1.&amp;nbsp;&amp;nbsp;Browse to the &quot;List Settings&quot; for the list.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;2. Click on the multiline column:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB-Q9r-u13FFMUykepdtQWkQpdoJf0hjbr2aqj2noI0CkEZvgy2rSw_SPVjNVWokSrZUizG3p-RHr0azkxHNgSFxzgBB8WKPPYlEy667KuDOGRUlH-m4BkcOtHd3rgGHfOM2ztjs6esq-Q/s1600/multi1.jpg&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;3. Change the Rich Text property to Plain text and press OK. Press OK again when warned:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFXj4cHUnTfK_KH2rr4VbLwGS8OpWhT4FppbXFF2xEbrtfCyAQb8waozIZ5LWgrn5NuOpzZ36mfEY1J6fEDjKqrdQ1hTk34Vkv3jSIFOeaKbO9QdLNTk4N18aATVTpFxkCSnfYKIFmoAiD/s1600/multi2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFXj4cHUnTfK_KH2rr4VbLwGS8OpWhT4FppbXFF2xEbrtfCyAQb8waozIZ5LWgrn5NuOpzZ36mfEY1J6fEDjKqrdQ1hTk34Vkv3jSIFOeaKbO9QdLNTk4N18aATVTpFxkCSnfYKIFmoAiD/s1600/multi2.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
4. Select the same column again as in step 2.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
5. You should now see an option to change the data type to Single line of text. Press OK when done and press OK to the warning:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYicbISa27tx0MrygJKMp72RerUyD2knksQDkPEN8cUXad9hESQkhEYT32glKrbT8X7-tDkXJGXxueiEvdaWWZvhStdMsoZ_FN0RoCSiZmZIlWDiT2ltxACAxEH29NbS8BYzaLF5jqPCYl/s1600/multi3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYicbISa27tx0MrygJKMp72RerUyD2knksQDkPEN8cUXad9hESQkhEYT32glKrbT8X7-tDkXJGXxueiEvdaWWZvhStdMsoZ_FN0RoCSiZmZIlWDiT2ltxACAxEH29NbS8BYzaLF5jqPCYl/s1600/multi3.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;You can also do this in&amp;nbsp;SharePoint&amp;nbsp;2010 Designer but you must first change the Rich text setting to Plain text and save the changes, then change from multiline to single line, click off the column, OK the warning then save again.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/751966861859796357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2012/11/convert-column-data-type-from-multiline.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/751966861859796357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/751966861859796357'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2012/11/convert-column-data-type-from-multiline.html' title='Convert column data type from multiline to single line in SharePoint 2010'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB-Q9r-u13FFMUykepdtQWkQpdoJf0hjbr2aqj2noI0CkEZvgy2rSw_SPVjNVWokSrZUizG3p-RHr0azkxHNgSFxzgBB8WKPPYlEy667KuDOGRUlH-m4BkcOtHd3rgGHfOM2ztjs6esq-Q/s72-c/multi1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-5055318615390174278</id><published>2012-11-08T02:08:00.001-08:00</published><updated>2012-11-08T02:08:06.592-08:00</updated><title type='text'>How to get database records for last 7 days date or last week only</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
To get the records for the last 7 days, it would be something like:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;select RecordDate, Id&lt;br /&gt;from your_table&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;where&amp;nbsp;RecordDate&amp;nbsp;&amp;gt; DATEADD(day, -7, GETDATE())&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
To get the records for the last week only (within&amp;nbsp;the last week not last 7 days)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;select RecordDate, Id&lt;br /&gt;from your_table&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;where&amp;nbsp;RecordDate&amp;nbsp;&amp;gt; DATEADD(day, -7, GETDATE())&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;and DATEPART(week,&amp;nbsp;RecordDate) = DATEPART(week, GETDATE())&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
This query will return all records having a date later than 7 days before current date/time.&lt;br /&gt;
&lt;br /&gt;
If you don&#39;t want the hours to be taken into account, then try something like this (works only on 2008 due to date datatype cast):&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;select&amp;nbsp;RecordDate, Id&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;from your_table&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;where&amp;nbsp;RecordDate&amp;nbsp;&amp;gt; DATEADD(day, -7, cast(GETDATE() as date))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;and DATEPART(week,&amp;nbsp;RecordDate) = DATEPART(week, GETDATE())&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Here&#39;s the version without the hours for 2005:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;select&amp;nbsp;RecordDate, Id&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&amp;nbsp; &amp;nbsp; from your_table&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&amp;nbsp; &amp;nbsp; where&amp;nbsp;RecordDate&amp;nbsp;&amp;gt; DATEADD(day, -7, CONVERT(datetime, CONVERT(char(10), GETDATE(),&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;101)))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;and DATEPART(week,&amp;nbsp;RecordDate) = DATEPART(week, GETDATE())&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That&#39;s it :)&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/5055318615390174278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2012/11/how-to-get-database-records-for-last-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/5055318615390174278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/5055318615390174278'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2012/11/how-to-get-database-records-for-last-7.html' title='How to get database records for last 7 days date or last week only'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-7591275104745702286</id><published>2012-11-04T02:25:00.001-08:00</published><updated>2012-11-04T02:25:50.481-08:00</updated><title type='text'>Column and View Permissions in SharePoint 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Recently I ran into a codeplex webpart that allows you to specificy column and view permissions for SharePoint 2010.&lt;br /&gt;
&lt;br /&gt;
View permissions disable access to some views on a SharePoint Library or list, and the column permissions hide or set columns to ReadOnly for specified groups. Column permissions work on normal list views, where authenticated users will see columns. Column permissions also apply on the three default SharePoint aspx pages:&lt;br /&gt;
&lt;br /&gt;
EditForm.aspx&lt;br /&gt;
NewForm.aspx&lt;br /&gt;
DisplayForm.aspx&lt;br /&gt;
&lt;br /&gt;
This feature can be downloaded from &lt;a href=&quot;http://spcolumnpermission.codeplex.com/&quot;&gt;http://spcolumnpermission.codeplex.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Install instructions and a more in depth description is given on the site. Below is a screenshot from list settings page where the view and the column permission for a list/library can be set up/configured&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7vQ9NYv3Cb4wh_pmzA4zsCaTHCUG6I2g919EhwRrrpnEFUo9bb2YaOIy1o9p-Kux9TO9IubKHauEPHJjxl3VeEY41DvlCDe9sNxuB2-7RhCnSHJBH4BEkh9ZmIMpq41lO6fpuIagVUeOZ/s1600/blog.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7vQ9NYv3Cb4wh_pmzA4zsCaTHCUG6I2g919EhwRrrpnEFUo9bb2YaOIy1o9p-Kux9TO9IubKHauEPHJjxl3VeEY41DvlCDe9sNxuB2-7RhCnSHJBH4BEkh9ZmIMpq41lO6fpuIagVUeOZ/s1600/blog.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 0px; color: #253340; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.016666412353516px; margin-bottom: 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;This Solution is only for SharePoint 2010!&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Features:&lt;br /&gt;&lt;span style=&quot;border: 0px; color: navy; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Column Permission&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;- Hide or Read Only&amp;nbsp;Columns in a List Forms (New/Edit/Display)&lt;br /&gt;- Hide Columns in Views&lt;br /&gt;- Hide Columns in Alert Me Emails&lt;br /&gt;- Specify the permission for Users, SharePoint Groups or&amp;nbsp;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Active Directory Groups&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #253340; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19.016666412353516px; margin-bottom: 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: navy; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;View Permission&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;- Disable Views&lt;br /&gt;- Hide Views in Context Menus&lt;br /&gt;- Automatically Disable Views in Custom WebPart Zones&lt;br /&gt;- Specify the permission for Users, SharePoint Groups or&amp;nbsp;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Active Directory Groups&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Column Permission:&lt;/strong&gt;&lt;br /&gt;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1.&lt;/strong&gt;&amp;nbsp;After successful Installation and Activation on Site Collection you will see&amp;nbsp;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;two new links&amp;nbsp;&lt;/strong&gt;in your List/Document Library&amp;nbsp;Settings page.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/7591275104745702286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2012/11/column-and-view-permissions-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/7591275104745702286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/7591275104745702286'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2012/11/column-and-view-permissions-in.html' title='Column and View Permissions in SharePoint 2010'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7vQ9NYv3Cb4wh_pmzA4zsCaTHCUG6I2g919EhwRrrpnEFUo9bb2YaOIy1o9p-Kux9TO9IubKHauEPHJjxl3VeEY41DvlCDe9sNxuB2-7RhCnSHJBH4BEkh9ZmIMpq41lO6fpuIagVUeOZ/s72-c/blog.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-1197276833701607146</id><published>2012-10-03T23:03:00.004-07:00</published><updated>2012-10-03T23:03:55.509-07:00</updated><title type='text'>Top 10 SEO tips for bloggers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
From years of experience in operating mainly WordPress-based blogs, I have learned valuable lessons on how to optimize blogs for search engines and increase traffic to the sites. Here are my Top 10 SEO tips for bloggers; I hope these insightful tips can help improve your blog’s SEO.&lt;br /&gt;
&lt;br /&gt;
1. Conduct proper keyword research and use keywords in your title and content. The title in your home page is the most important place to feature your most important keywords. When you post new articles, keep in mind that most blog platforms will make your article title the HTML title tag as well. Therefore, create your titles with keywords you want to target.&lt;br /&gt;
&lt;br /&gt;
2. Be familiar with your blogging platform to use built-in SEO features. Install additional SEO pluggins. For WordPress, &quot;All in One SEO&quot; or &quot;Platinum SEO&quot; is recommended. They offer many settings that help to create a more SEO-friendly site.&lt;br /&gt;
&lt;br /&gt;
3. Use SEO-friendly URLs. Basically adding keywords in your URLs is a good idea. In WordPress, this is done by turning on a function called &quot;Permalinks.&quot;&lt;br /&gt;
&lt;br /&gt;
4. Write original content. Do not copy content from other sites, and if you do, make sure to rewrite it completely to make it your own. More often than not, duplicate content gets filtered by the search engines.&lt;br /&gt;
&lt;br /&gt;
5. Write blog posts on a regular basis and cover the latest topics and trends, which tend to get more traffic while they are hot. Fresh content is part of Google&#39;s algorithm.&lt;br /&gt;
&lt;br /&gt;
6. Optimize your image names and alt tags to include keywords for better placement in the image search portion of the search engines.&lt;br /&gt;
&lt;br /&gt;
7. Publish links to your posts on social media sites like Facebook, Twitter and LinkedIn. Also, submit them to social bookmarking sites such as StumbleUpon and Reddit. Social media involvement and links are good for SEO purposes.&lt;br /&gt;
&lt;br /&gt;
8. Build links to your main page and internal posts. If you own several blogs, try to find similar posts and link them to each other.&lt;br /&gt;
&lt;br /&gt;
9. Write guest blog posts on similar sites for link building purposes. A good way to do this is to ask other bloggers to exchange articles, with guest blog credits. You can also participate in link exchange with other bloggers from blogrolls, but in general try to not have too many outgoing links from your own blogroll, as it may reduce the value of your website.&lt;br /&gt;
&lt;br /&gt;
10. Go easy on importing RSS feeds into your blog. While it could be a good source for additional content, you want the majority of your content to be original. If you’re going to use RSS feeds, I recommend keeping it to less than 10 percent of your overall content. If your regular content does not keep up with that ratio, then remove old RSS posts regularly. There was a time when the &quot;Autobloged&quot; plugin for WordPress was being used by many bloggers, or I should say spammy bloggers, with great success. Sites would receive a massive amount of content in little time and would end up getting hundreds of rankings. However, the Panda update makes this difficult.&lt;br /&gt;
&lt;br /&gt;
While there are many more tips I can share with you, the ones I mentioned are my top ten. I hope you enjoyed the article and that the tips can help you to improve your rankings.&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/1197276833701607146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2012/10/top-10-seo-tips-for-bloggers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/1197276833701607146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/1197276833701607146'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2012/10/top-10-seo-tips-for-bloggers.html' title='Top 10 SEO tips for bloggers'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-3479922919967515610</id><published>2012-07-22T01:23:00.003-07:00</published><updated>2012-07-22T01:24:51.162-07:00</updated><title type='text'>Remove Format when copy paste in rich text editor in SharePoint 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
How to avoid the formatting that comes along when you copy paste content from a site or word document to the Rich Text Editor (RTE) field in sharepoint? Ofcourse RTE already have an option Clear Formatting that can be used to clear after pasting the content,, but I do not want the format to be copied at first.&lt;br /&gt;
&lt;br /&gt;
So after digging into SP.UI.RTE.js I have come up with a small script that will not paste the markup but only text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; //Disable the RTE paste option. Restricts to &quot;Paste Plain Text&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; function disableMarkupPasteForRTE()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Type.registerNamespace(&quot;RTE&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;if (RTE)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; if(RTE.RichTextEditor != null)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RTE.RichTextEditor.paste = function() { RTE.Cursor.paste(true); }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Handle Ctrl+V short cut options in rich text editor&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RTE.Cursor.$3C_0 = true;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
I used the below standard sharepoint javascript function that will run the above or any javascript function on load of page.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; _spBodyOnLoadFunctionNames.push(&quot;disableMarkupPasteForRTE&quot;);&lt;br /&gt;
&lt;br /&gt;
The final script will look like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;lt;asp:Content ContentPlaceHolderId=&quot;PlaceHolderBodyAreaClass&quot; runat=&quot;server&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot; id=&quot;disableMarkupPasteForRTE&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;//Disable the RTE paste option. Restricts to &quot;Paste Plain Text&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; function disableMarkupPasteForRTE()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Type.registerNamespace(&quot;RTE&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (RTE)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if(RTE.RichTextEditor != null)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RTE.RichTextEditor.paste = function() { RTE.Cursor.paste(true); }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Handle Ctrl+V short cut options in rich text editor&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RTE.Cursor.$3C_0 = true;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;_spBodyOnLoadFunctionNames.push(&quot;disableMarkupPasteForRTE&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;lt;/asp:Content&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/3479922919967515610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2012/07/remove-format-when-copy-paste-in-rich.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/3479922919967515610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/3479922919967515610'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2012/07/remove-format-when-copy-paste-in-rich.html' title='Remove Format when copy paste in rich text editor in SharePoint 2010'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-936986525517097183</id><published>2012-06-06T03:18:00.001-07:00</published><updated>2012-06-06T03:18:54.610-07:00</updated><title type='text'>Four Critical Web Design Rules</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;
&quot;Content is King! If you want a website to generate back-links and have quality content the search engines love, be sure to make it readable by both people and search engines. Search engines are working to give people quality results. Thus, they are looking for sites with quality content. So - by building site content for people, not only are you getting back to basics (information dissemination to people via the Internet), you are creating a site search engines will love. So, build sites for people - and the search engines will come.&lt;br /&gt;&lt;br /&gt;When creating a new website or redesigning an existing site, there are four critical rules which should be followed to make the site effective, functional, loved by search engines - and successful.&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;color: #4725c7;&quot;&gt;1. Easy to Read&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When building a website, the first thing you need to be sure of is that your website is easy to read. When you write content, remember that most web site visitors don&#39;t read every word of a page - in fact, they only scan pages to find what they want.&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;color: #4725c7;&quot;&gt;Break up Your Content&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Break up your pages and use headers between major ideas so people scanning your site can find what they want quickly. Use meaningful headers between each paragraph or major idea - this helps with SEO. Headers should be created with the H1 through H4 tags for SEO. Always use good writing structure. Additionally, avoid long paragraphs that run on. You should break up any long paragraphs.&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;color: #4725c7;&quot;&gt;Color and Fonts&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To help readability, use high contrast colors between font and background. Black text against a white background may seem stark, but it is very readable. To make a website easy on the eyes, try an off-white background and a dark gray (almost black) text color.&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;color: #4725c7;&quot;&gt;Things to avoid with content color:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;
&lt;ul style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px; margin: 10px;&quot;&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;Avoid vibrant background colors like purple or yellow. Such back colors make text difficult to read.&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;Avoid using an image behind your text.&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;Avoid using bright text colors on bright backgrounds.&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;color: #4725c7; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Fonts Matter&lt;/b&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;One simple statement covers the font issue:&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Simple fonts are the best; the more fancy the font, the harder it is to read.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Since many browsers only have the standard font set, use standard fonts. In reality, there is no &quot;standard&quot;, but there are certain fonts that are installed on most browsers. These include Arial, Verdana, Tahoma and Times New Roman. Your readers will see something different than you see if you use other fonts.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;color: #4725c7; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Standard Compliant Browser for Development&lt;/b&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;When developing and testing your site, use a Standards compliant browser like FireFox. If you develop your site to be standards compliant, it will work in most browsers, including MS Internet Explorer (IE). It is recommended that you test your site using the latest and last browser versions of IE (IE6 and IE7). To run multiple versions of IE on the same machine, TredoSoft.com has a free installer that will install multiple versions of IE. It works great!&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;color: #4725c7; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Keywords in Content&lt;/b&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Of course, when writing content, not only should it be formatted to be readable, but it must also be consumable by not only people, but by search engines. One way to make the subject of the content known to search engines is to use the keywords that people use to search for your site in your content. Be sure to use keywords in your header tags, your first paragraph and throughout your text. The keyword density should be between 4% and 7% - but any more than that could 1) be hard to read and still make sense and 2) be considered spam by search engines and banned. Keywords should also be used in your TITLE tags and your Meta description.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;color: #4725c7; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;2. Simplify Navigation&lt;/b&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;The menus and links make up the navigation that the visitor uses to get from page to page in a site. Always plan a site around how people will get from page to page. A visitor to your site should be able to get to what they want within three clicks of their mouse.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Multiple navigation points makes it easy to find things. Repeat the top menu and at the bottom. Also create a left or right menu.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Using links within your text to other areas on your site. You can create links so that they are good for search engine optimization (SEO). There are generally two ways to create links within your text:&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;ol style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;The wrong way: &quot;For search engine optimization techniques, click here.&quot;&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;The right way: &quot;Good techniques for search engine optimization are important to use.&quot;&lt;/li&gt;
&lt;/ol&gt;
&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Using link text (anchor text) that describes what the link is about is the best way. Search engine web crawlers (programs that automatically index the contents of websites) visit your site, they &quot;read&quot; links. Spiders can index descriptive links into a subject or keyword category. Spiders have nothing to work with when reading a &quot;click here&quot; until it reaches the linked page.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;This is Cross Linking - use it as much as possible when it makes sense to do so when writing your content.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;color: #4725c7; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;3. Consistent Design&lt;/b&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;At most, one or two layouts should be used in your site design. As a reader browses your site, they should be able to get used to looking in the same place for your navigation, for your sub-navigation and for your content. That&#39;s all there is to say about that.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;color: #4725c7; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;4. Lower Page Weight is Better&lt;/b&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Page weight is the total size of a page on your site in bytes - code, text and images. Your site&#39;s page weight makes a big difference to your viewers. Lighter page weight is better for your readers because the page will download faster. The faster a page downloads, the faster they will get to the content.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;color: #4725c7; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;What is Means to be Light&lt;/b&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;ul style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px; margin: 10px;&quot;&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;No large images.&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;Fewer images are better.&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;Optimize images for the web at no more than 72 dpi&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;Use as small an image dimension as possible for the given design.&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;Use a table td bgcolor attribute or a background-color style attribute for solid color backgrounds.&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;Make gradients horizontal or vertical (not diagonal) so that you can use a small image &quot;strip&quot; and repeat it.&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;color: #4725c7; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;How &quot;Heavy&quot; Should a Web Page be?&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Certain studies show that 64K is a good maximum webpage size. 64K is a maximum, however it is still, in my opinion, really big! The smaller the page, the better. 25K is good, 15K is even better. There is a balance between design and function. It is a good idea to focus more on function.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Try putting pages on your web host server as you build your site so you can test it as you go. For pages online, you can test the page weight at www.quasarcr.com/pageweight/ to be sure you are on track.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;color: #4725c7; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Ways to make pages lighter:&amp;nbsp;&lt;/b&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;ul style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px; margin: 10px;&quot;&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;Use linked style sheets&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;Use DIVs instead of TABLEs where possible&lt;/li&gt;
&lt;br /&gt;
&lt;li style=&quot;list-style-image: url(http://www.articlegeek.com/pictures/small_triangle_bullet.gif);&quot;&gt;Use simple repeating backgrounds for effect&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;color: #4725c7; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Summary&lt;/b&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Times New Roman&#39;, sans-serif; font-size: 13px;&quot;&gt;Visitors to your website should be able to find what they are looking for within about three clicks. Search engines should be able to navigate easily through your site. Making a site easy to read with consistent page design, and easy to navigate will make it easy to find information. When people can find information, they are more likely to refer your site or link to it - which is exactly what you want to encourage. You will be on the way to building a readable and hopefully successful website that is loved by search engines if you follow these principals.&lt;/span&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/936986525517097183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2012/06/four-critical-web-design-rules.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/936986525517097183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/936986525517097183'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2012/06/four-critical-web-design-rules.html' title='Four Critical Web Design Rules'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-9078225952302561671</id><published>2012-06-06T03:12:00.003-07:00</published><updated>2012-06-06T03:12:34.491-07:00</updated><title type='text'>Accepting Credit Cards on Your Website</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Are you thinking of selling things on the web? If so, you will probably also be considering
some way in which you can accept credit cards on your site. Since new webmasters who visit
thesitewizard.com often ask me about how they can get started accepting payments in this form, this article provides some
basic information on &lt;a href=&quot;http://www.thesitewizard.com/archive/creditcards.shtml&quot; target=&quot;_top&quot;&gt;adding credit card
payment facilities to your website&lt;/a&gt;.&lt;/div&gt;
(Note: if you do not already have a website, you may also want to read
&lt;a href=&quot;http://www.thesitewizard.com/gettingstarted/startwebsite.shtml&quot; target=&quot;_top&quot;&gt;How to Create / Make a Website:
The Beginner&#39;s A-Z Guide&lt;/a&gt;.)
&lt;br /&gt;


&lt;h2&gt;
Why Do It?&lt;/h2&gt;
Credit card payments allow you to take advantage of the following types of customers:
&lt;br /&gt;


&lt;ol&gt;
&lt;li&gt;&lt;h3&gt;
Impulse buyers&lt;/h3&gt;
After reading your advertisements and hype on your site, buyers would be all fired up about your product. If they have a
means of making a purchase immediately, you&#39;ve secured that sale. If you only allow
cheque payments, the additional time it takes for them to get their cheque book and mail out
the cheque may be a deterrence. They may also have second thoughts later.
&lt;/li&gt;
&lt;li&gt;&lt;h3&gt;
International customers&lt;/h3&gt;
Credit card payment is a tremendous convenience if your customers are overseas. It automatically takes care of the
problems of currency differences as well as the time it takes for a cheque to travel to the
vendor. You will lose a large number of overseas customers if cheque payment is the only
way you can accept payment.
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
Methods of Accepting Credit Card Payments&lt;/h2&gt;
There are actually two ways in which you can accept credit cards on your site.
&lt;br /&gt;


&lt;ol&gt;
&lt;li&gt;&lt;h3&gt;
Using Your Own Merchant Account&lt;/h3&gt;
To do this, you will need a bank that will allow you to open a merchant account. Requirements for this will vary
from country to country, and you should check with your local banks for more
information on this.
&lt;/li&gt;
&lt;li&gt;&lt;h3&gt;
Through a Third Party Merchant&lt;/h3&gt;
There are numerous companies around that are willing to accept credit cards payments on your behalf in exchange
for various fees and percentages. These are also known as &quot;payment gateways&quot;.
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
Which Method Should You Use?&lt;/h2&gt;
The initial costs of opening your own merchant account is usually higher than when you use a
third party merchant. Indeed, some third party merchants have no setup fee at
all.
&lt;br /&gt;



However, the transaction fee (which is what you pay the bank or third party merchant for
each sale) is much higher when you use a third party as compared to when using your
own merchant account.
&lt;br /&gt;



A third party merchant is usually convenient to use when you don&#39;t know if you can actually make
much out of your product or service. If you just want to test the water to see how things are,
this is usually a good way to start. It is also convenient in that the merchant takes care of
everything for you. You just get a cheque at the end of each payment period (if you have
earned enough) and concentrate on your products, services and customers. Another benefit is
that if you use a reputable third party merchant, your visitors may be more willing to buy your
goods online since they trust that merchant to keep their credit card numbers safe.
&lt;br /&gt;



Having your own merchant account lowers your transaction costs. However, you have to be
careful to minimize your credit card risks since you&#39;ll be processing the credit card payments
yourself. This is not to say that there are no risks attendant in using a third party merchant.
&lt;br /&gt;


&lt;h2&gt;
Some Third Party Merchants / Payment Gateways&lt;/h2&gt;
Here&#39;s a list of some third party merchants that you might want to consider if you&#39;re looking
for ways to accept credit card payments. Except for &lt;a href=&quot;https://www.paypal.com/row/mrb/pal=694RGAUPTXTGL&quot; rel=&quot;nofollow&quot;&gt;PayPal&lt;/a&gt;,
I have not actually tried any of them myself (as a vendor). Check them out carefully and use them at your own risk.
&lt;br /&gt;



Note that rates and stuff that I publish below were correct at the time I investigated these
vendors. It will most likely have changed by the time you read this since the merchants tend to modify their rates
from time to time according to market conditions. Make sure that you check the current (up-to-date) details from
their site before making any decision.
&lt;br /&gt;



The list is arranged alphabetically.
&lt;br /&gt;



&lt;a href=&quot;http://www.ccbill.com/&quot;&gt;CCBill&lt;/a&gt;:
There are no setup fees. Transaction fees vary (I can&#39;t find the schedule though) depending on
the volume of sales in each accounting period. According to their website, &quot;these fees are
never more than 13.5% of revenues charged during this one-week period for CWIE hosting
clients and 14.5% for non-hosting clients&quot;.
&lt;br /&gt;



&lt;a href=&quot;http://www.ccnow.com/&quot;&gt;CCNow&lt;/a&gt;:
This is only for people who ship tangible, physical products. There is no setup fee, and they
charge 9% per transaction except in the November and December where the fees are
8% per transaction (yes, lower).
&lt;br /&gt;



&lt;a href=&quot;http://checkout.google.com/&quot;&gt;Google Checkout&lt;/a&gt;:
Google has its own payment gateway that is available for US and UK sellers. It is mainly for use if you are selling tangible and
digital goods, although you can also use it to charge for services and subscriptions. Charges range from 1.9% + $0.30 USD to
2.9% + $0.30 USD per transaction, depending on the volume of sales in the previous month. If your buyer is not from your country
(ie, not in the US if you are in the US, or not in the UK if you are in the UK), there is also another 1% processing fee.
&lt;br /&gt;



&lt;a href=&quot;http://www.kagi.com/&quot;&gt;Kagi&lt;/a&gt;:
Kagi&#39;s fees seem to vary according to the order size, type of item sold 
and the type of payment (credit card, cash, money order) used by your 
customer.
&lt;br /&gt;



&lt;a href=&quot;https://www.paypal.com/row/mrb/pal=694RGAUPTXTGL&quot; rel=&quot;nofollow&quot;&gt;PayPal&lt;/a&gt;:
This well-known service allows you to set up a Premier or Business account (you are subject to certain limits
when receiving credit card payments if you use a Personal account, and probably also higher fees per transaction).
The charges range between 1.9% + $0.30 USD to 2.9% + $0.30 USD for each transaction if you are in the US. Non-US users
are charged different amounts according to the country. From experience, I find this service easy and fast to setup.
&lt;br /&gt;



&lt;a href=&quot;http://www.propay.com/&quot;&gt;ProPay&lt;/a&gt;:
A new competitor to PayPal (see elsewhere on this page) that currently only caters to US residents.
Depending on the type of account you sign up for, you have to pay an annual fee (starting from $34.95)
as well as transaction fees of 3.5% + $0.35 USD. However, to accept cards like American Express and Discover,
you have to use their more expensive plans.
&lt;br /&gt;



&lt;a href=&quot;http://www.regnow.com/softsell/visitor.cgi?affiliate=16087&amp;amp;action=site&amp;amp;vendor=1234&quot; rel=&quot;nofollow&quot;&gt;RegNow&lt;/a&gt;:
Designed for software authors to sell their ware, this merchant charges a
 one-time activation fee of $19.95 USD plus
a transaction fee of 6.9% plus $1 USD per unit for their commission 
(minimum $2 USD charge). They also provide you with facilities that 
allows you
to easily set up an affiliate program.
&lt;br /&gt;


&lt;h2&gt;
How to Put an Order Form or Shopping Cart on Your Website&lt;/h2&gt;
Once you have signed up the vendor of your choice, you will be able to put an order form or shopping cart on your site.
Each vendor has a different method for this, but most, if not all, will provide you with premade forms that you can customize
for your product or service.
&lt;br /&gt;



(Note: if you use &lt;a href=&quot;https://www.paypal.com/row/mrb/pal=694RGAUPTXTGL&quot; rel=&quot;nofollow&quot;&gt;PayPal&lt;/a&gt;, and don&#39;t know where to start, see my tutorial
&lt;a href=&quot;http://www.thesitewizard.com/revenue/add-buy-now-button.shtml&quot; target=&quot;_top&quot;&gt;How to Put an Order Form or Buy Now Button
on Your Website Using PayPal&lt;/a&gt; for a step-by-step guide.)
&lt;br /&gt;


&lt;h2&gt;
Trying It Out&lt;/h2&gt;
Whichever you choose, if you are selling things on the Internet, you really have not much choice but to
accept credit cards. You probably don&#39;t know what you missed until you try it out.
&lt;br /&gt;



All the best for your business!
&lt;br /&gt;
&lt;br /&gt;



This article can be found at
&lt;a href=&quot;http://www.thesitewizard.com/archive/creditcards.shtml&quot; target=&quot;_top&quot;&gt;http://www.thesitewizard.com/archive/creditcards.shtml&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/9078225952302561671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2012/06/accepting-credit-cards-on-your-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/9078225952302561671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/9078225952302561671'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2012/06/accepting-credit-cards-on-your-website.html' title='Accepting Credit Cards on Your Website'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-4740742735757670209</id><published>2012-06-06T02:44:00.001-07:00</published><updated>2012-06-06T02:44:19.471-07:00</updated><title type='text'>Where are the Documents or files we uploaded or attached stored in SharePoint?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;Many of them know, those files are stored under SharePoint Content Database. But on which database table, on which format?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #444444; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;For that, i did a quick research on that, and here i give those results,&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #444444; line-height: 19px; list-style: none; margin: 0px; outline: 0px; padding: 0px 0px 0px 20px; text-align: -webkit-auto; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; list-style: disc; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;The&amp;nbsp;&lt;strong style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AllDocStreams&lt;/strong&gt;&amp;nbsp;table in SharePoint Content Database stores the Document Contents.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; list-style: disc; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;The Contents of the document are stored in&amp;nbsp;&lt;strong style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;Content&amp;nbsp;&lt;/strong&gt;Column in the&amp;nbsp;&lt;strong style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AllDocStream&lt;/strong&gt;&amp;nbsp;table.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; list-style: disc; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;The&amp;nbsp;&lt;strong style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;Content&lt;/strong&gt;&amp;nbsp;column is the&amp;nbsp;&lt;strong style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;Image Datatype&lt;/strong&gt;, (stores in the format of Binary).&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #444444; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;I provide a simple SQL Query to retrieve the Document List Name,File Name, URL, and the Content (Binary Format)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #444444; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: blue; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;SELECT&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AllLists&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;tp_Title&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: blue; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: red; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;‘List Name’&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;,&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; word-wrap: break-word;&quot; /&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AllDocs.LeafName&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: blue; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: red; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;‘File Name’&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;,&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; word-wrap: break-word;&quot; /&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AllDocs.DirName&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: blue; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: red; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;‘URL’&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;,&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; word-wrap: break-word;&quot; /&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AllDocStreams&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;Content&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: blue; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AS&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: red; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;‘Document Contnt (Binary)’&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; word-wrap: break-word;&quot; /&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: blue; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;FROM&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AllDocs&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; word-wrap: break-word;&quot; /&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;JOIN&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AllDocStreams&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; word-wrap: break-word;&quot; /&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: blue; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;ON&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; word-wrap: break-word;&quot; /&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AllDocs&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;Id&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AllDocStreams&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;Id&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; word-wrap: break-word;&quot; /&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;JOIN&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AllLists&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; word-wrap: break-word;&quot; /&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: blue; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;ON&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; word-wrap: break-word;&quot; /&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;AllLists&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;tp_id&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&amp;nbsp;AllDocs&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: grey; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;ListId&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/4740742735757670209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2012/06/where-are-documents-or-files-we.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/4740742735757670209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/4740742735757670209'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2012/06/where-are-documents-or-files-we.html' title='Where are the Documents or files we uploaded or attached stored in SharePoint?'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-1273727846107786259</id><published>2012-06-05T00:41:00.000-07:00</published><updated>2012-06-05T00:41:54.679-07:00</updated><title type='text'>How to Choose a Web Host</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h1 style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 1.1em; margin: 1px; text-align: -webkit-auto;&quot;&gt;

&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;by Christopher Heng,&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.thesitewizard.com/&quot; style=&quot;color: purple; line-height: 20px;&quot; target=&quot;_top&quot;&gt;thesitewizard.com&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;div style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;
What are some of the things you should look for when choosing a web host? The criteria for choosing a&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/webhosting/freewebhosts.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;free web host&lt;/a&gt;&amp;nbsp;and a&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/webhosting/budget1.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;commercial web hosting solution&lt;/a&gt;&amp;nbsp;are slightly different although they do overlap. Since&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;thesitewizard.com&lt;/a&gt;&amp;nbsp;caters to people who might be looking for either of these types of hosting, I will deal with each of these in turn. If you are only interested in one of these types, you can simply skip to the appropriate section. I have written these sections to be as independant of the other as possible.&lt;/div&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=3191818738462219789&quot; id=&quot;freehosts&quot; name=&quot;freehosts&quot; style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; margin: 1px; text-align: -webkit-auto;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Choosing a Free Web Host&lt;/span&gt;&lt;/h2&gt;
&lt;ol class=&quot;content&quot; style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; margin-left: 0px; padding-left: 2.5em; text-align: -webkit-auto;&quot;&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Advertising&lt;/span&gt;&lt;/h3&gt;
Most free web hosts impose advertising on your website. This is done to cover the costs of providing your site the free web space and associated services. Some hosts require you to place a banner on your pages, others display a window that pops up everytime a page on your site loads, while still others impose an advertising frame on your site. There is really no hard and fast rule which is to be preferred: some people hate a pop-up window, other webmasters dislike having to stuff banner codes onto their pages, and many people cannot stand an advertising frame (which may cause problems when you submit your website to search engines). Whichever method is used, check that you&#39;re comfortable with the method.&lt;br /&gt;
Note that&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/webhosting/free-web-hosts-with-no-advertisements.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;free web hosts without forced advertisements&lt;/a&gt;&amp;nbsp;aren&#39;t necessarily good news. Without a viable means to recover the costs of running their server, such hosts&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/archive/disappearinghosts.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;close with alarming frequency&lt;/a&gt;.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Amount of web space&lt;/span&gt;&lt;/h3&gt;
Does it have enough space for your needs? If you envisage that you will expand your site eventually, you might want to anticipate future expansion. Most sites use less than 5MB of web space. Indeed, at one time, one of my other web sites, thefreecountry.com, used less than 5MB of space although it had about 150 pages on the site. Your needs will vary, depending on how many pictures your pages use, whether you need sound files, video clips, etc.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;FTP access&lt;/span&gt;&lt;/h3&gt;
FTP is the most common method used by people to transfer their web pages and other files from their computer to their web host&#39;s computer, so that it can be viewed by anyone in the world.&lt;br /&gt;
Some free hosting providers only allow you to design your page with their online site builder. While this is useful for beginners, do you have the option to expand later when you become experienced and their online page builder does not have the facility you need? Online site builders also have significant disadvantages, a subject which I discuss at length in my article&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/webdesign/online-site-builders-vs-web-editors.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;comparing online site builders with standalone web editors&lt;/a&gt;.&lt;br /&gt;
FTP access, or at the very least, the ability to upload your pages by email or browser, is needed. Personally, I feel FTP access is mandatory, except for the most trivial site.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;File type and size limitations&lt;/span&gt;&lt;/h3&gt;
Watch out for these. Some free hosts impose a maximum size on each of the files you upload (including one with a low of 200KB). Other sites restrict the file types you can upload to HTML and GIF/JPG files. If your needs are different, eg, if you want to distribute your own programs on your pages, you will have to look elsewhere.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Reliability and speed of access&lt;/span&gt;&lt;/h3&gt;
This is extremely important. A site that is frequently down will lose a lot of visitors. If someone finds your site on the search engine, and he tries to access it but find that it is down, he&#39;ll simply go down the list to find another site. Slow access is also very frustrating for visitors (and for you too, when you upload your site). How do you know if a host is reliable or fast? If you can&#39;t get feedback from anyone, one way is to try it out yourself over a period of time, both during peak as well as non-peak hours. After all, it is free, so you can always experiment with it.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;PHP and/or Perl&lt;/span&gt;&lt;/h3&gt;
(In case you&#39;re wondering:&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/html-tutorial/what-is-html.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;What is PHP and Perl?&lt;/a&gt;)&lt;br /&gt;
It&#39;s quite possible for a website to work even without PHP or Perl access. For example, you can always use one of the many&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/scripthosting/index.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;free script hosting services&lt;/a&gt;&amp;nbsp;available that provide&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/scripthosting/counters.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;counters&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/scripthosting/searchengines.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot; title=&quot;Reviews of free search engine hosting services&quot;&gt;search engines&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/scripthosting/formtomail.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;forms&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/scripthosting/polls.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;polls&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/webmaster/mailinglists.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;mailing lists&lt;/a&gt;, etc, without requiring you to dabble with Perl or PHP scripts.&lt;br /&gt;
However if you really want to do it yourself, with the minimum of advertising banners from these free providers, you will need either PHP or Perl access. Note that it is not enough to know they provide PHP or Perl access: you need to know the kind of environment your scripts run under: is it so restrictive that they are of no earthly use? For PHP scripts, does your web host allow you to use the&amp;nbsp;&lt;code&gt;mail()&lt;/code&gt;&amp;nbsp;function, which allows your scripts to send email? For Perl scripts, do you have access to sendmail or its workalike?&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Bandwidth allotment&lt;/span&gt;&lt;/h3&gt;
Nowadays, many free web hosts impose a limit on the amount of traffic your website can use per day and per month. This means that if the pages (and graphic images) on your site is loaded by visitors beyond a certain number of times per day (or per month), the web host will disable your web site (or perhaps send you a bill). It is difficult to recommend a specific minimum amount of bandwidth, since it depends on how you design your site, your target audience, and the number of visitors you&#39;re able to attract to your site. In general, 100MB traffic per month is too little for anything other than your personal home page and 1-3GB traffic per month is usually adequate for a simple site just starting out. Your mileage, however, will vary.&lt;/li&gt;
&lt;/ol&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=3191818738462219789&quot; id=&quot;commercialhosts&quot; name=&quot;commercialhosts&quot; style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; margin: 1px; text-align: -webkit-auto;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Choosing a Commercial Web Host&lt;/span&gt;&lt;/h2&gt;
&lt;ol class=&quot;content&quot; style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; margin-left: 0px; padding-left: 2.5em; text-align: -webkit-auto;&quot;&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Reliability and speed of access&lt;/span&gt;&lt;/h3&gt;
Not only should the web host be reliable and fast, it should guarantee its uptime (the time when it is functional). Look for a minimum uptime of 99%. In fact, even 99% is actually too low — it really should be 99.5% or higher. The host should provide some sort of refund (eg prorated refund or discount) if it falls below that figure. Note though that guarantees are often hard to enforce from your end — especially if the host denies there was any downtime. However, without that guarantee, the web host will have little incentive to ensure that its servers are running all the time.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Data Transfer (Traffic/Bandwidth)&lt;/span&gt;&lt;/h3&gt;
Data transfer (sometimes loosely referred to as &quot;traffic&quot; or &quot;bandwidth&quot;) is the amount of bytes transferred from your site to visitors when they browse your site.&lt;br /&gt;
Don&#39;t believe any commercial web host that advertises &quot;unlimited bandwidth&quot;. The host has to pay for the bandwidth, and if you consume a lot of it, they will not silently bear your costs. Many high bandwidth websites have found this out the hard way when they suddenly receive an exorbitant bill for having &quot;exceeded&quot; the &quot;unlimited bandwidth&quot;. Always look for details on how much traffic the package allows. I personally always stay clear of any host that advertises &quot;unlimited transfer&quot;, even if the exact amount is specified somewhere else (sometimes buried in their policy statements). Usually you will find that they&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/webhosting/unlimited-space-bandwidth.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;redefine &quot;unlimited&quot; to be limited&lt;/a&gt;&amp;nbsp;in some way.&lt;br /&gt;
In addition, while bandwidth provided is something you should always check, do not be unduly swayed by promises of incredibly huge amounts of bandwidth. Chances are that your website will never be able to use that amount because it will hit other limits, namely resource limits. For more details, see the article&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/webhosting/fine-print-resource-usage-limits.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;The Fine Print in Web Hosting: Resource Usage Limits&lt;/a&gt;.&lt;br /&gt;
To give you a rough idea of the typical traffic requirements of a website, most new sites that are not software archives or provide video or music on their site use less than 3 GB of bandwidth per month. Your traffic requirements will grow over time, as your site becomes more well-known (and well-linked), so you will need to also check their policy when you exceed your data transfer limit: is there a published charge per GB over the allowed bandwidth? Is the charge made according to actual usage or are you expected to pre-pay for a potential overage? It is better not to go for hosts that expect you to prepay for overages, since it is very hard to forsee when your site will exceed its bandwidth and by how much.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Disk space&lt;/span&gt;&lt;/h3&gt;
For the same reason as bandwidth, watch out also for those&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/webhosting/unlimited-space-bandwidth.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;&quot;unlimited disk space&quot; schemes&lt;/a&gt;. Many new sites (that don&#39;t host videos or music) need less than 20 MB of web space, so even if you are provided with a host that tempts you with 100 GB (or &quot;unlimited space&quot;), be aware that you are unlikely to use that space, so don&#39;t let the 100 GB space be too big a factor in your consideration when comparing with other web hosts. The hosting company is also aware of that, which is why they feel free to offer you that as a means of enticing you to host there. As a rough gauge, thefreecountry.com, which had about 150 pages when this article was first written, used less than 5 MB for its pages and associated files.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Technical support&lt;/span&gt;&lt;/h3&gt;
Does its technical support function 24 hours a day, 7 days a week (often abbreviated 24/7), all year around? Note that I will not accept a host which does not have staff working on weekends or public holidays. You will be surprised at how often things go wrong at the most inconvenient of times. Incidentally, just because a host advertises that it has 24/7 support does not necessarily mean that it really has that kind of support. Test them out by emailing at midnight and on Saturday nights, Sunday mornings, etc. Check out how long they take to respond. Besides speed of responses, check to see if they are technically competent. You wouldn&#39;t want to sign up for a host that is run by a bunch of salesmen who only know how to sell and not fix problems.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;FTP, PHP, Perl, SSI, .htaccess, telnet, SSH, MySQL, crontabs&lt;/span&gt;&lt;/h3&gt;
If you are paying for a site, you really should make sure you have&amp;nbsp;&lt;strong&gt;all&lt;/strong&gt;&amp;nbsp;of these.&lt;br /&gt;
Note that some commercial hosts do not allow you to install PHP or Perl scripts (&quot;&lt;a href=&quot;http://www.thesitewizard.com/html-tutorial/what-is-html.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;What is PHP and Perl?&lt;/a&gt;&quot;) without their approval. This is not desirable since it means that you have to wait for them before you can implement a feature on your site. &quot;&lt;a href=&quot;http://www.thesitewizard.com/apache/index.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;.htaccess&lt;/a&gt;&quot; is needed if you are to do things like&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/archive/custom404.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;customize your error pages&lt;/a&gt;&amp;nbsp;(pages that display when, say, a user requests for a non-existent page on your site) or to protect your site in various ways (such as to&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/archive/bandwidththeft.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;prevent bandwidth theft and hotlinking&lt;/a&gt;, etc).&lt;br /&gt;
&lt;a href=&quot;http://www.thefreecountry.com/webmaster/sshandtelnet.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;Telnet or SSH&lt;/a&gt;&amp;nbsp;access is useful for certain things, including testing certain scripts (programs), maintaining databases, etc. MySQL (&quot;&lt;a href=&quot;http://www.thesitewizard.com/faqs/what-is-mysql-database.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;What is MySQL?&lt;/a&gt;&quot;) is needed if you want to run a&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/php/free-blog-scripts.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;blog&lt;/a&gt;&amp;nbsp;or a&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/php/contentmanagement.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;content management system&lt;/a&gt;.&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/general/set-cron-job.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;Cron&lt;/a&gt;&amp;nbsp;is a type of program scheduler that lets you run programs at certain times of the day (eg, once a day). Check to see if these facilities are provided.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;SSL (secure server), Shopping Cart&lt;/span&gt;&lt;/h3&gt;
If you are planning on doing any sort of business through your website, you might want to look out to see if the host provides these facilities. These facilities normally involve a higher priced package or additional charges. The main thing is to check to see if they are available at all before you commit to the host. You will definitely need SSL if you want to&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/archive/creditcards.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;collect credit card payments&lt;/a&gt;&amp;nbsp;on your site.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Email, Autoresponders, POP3, Mail Forwarding&lt;/span&gt;&lt;/h3&gt;
If you have your own site, you would probably want to have email addresses at your own domain, like sales@yourdomain.com, etc. Does the host provide this with the package? Does it allow you to have a catch-all email account that causes any email address at your domain to be routed to you? Can you set an email address to automatically reply to the sender with a preset message (called an&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/archive/autoresponders.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;autoresponder&lt;/a&gt;)? Can you retrieve your mail with your&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/utilities/email-clients.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;email software&lt;/a&gt;? Can it be automatically forwarded to your current email address?&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Control Panel&lt;/span&gt;&lt;/h3&gt;
This is called various names by different hosts, but essentially, they all allow you to manage different aspects of your web account yourself. Typically, and at the very minimum, it should allow you to do things like add, delete, and manage your email addresses, and change passwords for your account. I would not go for a host where I have to go through their technical support each time I want to change a password or add/delete an email account. Such chores are common maintenance chores that every webmaster performs time and time again, and it would be a great hassle if you had to wait for their technical support to make the changes for you.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Multiple Domain Hosting and Subdomains&lt;/span&gt;&lt;/h3&gt;
For those who are thinking of selling web space or having multiple domains or subdomains hosted in your account, you should look to see if they provide this, and the amount extra that they charge for this (whether it is a one-time or monthly charge, etc).&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Server&lt;/span&gt;&lt;/h3&gt;
Is the type of operating system and server important? Whether you think so or not on the theoretical level, there are a few practical reasons for looking out for the type of server.&lt;br /&gt;
In general, if you want to use things like write/use&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/asp/index.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;ASP programs&lt;/a&gt;, you have no choice but to look for a Windows server.&lt;br /&gt;
Otherwise my preference is to sign up for accounts using the often cheaper, more stable and feature-laden Unix systems running the Apache server. In fact, if dynamically generated pages that can access databases (etc) is what you want, you can always use the more portable (and popular) PHP instead of tying yourself down to ASP. Another reason to prefer Unix-based web hosts (which include web hosts using systems like Linux, FreeBSD, OpenBSD, Solaris, etc) using the Apache web server is that these servers allow you to configure a lot of facilities that you typically need on your site (error pages, protecting your images, blocking email harvesters, blocking IP addresses, etc) without having to ask your web host to implement them. Knowledge about configuring Apache servers is also widely available, and can be found on&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/apache/index.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;thesitewizard.com&#39;s Configuring Apache and .htaccess&lt;/a&gt;&amp;nbsp;pages as well.&lt;br /&gt;
For those interested, you can read another discussion on the matter in the &quot;&lt;a href=&quot;http://www.thesitewizard.com/webhosting/linux-vs-windows.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;Should You Choose a Linux or a Windows Web Hosting Package? Is There Such a Thing as a Mac Web Host?&lt;/a&gt;&quot; article.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Price&lt;/span&gt;&lt;/h3&gt;
I was actually hesitant to list this, but I guess it&#39;s futile not to. However, I would caution that while price is always a factor, you should realise (&quot;realize&quot; in&amp;nbsp;&lt;a href=&quot;http://www.thesitewizard.com/general/beware-of-english-variants.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;US English&lt;/a&gt;) that you often get what you pay for, although it&#39;s not necessarily true that the most expensive hosts are the best.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Monthly/Quarterly/Annual Payment Plans&lt;/span&gt;&lt;/h3&gt;
Most web hosts allow you to select an annual payment plan that gives you a cheaper rate than if you were to pay monthly. My current personal preference is to pay monthly with all new web hosts until I&#39;m assured of their reliability and honesty. Paying monthly allows me to switch web hosts quickly when I find that the current host does not meet my requirements: this way, I&#39;m not tied down to a bad web host because I have prepaid for an entire year. I do this even if the new web host guarantees that they will refund the balance if I&#39;m dissatisfied, since at the point I sign up, I have no assurance that they will honour their guarantee. Later (usually after a couple of years), when I&#39;m satisfied with the host, I may change payment plans to the discounted annual plans.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Resellers?&lt;/span&gt;&lt;/h3&gt;
Not all hosting companies own or lease their own web servers. Some of them are actually resellers for some other hosting company. The disadvantage of using a reseller is the possibility that you are dealing with people who don&#39;t know much about the system they are selling and who take longer to help you (they have to transmit your technical support request to the actual hosting company for it to be acted upon). However, this also depends on both the reseller and the underlying hosting company. It is thus wise not to rule out all resellers; there are a number of reliable and fast ones who are actually quite good and cheap. In fact, a number of resellers sell the same packages cheaper than their original hosting company. If you find out that a particular company is a reseller, you will need to investigate&amp;nbsp;&lt;strong&gt;both&lt;/strong&gt;&amp;nbsp;the reseller and the real hosting company.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;International&lt;/span&gt;&lt;/h3&gt;
If you don&#39;t stay in the USA, you have the option of hosting your site with some local provider. The advantage here is the ease of dealing with them (they are after all easily accessible by phone call or a visit), your familiarity with the local laws and easy recourse to those laws should it be necessary. It should be your choice if your target audience is local (eg a local fast food delivery service). On the other hand, hosting it in USA has the advantage of faster access for what is probably the largest number of your overseas visitors (particularly if you have an English-speaking audience). You also have a large number of hosting companies to choose from, and as a result, cheaper prices too.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;&lt;h3 style=&quot;margin: 1px;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;Others&#39; Reviews&lt;/span&gt;&lt;/h3&gt;
You should make it a point to check out what others have to say about the web host. Some of the places you can do this include:&lt;br /&gt;
&lt;ul&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;The newsgroup&amp;nbsp;&lt;a href=&quot;news:alt.www.webmaster&quot; style=&quot;background-color: transparent; color: purple;&quot;&gt;news:alt.www.webmaster&lt;/a&gt;. As you should always do when reading reviews (of anything), read the reviews posted here with a pinch of salt. Some glowing reviews may come from people working for the web host itself, disguised as multiple satisfied customers. Likewise, negative reviews of a particular host can sometimes come from unscrupulous competitors of that host.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;thesitewizard.com&#39;s review, &quot;&lt;a href=&quot;http://www.thesitewizard.com/archive/webhosting.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;Which Web Host Would You Recommend? (FAQ)&lt;/a&gt;&quot;, found at http://www.thesitewizard.com/archive/webhosting.shtml&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 1.5em;&quot;&gt;Although not often, I sometimes make comments about a particular web host in my&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/webhosting/budget1.shtml&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;Budget Web Hosts&lt;/a&gt;&amp;nbsp;page on&amp;nbsp;&lt;a href=&quot;http://www.thefreecountry.com/&quot; style=&quot;background-color: transparent; color: purple;&quot; target=&quot;_top&quot;&gt;thefreecountry.com&lt;/a&gt;&amp;nbsp;as well.&lt;/li&gt;
&lt;/ul&gt;
Don&#39;t skip this step, or you might find yourself being suckered by a host that everyone else is steering clear of.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; margin: 1px; text-align: -webkit-auto;&quot;&gt;

&lt;span style=&quot;font-size: small;&quot;&gt;The Myth of the Perfect Commercial Host&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; text-align: -webkit-auto;&quot;&gt;
In general, I doubt that there are any &quot;perfect&quot; web hosting companies around. Note that even if you are prepared to pay a huge price for your hosting needs, it does not guarantee that your host is any good. This is an interesting industry where a high price does not necessarily yield quality hosting and support.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; text-align: -webkit-auto;&quot;&gt;
On the other hand, one thing you can probably be sure of is that you will not get top-notched support if you only pay (say) $5 a month. At that price, which company can afford to hire enough good help to cater to all its users?&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 20px; text-align: -webkit-auto;&quot;&gt;
Like me, you&#39;ll probably end up settling for a trade-off between price, reliability and features that you&#39;re willing to live with.&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/1273727846107786259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2012/06/how-to-choose-web-host.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/1273727846107786259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/1273727846107786259'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2012/06/how-to-choose-web-host.html' title='How to Choose a Web Host'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-7131081791165246060</id><published>2012-06-04T23:27:00.002-07:00</published><updated>2012-06-04T23:27:51.594-07:00</updated><title type='text'>Capacity Planning for Windows SharePoint Services</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
This topic describes performance and scalability guidelines for Microsoft Windows SharePoint Services. The goal is to provide administrators with the information they need to purchase hardware, choose a server configuration, and manage the capacity of their Windows SharePoint Services deployments.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
There are two kinds of capacity guidelines for Windows SharePoint Services:&lt;/div&gt;
&lt;ul class=&quot;cntIndent36&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 21px; list-style: url(http://officeimg.vo.msecnd.net/en-us/files/199/617/ZA010079369.gif); margin-bottom: 10px; margin-left: 0px; margin-top: 0px; padding-bottom: 0px; text-align: -webkit-auto;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;Throughput&amp;nbsp;— The approximate number of transactions per second that a given server configuration for Windows SharePoint Services can handle. This guideline helps you determine how many simultaneous users can use a given server resource without negatively affecting performance.&lt;/li&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;Scale &amp;nbsp;— The approximate number of objects that can be created in a given scope, for example, the number of documents per folder. This guideline helps you determine the server configuration required to host a given number of objects.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; border-bottom-color: rgb(255, 194, 0); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-family: &#39;Segoe UI&#39;, Arial, Verdana; font-size: 1.67em; font-weight: normal; line-height: 21px; margin: 0px 0px 10px; padding: 25px 0px 10px; text-align: -webkit-auto;&quot;&gt;
About Capacity and Throughput Guidelines&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The goal of the throughput testing is to measure the number of transactions per second that a server running Windows SharePoint Services can handle. The measured throughput is then used to extrapolate the number of simultaneous users by using a model of typical user behavior.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
A rough rule of thumb is that 1 transaction per second maps to 1000 users. This rule of thumb is derived by applying the following model for user behavior:&lt;/div&gt;
&lt;ul class=&quot;cntIndent36&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 21px; list-style: url(http://officeimg.vo.msecnd.net/en-us/files/199/617/ZA010079369.gif); margin-bottom: 10px; margin-left: 0px; margin-top: 0px; padding-bottom: 0px; text-align: -webkit-auto;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;1000 users&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;cntIndent36&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 5px; margin-left: inherit; margin-top: -5px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
10% peak concurrency&lt;/div&gt;
&lt;ul class=&quot;cntIndent36&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 21px; list-style: url(http://officeimg.vo.msecnd.net/en-us/files/199/617/ZA010079369.gif); margin-bottom: 10px; margin-left: 0px; margin-top: 0px; padding-bottom: 0px; text-align: -webkit-auto;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;100 simultaneous users (10% of 1000)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;cntIndent36&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 5px; margin-left: inherit; margin-top: -5px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
100 seconds per request per user (36 requests per hour per user)&lt;/div&gt;
&lt;ul class=&quot;cntIndent36&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 21px; list-style: url(http://officeimg.vo.msecnd.net/en-us/files/199/617/ZA010079369.gif); margin-bottom: 10px; margin-left: 0px; margin-top: 0px; padding-bottom: 0px; text-align: -webkit-auto;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;100 simultaneous users/100 seconds per user per transaction&lt;/li&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;1 transaction/second&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;background-color: white; color: #454545; font-family: &#39;Segoe UI&#39;, Arial, Verdana; font-size: 1.25em; font-weight: normal; line-height: 21px; margin: 25px 0px 5px; padding: 0px; text-align: -webkit-auto; text-transform: uppercase;&quot;&gt;
CAPACITY TESTING METHODOLOGY&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The Windows SharePoint Services team tests throughput by using automated load generation tools that work in machine time, not user time. In other words, real user behavior is not modeled in the test lab; server capacity is measured using fictitious &quot;super users&quot; who issue requests as fast as the server can respond. This is done to ensure that we’re measuring the capacity of the server, not the capacity of the load generation tool.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
There are two main variables in the throughput testing:&lt;/div&gt;
&lt;ul class=&quot;cntIndent36&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 21px; list-style: url(http://officeimg.vo.msecnd.net/en-us/files/199/617/ZA010079369.gif); margin-bottom: 10px; margin-left: 0px; margin-top: 0px; padding-bottom: 0px; text-align: -webkit-auto;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;Transaction mix&amp;nbsp;— The mix of user transactions, such as browse home page, save document, and edit list item, and so on.&lt;/li&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;Server configuration&amp;nbsp;— The configuration, such as a single server or a server farm with two Web servers, and so on.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 1.15em; line-height: 21px; margin: 20px 0px 2px; text-align: -webkit-auto;&quot;&gt;
About the Transaction Mix&lt;/h4&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The transaction mix defines the types and frequency of operations seen by the server, such browse home page, edit document, and so on. This topic contains two different transaction mixes:&lt;/div&gt;
&lt;ul class=&quot;cntIndent36&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 21px; list-style: url(http://officeimg.vo.msecnd.net/en-us/files/199/617/ZA010079369.gif); margin-bottom: 10px; margin-left: 0px; margin-top: 0px; padding-bottom: 0px; text-align: -webkit-auto;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;Read/write — This is the typical SharePoint site operation mix. Most of the load is browsing to pages and documents in the site, but there is a substantial amount of list and document authoring as well. For details on the read/write operation mix, see&amp;nbsp;&lt;a href=&quot;http://office.microsoft.com/en-us/windows-sharepoint-services-it/capacity-planning-for-windows-sharepoint-services-HA001160774.aspx#BMstsb07_transaction&quot; style=&quot;color: #9965c3; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;Tested Read/Write Transaction Mix&lt;/a&gt;.&lt;/li&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;Read only — This is the typical load of a reference site where the data on the server is changing very slowly. For this mix, the entire test load is on the home page of the site. The home page is one of the most expensive pages to render, so this is a fairly conservative read-only load.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 1.15em; line-height: 21px; margin: 20px 0px 2px; text-align: -webkit-auto;&quot;&gt;
About the Server Configuration&lt;/h4&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The server configuration describes how computers are configured to run the site. Windows SharePoint Services supports a server farm design where multiple Web servers can be used to serve the same content, as in the following illustration.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;img alt=&quot;Server farm configuration&quot; border=&quot;0&quot; src=&quot;http://officeimg.vo.msecnd.net/en-us/files/651/913/ZA001094824.gif&quot; style=&quot;border-width: 0px; visibility: visible;&quot; title=&quot;Server farm configuration&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
Administrators can add capacity to both the Web server and database server tiers by adding more server computers to the server farm. The total capacity of the server farm depends on the number of Web servers, the number of database servers, and the ratio of Web servers to database servers.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The following configurations were tested:&lt;/div&gt;
&lt;ul class=&quot;cntIndent36&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 21px; list-style: url(http://officeimg.vo.msecnd.net/en-us/files/199/617/ZA010079369.gif); margin-bottom: 10px; margin-left: 0px; margin-top: 0px; padding-bottom: 0px; text-align: -webkit-auto;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;Single computer — One computer running both the Web server and database server.&lt;/li&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;&lt;i&gt;N&lt;/i&gt;-by-one server farm — One to eight computers running the Web server and a separate computer running the database server. This covers the most common server farm scenarios. These tests determine the marginal throughput increase for each additional Web server and the optimum ratio of Web servers to database servers. As the test results show, adding Web servers to the server farm adds capacity linearly until the fourth or fifth Web server. Beyond five Web servers for each database server, the system bottleneck becomes the database server. To add even more capacity you need to add a database server to the server farm.&lt;/li&gt;
&lt;li style=&quot;margin-left: 0px; padding-bottom: 8px; padding-left: 0px;&quot;&gt;Eight-by-two server farm — Eight Web servers and two database servers. This test validates the database scale out. An 8x2 server farm has roughly twice the total throughput as a 4x1 server farm. Extending the scale out model to 12x3 and 16x4 becomes a matter of providing sufficient network bandwidth for the server farm.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 5px; margin-left: inherit; margin-top: -5px; padding: 0px; text-align: -webkit-auto;&quot;&gt;
For the test hardware specifications, see&amp;nbsp;&lt;a href=&quot;http://office.microsoft.com/en-us/windows-sharepoint-services-it/capacity-planning-for-windows-sharepoint-services-HA001160774.aspx#BMstsb07_hardware&quot; style=&quot;color: #9965c3; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;Tested Hardware and Software&lt;/a&gt;.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 1.15em; line-height: 21px; margin: 20px 0px 2px; text-align: -webkit-auto;&quot;&gt;
About Throughput to Users&lt;/h4&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The Windows SharePoint Services performance lab found the peak throughput for each combination of transaction mix and server configuration. The throughput is measured in transactions per second. These transactions-per-second measurements can be converted to the total number of users using a model of typical end-user behavior. Like many human behaviors, there is a broad range of &quot;typical&quot; behavior. The user model for Windows SharePoint Services has two variables:&lt;/div&gt;
&lt;ol class=&quot;cntIndent36&quot; start=&quot;1&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 21px; margin-bottom: 10px; margin-left: 0px; margin-top: 0px; padding-bottom: 0px; text-align: -webkit-auto;&quot; type=&quot;1&quot;&gt;
&lt;li style=&quot;line-height: 20px; margin: 0px 0px 7px; padding: 0px;&quot;&gt;Concurrency — The maximum percentage of the total user base who will be using the system simultaneously. The Windows SharePoint Services models all use 10% concurrency.&lt;/li&gt;
&lt;li style=&quot;line-height: 20px; margin: 0px 0px 7px; padding: 0px;&quot;&gt;Request rate — The number of requests per hour an active user generates on average. Windows SharePoint Services uses four models for user behavior:&lt;/li&gt;
&lt;ul style=&quot;list-style: url(http://officeimg.vo.msecnd.net/en-us/files/199/617/ZA010079369.gif); margin-bottom: 10px; margin-left: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 15px;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;line-height: 20px; margin: 0px 0px 7px; padding: 0px;&quot;&gt;Light — 20 requests per hour. An active user will generate a request every 180 seconds. Each response per second of throughput supports 180 simultaneous users and 1,800 total users.&lt;/li&gt;
&lt;li style=&quot;line-height: 20px; margin: 0px 0px 7px; padding: 0px;&quot;&gt;Typical — 36 requests per hour. An active user will generate a request every 100 seconds. Each response per second of throughput supports 100 simultaneous users and 1,000 total users.&lt;/li&gt;
&lt;li style=&quot;line-height: 20px; margin: 0px 0px 7px; padding: 0px;&quot;&gt;Heavy — 60 requests per hour. An active user will generate a request every 60 seconds. Each response per second of throughput supports 60 simultaneous users and 600 total users.&lt;/li&gt;
&lt;li style=&quot;line-height: 20px; margin: 0px 0px 7px; padding: 0px;&quot;&gt;Extreme — 120 requests per hour. An active user will generate a request every 30 seconds. Each response per second of throughput supports 30 simultaneous users and 300 total users.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;h3 style=&quot;background-color: white; color: #454545; font-family: &#39;Segoe UI&#39;, Arial, Verdana; font-size: 1.25em; font-weight: normal; line-height: 21px; margin: 25px 0px 5px; padding: 0px; text-align: -webkit-auto; text-transform: uppercase;&quot;&gt;
THROUGHPUT DATA&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The following table shows the throughput results for each transaction mix, server configuration, and user model. The peak throughput point is highlighted in&amp;nbsp;&lt;b class=&quot;ui&quot;&gt;bold&lt;/b&gt;.&lt;/div&gt;
&lt;div id=&quot;tableoverflow&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; margin: 0px 0px 20px inherit; overflow: auto; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;table class=&quot;collapse&quot; style=&quot;border-bottom-style: none; border-collapse: collapse; margin: 0px; width: 664px;&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;TRANSACTIONS PER SECOND&lt;/b&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;TOTAL USER COUNT&lt;/b&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Light&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Typical&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Heavy&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Extreme&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Configuration&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Mix&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Read&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Mix&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Read&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Mix&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Read&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Mix&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Read&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Mix&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;Read&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Single Server&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;34&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;43&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;61,200&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;77,400&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;34,000&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;43,000&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;20,400&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;25,800&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;10,200&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;12,900&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;1 by 1&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;65&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;70&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;117,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;126,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;65,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;70,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;39,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;42,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;19,500&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;21,000&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;2 by 1&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;121&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;132&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;217,800&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;237,600&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;121,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;132,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;72,600&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;79,200&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;36,300&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;39,600&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;3 by 1&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;156&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;194&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;280,800&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;349,200&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;156,000&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;194,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;93,600&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;116,400&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;46,800&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;58,200&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;4 by 1&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;161&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;256&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;289,800&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;460,800&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;161,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;256,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;96,600&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;153,600&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;48,300&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;76,800&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;5 by 1&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;164&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;279&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;295,200&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;502,200&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;164,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;279,000&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;98,400&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;167,400&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;49,200&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;83,700&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;6 by 1&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;157&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;278&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;282,600&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;500,400&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;157,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;278,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;94,200&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;166,800&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;47,100&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;83,400&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;7 by 1&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;280&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;293,400&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;504,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;163,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;280,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;97,800&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;168,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;48,900&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;84,000&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;8 by 1&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;153&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;279&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;275,400&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;502,200&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;153,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;279,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;91,800&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;167,400&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;45,900&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;83,700&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;8 by 2&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;462&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;831,600&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;462,000&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;277,200&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;&lt;b class=&quot;bterm&quot;&gt;138,600&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The following chart shows that adding additional Web servers to a single database server farm increases the capacity of the server farm, but only to a certain point. For the read-only transaction mix, the capacity of the server farm increases steadily for up to four Web servers and stops increasing at six Web servers. For the read/write mix, the capacity does not increase significantly beyond three Web servers.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;img alt=&quot;Single Database Server Throughput vs. Web Server Count&quot; border=&quot;0&quot; src=&quot;http://officeimg.vo.msecnd.net/en-us/files/199/044/ZA001094833.gif&quot; style=&quot;border-width: 0px; visibility: visible;&quot; title=&quot;Single Database Server Throughput vs. Web Server Count&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
Total capacity does not increase because the throughput is now limited by the one database server computer. Extending capacity beyond this point requires adding another database server to the server farm.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The following chart shows that adding an additional database server to the farm can extend the total capacity of the farm if there are sufficient web servers to handle the load.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;img alt=&quot;Multiple Database Server Throughput&quot; border=&quot;0&quot; src=&quot;http://officeimg.vo.msecnd.net/en-us/files/776/184/ZA001094834.gif&quot; style=&quot;border-width: 0px; visibility: visible;&quot; title=&quot;Multiple Database Server Throughput&quot; /&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border-bottom-color: rgb(255, 194, 0); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-family: &#39;Segoe UI&#39;, Arial, Verdana; font-size: 1.67em; font-weight: normal; line-height: 21px; margin: 0px 0px 10px; padding: 25px 0px 10px; text-align: -webkit-auto;&quot;&gt;
About Capacity and Scale Guidelines&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The capacity of Windows SharePoint Services is also affected by scalability (how many objects can be created in a given scope, such as number of documents per folder). There are very few hard limits in Windows SharePoint Services. Most of the scale guidelines are determined by performance. In other words, you can exceed these guidelines, but you may find the resulting performance to be unacceptable.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
One of the most important scale dimensions is site collections per database. This scale dimension depends on the number of indexes on the database. As the number of site collections increases, the performance of the system degrades as it serves more and more different site collections. As you can see in following chart, there is no hard limit where performance becomes unacceptable, but performance does degrades faster beyond 10,000 site collections and drops below 100 responses per second beyond 50,000 site collections.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;img alt=&quot;Throughput vs. Site Collections&quot; border=&quot;0&quot; src=&quot;http://officeimg.vo.msecnd.net/en-us/files/399/398/ZA001094836.gif&quot; style=&quot;border-width: 0px; visibility: visible;&quot; title=&quot;Throughput vs. Site Collections&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The other scale guidelines are shown in the following table. None of these are hard limits enforced by the system. They are guidelines for designing a server that has good overall performance.&lt;/div&gt;
&lt;div id=&quot;tableoverflow&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; margin: 0px 0px 20px inherit; overflow: auto; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;table class=&quot;collapse&quot; style=&quot;border-bottom-style: none; border-collapse: collapse; margin: 0px; width: 450px;&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;OBJECT&lt;/b&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;SCOPE&lt;/b&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;GUIDELINE FOR OPTIMUM PERFORMANCE&lt;/b&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;COMMENT&lt;/b&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Site collections&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Database&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;50,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Total throughput degrades as the number of site collections increases.&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Web sites&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Web site&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;2,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;The interface for enumerating subsites of a given Web site does not perform well much beyond 2,000 subsites.&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Web sites&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Site collection&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;250,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;You can create a very large total number of Web sites by nesting the subsites. For example, 100 sites each with 1000 subsites is 100,100 Web sites.&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Documents&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Folder&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;2,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;The interfaces for enumerating documents in a folder do not perform well beyond a thousand entries.&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Documents&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Library&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;2&amp;nbsp;million&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;You can create very large document libraries by nesting folders.&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Security principals&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Web site&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;2,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;The size of the access control list is limited to a few thousand security principals, in other words users and groups in the Web site.&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Users&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Web site&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;2&amp;nbsp;million&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;You can add millions of people to your Web site by using Microsoft Windows security groups to manage security instead of using individual users.&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Items&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;List&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;2,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;The interface for enumerating list items does not perform well beyond a few thousand items.&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Web Parts&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Page&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;100&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Pages with more than 100 Web Parts are slow to render.&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Web Part personalization&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Page&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;10,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Pages with more than a few thousand user personalizations are slow to render.&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Lists&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Web site&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;2,000&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;The interface for enumerating lists and libraries in a Web site does not perform well beyond a few thousand entries.&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Document size&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;File&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;50 MB&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;The file save performance degrades as the file size grows. The default maximum is 50 MB. This maximum is enforced by the system, but you can change it to any value up to 2 GB (2047 MB) if you have applied Windows SharePoint Services Service Pack 1. For more information, see&amp;nbsp;&lt;b class=&quot;ui&quot;&gt;Configuring large file support&lt;/b&gt;&amp;nbsp;in&amp;nbsp;&lt;a href=&quot;http://office.microsoft.com/en-us/windows-sharepoint-services-it/redir/HA001160788.aspx?CTT=5&amp;amp;origin=HA001160774&quot; style=&quot;color: #9965c3; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;Installing and Using Service Packs for Windows SharePoint Services&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;a href=&quot;&quot; id=&quot;BMstsb07_transaction&quot; name=&quot;BMstsb07_transaction&quot; style=&quot;background-color: white; color: #4685df; font-family: Arial, Verdana; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: -webkit-auto;&quot;&gt;&lt;/a&gt;&lt;h2 style=&quot;background-color: white; border-bottom-color: rgb(255, 194, 0); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-family: &#39;Segoe UI&#39;, Arial, Verdana; font-size: 1.67em; font-weight: normal; line-height: 21px; margin: 0px 0px 10px; padding: 25px 0px 10px; text-align: -webkit-auto;&quot;&gt;
&lt;a href=&quot;&quot; id=&quot;BMstsb07_transaction&quot; name=&quot;BMstsb07_transaction&quot; style=&quot;color: #4685df; margin: 0px; padding: 0px;&quot;&gt;&lt;/a&gt;Tested Read/Write Transaction Mix&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The following table describes the mix of operations that make up the read/write transaction mix. The Windows SharePoint Services team counted only meaningful end-user operations in the throughput numbers, but the load on the server includes supporting transactions as well, such as getting the images, style sheets, and JavaScript files for the home page.&lt;/div&gt;
&lt;div id=&quot;tableoverflow&quot; style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; margin: 0px 0px 20px inherit; overflow: auto; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;table class=&quot;collapse&quot; style=&quot;border-bottom-style: none; border-collapse: collapse; margin: 0px; width: 450px;&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;END USER OPERATION&lt;/b&gt;&lt;/th&gt;&lt;th style=&quot;background-color: rgb(216, 216, 216) !important; border-bottom-color: rgb(164, 164, 164); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(164, 164, 164); border-top-style: solid; border-top-width: 1px; color: #333333; font-size: 1em; font-weight: normal; padding: 3px 10px 3px 5px; text-align: left; text-transform: uppercase;&quot;&gt;&lt;b class=&quot;ui&quot;&gt;PERCENTAGE&lt;/b&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Get home page&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;9.0%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Get list page (HTML)&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;9.0%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Get list page (grid)&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;9.0%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Get list form&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;6.0%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Get static document&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;15.0%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Insert list item&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;1.5%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Edit list item&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;1.5%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Delete list item&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;1.5%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Insert document&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;1.5%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Open document for edit&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;1.5%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Save document&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;1.5%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Delete document&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;1.5%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;List URLs&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;1.5%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Short term check-out&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;15.0%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgodd&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;Get cached document&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;15.0%&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;trbgeven&quot; style=&quot;background-color: #f3f3f3; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; color: #454545; font-size: 0.92em; padding: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;404 errors&lt;/td&gt;&lt;td style=&quot;margin: 0px; padding: 4px 10px 4px 5px; vertical-align: top;&quot;&gt;10.0%&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;b class=&quot;cntnote&quot; style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(234, 234, 234); border-bottom-width: 1px; border-style: solid none; border-top-color: rgb(234, 234, 234); border-top-width: 1px; font-size: 0.92em; font-weight: normal; line-height: 1em; margin: 20px 0px 5px; padding: 1px 2px 1px 1px; text-transform: uppercase;&quot;&gt;&amp;nbsp;NOTE&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;There are roughly two supporting transactions for each end-user transaction. In other words, the end-user operations make up about a third of the total transaction load on the server.&lt;/div&gt;
&lt;a href=&quot;&quot; id=&quot;BMstsb07_hardware&quot; name=&quot;BMstsb07_hardware&quot; style=&quot;background-color: white; color: #4685df; font-family: Arial, Verdana; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: -webkit-auto;&quot;&gt;&lt;/a&gt;&lt;h2 style=&quot;background-color: white; border-bottom-color: rgb(255, 194, 0); border-bottom-style: solid; border-bottom-width: 1px; color: #454545; font-family: &#39;Segoe UI&#39;, Arial, Verdana; font-size: 1.67em; font-weight: normal; line-height: 21px; margin: 0px 0px 10px; padding: 25px 0px 10px; text-align: -webkit-auto;&quot;&gt;
&lt;a href=&quot;&quot; id=&quot;BMstsb07_hardware&quot; name=&quot;BMstsb07_hardware&quot; style=&quot;color: #4685df; margin: 0px; padding: 0px;&quot;&gt;&lt;/a&gt;Tested Hardware and Software&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The following hardware was used to gather the performance and scalability data in this topic.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #454545; font-family: &#39;Segoe UI&#39;, Arial, Verdana; font-size: 1.25em; font-weight: normal; line-height: 21px; margin: 25px 0px 5px; padding: 0px; text-align: -webkit-auto; text-transform: uppercase;&quot;&gt;
WEB SERVERS&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The Web server computers were Compaq DL360s with two 1 GHz Pentium 3 processors and 1 GB of memory. The computers were running a prerelease version of Microsoft Windows Server 2003, Enterprise Edition, build 3718.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;b class=&quot;cntnote&quot; style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(234, 234, 234); border-bottom-width: 1px; border-style: solid none; border-top-color: rgb(234, 234, 234); border-top-width: 1px; font-size: 0.92em; font-weight: normal; line-height: 1em; margin: 20px 0px 5px; padding: 1px 2px 1px 1px; text-transform: uppercase;&quot;&gt;&amp;nbsp;NOTE&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;The single computer tests were run on Web server hardware.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #454545; font-family: &#39;Segoe UI&#39;, Arial, Verdana; font-size: 1.25em; font-weight: normal; line-height: 21px; margin: 25px 0px 5px; padding: 0px; text-align: -webkit-auto; text-transform: uppercase;&quot;&gt;
DATABASE SERVERS&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The database server computers were Compaq DL380s with two 1 GHz Pentium 3 processors and 2 GB of memory. The computers were running Microsoft SQL Server 2000 SP2 and a prerelease version of Windows Server 2003, Enterprise Edition, build 3718.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; margin-bottom: 10px; margin-left: inherit; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: transparent; font-size: 12px; line-height: 20px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #454545; font-family: Arial, Verdana;&quot;&gt;Reference&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #454545; font-family: Arial, Verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 20px;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://office.microsoft.com/en-us/windows-sharepoint-services-it/capacity-planning-for-windows-sharepoint-services-HA001160774.aspx&quot; style=&quot;background-color: transparent; text-align: left;&quot;&gt;http://office.microsoft.com/en-us/windows-sharepoint-services-it/capacity-planning-for-windows-sharepoint-services-HA001160774.aspx&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/7131081791165246060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2012/06/capacity-planning-for-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/7131081791165246060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/7131081791165246060'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2012/06/capacity-planning-for-windows.html' title='Capacity Planning for Windows SharePoint Services'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3191818738462219789.post-3954831588947011810</id><published>2012-02-14T01:04:00.003-08:00</published><updated>2012-02-14T01:04:37.129-08:00</updated><title type='text'>Work with multiple Exchange and SharePoint calendars in one SharePoint calendar</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
A SharePoint calendar enables you to work with multiple Exchange and SharePoint calendars at the same time. For example, a group calendar is helpful when you schedule a team meeting, because you can see the Exchange calendars of team members and SharePoint calendars of resources, such as conference rooms, in one group calendar view. &lt;br /&gt;
&lt;a href=&quot;&quot; id=&quot;_Toc246263855&quot; name=&quot;_Toc246263855&quot;&gt;&lt;/a&gt;&lt;h2&gt;
&lt;a href=&quot;&quot; id=&quot;_Toc246263855&quot; name=&quot;_Toc246263855&quot;&gt;&lt;/a&gt;Add multiple SharePoint and Exchange calendars to a SharePoint calendar&lt;/h2&gt;
Use the following procedure to create a view of multiple SharePoint and Exchange calendars for a SharePoint calendar. A view for a calendar can display a maximum of ten calendars.&lt;br /&gt;
&lt;b class=&quot;cntnote&quot;&gt; Note &lt;/b&gt;   To change calendar settings, you must have at least the design permission level for the site.&lt;br /&gt;
&lt;ol class=&quot;cntIndent36&quot; start=&quot;1&quot; type=&quot;1&quot;&gt;
&lt;li&gt;In a SharePoint calendar, in the ribbon, on the &lt;b class=&quot;ui&quot;&gt;Calendar tab&lt;/b&gt;, click &lt;b class=&quot;ui&quot;&gt;Calendar Overlays&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the Calendar Overla&lt;a href=&quot;&quot; id=&quot;_GoBack&quot; name=&quot;_GoBack&quot;&gt;&lt;/a&gt;y Settings page, click &lt;b class=&quot;ui&quot;&gt;New Calendar&lt;/b&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul class=&quot;cntIndent54&quot; type=&quot;disc&quot;&gt;
&lt;li&gt;To add a SharePoint calendar&lt;/li&gt;
&lt;/ul&gt;
&lt;ol class=&quot;cntIndent72&quot; start=&quot;1&quot; type=&quot;a&quot;&gt;
&lt;li&gt;In the &lt;b class=&quot;ui&quot;&gt;Name and Type&lt;/b&gt; section, type the &lt;b class=&quot;ui&quot;&gt;Calendar Name&lt;/b&gt; and then select &lt;b class=&quot;ui&quot;&gt;SharePoint&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b class=&quot;ui&quot;&gt;Calendar Overlay Settings&lt;/b&gt; section, type a &lt;b class=&quot;ui&quot;&gt;Description&lt;/b&gt; for the calendar (optional), and change the &lt;b class=&quot;ui&quot;&gt;Color&lt;/b&gt; theme for the calendar (optional).&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;cntIndent72&quot;&gt;
&lt;b class=&quot;cntnote&quot;&gt; Tip &lt;/b&gt;   Selecting different colors for different calendars makes it easier to distinguish which calendar an event is from.&lt;/div&gt;
&lt;ol class=&quot;cntIndent72&quot; start=&quot;3&quot; type=&quot;a&quot;&gt;
&lt;li&gt;Type the Web URL for the SharePoint site that the calendar is in, such as https://contoso.com/TWGroupWorkSite/calendar, and then click Resolve. If the calendar is in the same site as the group calendar, Web URL will already be populated accurately.&lt;/li&gt;
&lt;li&gt;Click the &lt;b class=&quot;ui&quot;&gt;List&lt;/b&gt; drop-down arrow and select the calendar that you want to add to the calendar.&lt;/li&gt;
&lt;li&gt;Click the &lt;b class=&quot;ui&quot;&gt;List View&lt;/b&gt; drop-down arrow and select the view that you want to use for the calendar.&lt;/li&gt;
&lt;li&gt; If you want this SharePoint calendar to always display in the SharePoint group calendar, select &lt;b class=&quot;ui&quot;&gt;Always Show&lt;/b&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul class=&quot;cntIndent54&quot; type=&quot;disc&quot;&gt;
&lt;li&gt;To add an Exchange calendar&lt;/li&gt;
&lt;/ul&gt;
&lt;ol class=&quot;cntIndent72&quot; start=&quot;1&quot; type=&quot;a&quot;&gt;
&lt;li&gt;In the &lt;b class=&quot;ui&quot;&gt;Name and Type&lt;/b&gt; section, type the &lt;b class=&quot;ui&quot;&gt;Calendar Name&lt;/b&gt; and select &lt;b class=&quot;ui&quot;&gt;Exchange&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;b class=&quot;ui&quot;&gt;Calendar Overlay Settings&lt;/b&gt; section, type a &lt;b class=&quot;ui&quot;&gt;Description&lt;/b&gt; for the calendar (optional), and change the default &lt;b class=&quot;ui&quot;&gt;Color&lt;/b&gt; theme for the calendar (optional). &lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;cntIndent72&quot;&gt;
&lt;b class=&quot;cntnote&quot;&gt; Tip &lt;/b&gt;   Selecting different colors for different calendars makes it easier to distinguish which calendar an event is from.&lt;/div&gt;
&lt;ol class=&quot;cntIndent72&quot; start=&quot;3&quot; type=&quot;a&quot;&gt;
&lt;li&gt;Click &lt;b class=&quot;ui&quot;&gt;Find&lt;/b&gt;. &lt;b class=&quot;ui&quot;&gt;Outlook Web Access URL&lt;/b&gt; and &lt;b class=&quot;ui&quot;&gt;Exchange Web Service URL&lt;/b&gt; will be filled in automatically. If &lt;b class=&quot;ui&quot;&gt;Find&lt;/b&gt; does not work in your environment, type the URLs manually&lt;/li&gt;
&lt;li&gt;If you want this Exchange calendar to always display with the SharePoint group calendar, select &lt;b class=&quot;ui&quot;&gt;Always Show&lt;/b&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;ol class=&quot;cntIndent36&quot; start=&quot;3&quot; type=&quot;1&quot;&gt;
&lt;li&gt;Click &lt;b class=&quot;ui&quot;&gt;OK&lt;/b&gt; and then click &lt;b class=&quot;ui&quot;&gt;OK&lt;/b&gt; again.&lt;/li&gt;
&lt;/ol&gt;
Following is an example of the day view of the Team group calendar, overlaying Aamir and Connie’s calendars.&lt;br /&gt;
&lt;div class=&quot;cntIndent36&quot;&gt;
&lt;img alt=&quot;Group calendar&quot; border=&quot;0&quot; src=&quot;http://officeimg.vo.msecnd.net/en-us/files/615/366/ZA101809030.jpg&quot; style=&quot;visibility: visible;&quot; title=&quot;Group calendar&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;cntIndent36&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;cntIndent36&quot;&gt;
Reference:&amp;nbsp;http://office.microsoft.com/en-us/sharepoint-foundation-help/work-with-multiple-exchange-and-sharepoint-calendars-in-one-sharepoint-calendar-HA101777171.aspx?CTT=1&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointinaction.blogspot.com/feeds/3954831588947011810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepointinaction.blogspot.com/2012/02/work-with-multiple-exchange-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/3954831588947011810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3191818738462219789/posts/default/3954831588947011810'/><link rel='alternate' type='text/html' href='http://sharepointinaction.blogspot.com/2012/02/work-with-multiple-exchange-and.html' title='Work with multiple Exchange and SharePoint calendars in one SharePoint calendar'/><author><name>Mohamed Shawki</name><uri>http://www.blogger.com/profile/05836117961212704549</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>