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

<channel>
	<title>IT Answers &#187; SQL Server Management Studio Express</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/sql-server-management-studio-express/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Sat, 25 May 2013 15:43:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>SQL Server Management Studio Express 2005</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-server-management-studio-express-2005/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-server-management-studio-express-2005/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 17:18:51 +0000</pubDate>
		<dc:creator>Sweetu</dc:creator>
				<category><![CDATA[SQL Server 2005 Express]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Server Management Studio 2005]]></category>
		<category><![CDATA[SQL Server Management Studio Express]]></category>
		<category><![CDATA[SSMS]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have installed Studio Express on my system but I am not able to start with it. I am not able to connect to the server. Error-40 and Error-26 is coming.What is the procedure to connect?]]></description>
				<content:encoded><![CDATA[<p>I have installed Studio Express on my system but I am not able to start with it. I am not able to connect to the server. Error-40 and Error-26 is coming.What is the procedure to connect?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-server-management-studio-express-2005/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQL error. There is already an object named &#8216;InitCap2&#8242; in the database.</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-error-there-is-already-an-object-named-initcap2-in-the-database/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-error-there-is-already-an-object-named-initcap2-in-the-database/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 20:21:12 +0000</pubDate>
		<dc:creator>Mmoreno</dc:creator>
				<category><![CDATA[InitCap2]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server errors]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Server Management Studio Express]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I am running the following code in Microsoft SQL Server Management Studio Express, and after I run it, I get the following error, even though it is returning the record set that I am looking for. I would like to get rid of this error. Thanks. The error is: Msg 2714, Level 16, State 5, [...]]]></description>
				<content:encoded><![CDATA[<p>I am running the following code in Microsoft SQL Server Management Studio Express, and after I run it, I get the following error, even though it is returning the record set that I am looking for. I would like to get rid of this error. Thanks.</p>
<p>The error is:<br />
Msg 2714, Level 16, State 5, Procedure InitCap2, Line 30<br />
There is already an object named &#8216;InitCap2&#8242; in the database.</p>
<p>My code is:</p>
<p>CREATE FUNCTION InitCap2( @InputString varchar(4000) )<br />
RETURNS VARCHAR(4000)<br />
AS<br />
BEGIN</p>
<p>DECLARE @Index          INT<br />
DECLARE @Char           CHAR(1)<br />
DECLARE @PrevChar       CHAR(1)<br />
DECLARE @OutputString   VARCHAR(255)</p>
<p>SET @OutputString = LOWER(@InputString)<br />
SET @Index = 1</p>
<p>WHILE @Index &lt;= LEN(@InputString)<br />
BEGIN<br />
    SET @Char     = SUBSTRING(@InputString, @Index, 1)<br />
    SET @PrevChar = CASE WHEN @Index = 1 THEN &#8216; &#8216;<br />
                         ELSE SUBSTRING(@InputString, @Index &#8211; 1, 1)<br />
                    END</p>
<p>    IF @PrevChar IN (&#8216; &#8216;, &#8216;;&#8217;, &#8216;:&#8217;, &#8216;!&#8217;, &#8216;?&#8217;, &#8216;,&#8217;, &#8216;.&#8217;, &#8216;_&#8217;, &#8216;-&#8217;, &#8216;/&#8217;, &#8216;&#038;&#8217;, &#8221;&#8221;, &#8216;(&#8216;)<br />
    BEGIN<br />
        IF @PrevChar != &#8221;&#8221; OR UPPER(@Char) != &#8216;S&#8217;<br />
            SET @OutputString = STUFF(@OutputString, @Index, 1, UPPER(@Char))<br />
    END</p>
<p>    SET @Index = @Index + 1<br />
END</p>
<p>RETURN @OutputString</p>
<p>END<br />
GO</p>
<p>select mi.id,&#8217;PAS&#8217;,category,classification,status,CompName,<br />
dbo.InitCap2(FirstName) AS FirstName,<br />
dbo.InitCap2(LastName) AS LastName,<br />
Salutation,OfficePh,HomePh,FaxNo,CellPh,<br />
CONVERT(nvarchar(20), mi.CreateDate, 101) AS JoinDate,<br />
CONVERT(nvarchar(20), expdate, 101) AS ExpDate,<br />
ci.email,web,&#8217;Work&#8217;,address1,address2,City,State,Zip,Country,mailcode,HomePh,FaxNo,CellPh,<br />
&#8217;1&#8242;,&#8217;1&#8242;,codeused from MEMBER_INFO mi,CONTACT_INFO ci<br />
where mi.id&gt;57924 and mi.id=ci.id</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-error-there-is-already-an-object-named-initcap2-in-the-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/16 queries in 0.020 seconds using memcached
Object Caching 386/425 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 16:37:25 -->