<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkIDRHc6cCp7ImA9WhRRFE4.&quot;"><id>tag:blogger.com,1999:blog-2574044757113187553</id><updated>2011-11-27T16:02:55.918-08:00</updated><category term="SQL 2008" /><category term="SQL functions" /><title>Ask seo Sql queries Sql statments Sql tips</title><subtitle type="html">Sql statments, Sql commands, Sql query examples for select insert update delete join statments</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://ask-seo.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://ask-seo.blogspot.com/" /><author><name>مش مهم</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="20" height="32" src="http://bp2.blogger.com/_GpbLzAoY9qc/R3fc1sujSfI/AAAAAAAAAAM/YNjwrpSNfMQ/S220/scan0001.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/AskSeoSqlQueriesSqlStatments" /><feedburner:info uri="askseosqlqueriessqlstatments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CkcGSHs9eCp7ImA9WxNaEUo.&quot;"><id>tag:blogger.com,1999:blog-2574044757113187553.post-1647239249229232012</id><published>2009-11-25T09:05:00.000-08:00</published><updated>2009-11-25T09:27:09.560-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-25T09:27:09.560-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL functions" /><title>How to use SUBSTRING function with string</title><content type="html">SUBSTRING can be used to return a part of character string.&lt;br /&gt;The syntex for SUBSTRING will look like this:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;SUBSTRING ( value ,start , length )&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;where &lt;strong&gt;Value&lt;/strong&gt; is the column name or the expression.&lt;br /&gt;&lt;strong&gt;Start&lt;/strong&gt; is an interger or bigint that specifies where the returned characters start.&lt;br /&gt;&lt;strong&gt;Length&lt;/strong&gt; is an integer or bigint that specifies how many character of the &lt;strong&gt;Value&lt;/strong&gt; will be returned.&lt;br /&gt;&lt;br /&gt;For example if we want to reurn the first 2 characters from the [f_name] column from table [students] then the query should be like that:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;use [northwind]&lt;br /&gt;Go&lt;br /&gt;select substring(f_name,2,2) from students&lt;br /&gt;Go&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2574044757113187553-1647239249229232012?l=ask-seo.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/r8glSUUoFwuQTc9qjB95GPKdhuU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/r8glSUUoFwuQTc9qjB95GPKdhuU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/r8glSUUoFwuQTc9qjB95GPKdhuU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/r8glSUUoFwuQTc9qjB95GPKdhuU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AskSeoSqlQueriesSqlStatments/~4/gNbLFd1Zork" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ask-seo.blogspot.com/feeds/1647239249229232012/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ask-seo.blogspot.com/2009/11/how-to-use-substring-function-with.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2574044757113187553/posts/default/1647239249229232012?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2574044757113187553/posts/default/1647239249229232012?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskSeoSqlQueriesSqlStatments/~3/gNbLFd1Zork/how-to-use-substring-function-with.html" title="How to use SUBSTRING function with string" /><author><name>مش مهم</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="20" height="32" src="http://bp2.blogger.com/_GpbLzAoY9qc/R3fc1sujSfI/AAAAAAAAAAM/YNjwrpSNfMQ/S220/scan0001.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ask-seo.blogspot.com/2009/11/how-to-use-substring-function-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcHQnwyfSp7ImA9WxNbGUo.&quot;"><id>tag:blogger.com,1999:blog-2574044757113187553.post-9142784529727917883</id><published>2009-11-23T03:33:00.000-08:00</published><updated>2009-11-23T03:50:33.295-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-23T03:50:33.295-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008" /><title>Visual Studio 2008 cannot connect to SQL 2008</title><content type="html">When trying to connect to SQL server 2008 from visual studio 2008 you will get the following error:&lt;br /&gt;"&lt;strong&gt;This server version is not supported.  Only servers up to Microsoft SQL Server 2005 are supported&lt;/strong&gt;".&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;just download and install Visual Studio 2008 Service Pack 1 and it will work fine.&lt;br /&gt;Visual Studio SP1 can be downloaded from Microsoft website, it is about 800 MB in iso format.&lt;br /&gt;&lt;br /&gt;Here is the Download page for &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=27673c47-b3b5-4c67-bd99-84e525b5ce61"&gt;Visual Studio 2008 SP1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2574044757113187553-9142784529727917883?l=ask-seo.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-cc1bMbCrFDd3Am411sICzrtty0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-cc1bMbCrFDd3Am411sICzrtty0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-cc1bMbCrFDd3Am411sICzrtty0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-cc1bMbCrFDd3Am411sICzrtty0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AskSeoSqlQueriesSqlStatments/~4/yhsHAnlz6zI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://ask-seo.blogspot.com/feeds/9142784529727917883/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://ask-seo.blogspot.com/2009/11/visual-studio-2008-cannot-connect-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2574044757113187553/posts/default/9142784529727917883?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2574044757113187553/posts/default/9142784529727917883?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskSeoSqlQueriesSqlStatments/~3/yhsHAnlz6zI/visual-studio-2008-cannot-connect-to.html" title="Visual Studio 2008 cannot connect to SQL 2008" /><author><name>مش مهم</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="20" height="32" src="http://bp2.blogger.com/_GpbLzAoY9qc/R3fc1sujSfI/AAAAAAAAAAM/YNjwrpSNfMQ/S220/scan0001.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://ask-seo.blogspot.com/2009/11/visual-studio-2008-cannot-connect-to.html</feedburner:origLink></entry></feed>

