<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; 2005 Constraint on VARCHAR(MAX) Field To Limit It Certain Length</title>
	<atom:link href="http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Mon, 13 Feb 2012 15:11:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: SQL SERVER &#8211; Difference between CHAR, VARCHAR, NVARCHAR and VARCHAR(MAX) &#8211; Quiz &#8211; Puzzle &#8211; 15 of 31 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-238379</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Difference between CHAR, VARCHAR, NVARCHAR and VARCHAR(MAX) &#8211; Quiz &#8211; Puzzle &#8211; 15 of 31 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Mon, 16 Jan 2012 01:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-238379</guid>
		<description><![CDATA[[...] SQL Server Interview Questions and Answers ISBN: 1466405643 Page#85-87 Replace TEXT with VARCHAR(MAX) – Stop using TEXT, NTEXT, IMAGE Data Types Constraint on VARCHAR(MAX) Field To Limit It Certain Length [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL Server Interview Questions and Answers ISBN: 1466405643 Page#85-87 Replace TEXT with VARCHAR(MAX) – Stop using TEXT, NTEXT, IMAGE Data Types Constraint on VARCHAR(MAX) Field To Limit It Certain Length [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: balu..</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-234160</link>
		<dc:creator><![CDATA[balu..]]></dc:creator>
		<pubDate>Mon, 09 Jan 2012 11:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-234160</guid>
		<description><![CDATA[the problem lies with some result output setting of SQL Server Management Studio..i run such queries on 3rd party database client - Toad for Data Analysts, it all worked well and displayed the complete string that exceeded 15000..]]></description>
		<content:encoded><![CDATA[<p>the problem lies with some result output setting of SQL Server Management Studio..i run such queries on 3rd party database client &#8211; Toad for Data Analysts, it all worked well and displayed the complete string that exceeded 15000..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos Mitani Sigala</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-231335</link>
		<dc:creator><![CDATA[Carlos Mitani Sigala]]></dc:creator>
		<pubDate>Wed, 04 Jan 2012 17:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-231335</guid>
		<description><![CDATA[Great..!!!!! It worked for me... Thanks a lot my friend..]]></description>
		<content:encoded><![CDATA[<p>Great..!!!!! It worked for me&#8230; Thanks a lot my friend..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chabo</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-216943</link>
		<dc:creator><![CDATA[chabo]]></dc:creator>
		<pubDate>Tue, 13 Dec 2011 17:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-216943</guid>
		<description><![CDATA[Hi 
I am using SQL server 2005; i created a store procedure to put query result into XML into String. 

declare @returntext varchar(max)
set @ReturnText = CAST ((
select  A, B, C, D from tableE for xml path , TYPE) AS VARCHAR(MAX))

Total Length from the result should be 20000 characters; but it only return 8000 characters.  

Anything I can improve it and make it work. 

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi<br />
I am using SQL server 2005; i created a store procedure to put query result into XML into String. </p>
<p>declare @returntext varchar(max)<br />
set @ReturnText = CAST ((<br />
select  A, B, C, D from tableE for xml path , TYPE) AS VARCHAR(MAX))</p>
<p>Total Length from the result should be 20000 characters; but it only return 8000 characters.  </p>
<p>Anything I can improve it and make it work. </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: winniw</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-157383</link>
		<dc:creator><![CDATA[winniw]]></dc:creator>
		<pubDate>Mon, 15 Aug 2011 10:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-157383</guid>
		<description><![CDATA[Hi, 

I really need some help~ 

I am trying to use a batch file with fmt file to insert data into a table which I had declared as varchar (max), but somehow I keep encounter some problem as below: 
SQLState = HY000, NativeError = 0
Error = [Microsoft][SQL Native Client]Invalid field size for datatype

My BCP statement:
bcp [Database].dbo.[table] in D:\20110815.ASC -fD:\fedline.fmt -F2 -Uuid -Ppwd -Ssvr -e ERROR.LOG


this is my fmt file.
7.0
1
1	SQLCHAR		0	14000	&quot;\r\n&quot;	1	data_str 

I am using SQL Server 2005, when I tried to change the fmt file to version 9.0 which is same as SQL Server 2005, I get the following error: 
SQLState = HY000, NativeError = 0
Error = [Microsoft][SQL Native Client]I/O error while reading BCP format file

Could you please help me out? Thanks.]]></description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I really need some help~ </p>
<p>I am trying to use a batch file with fmt file to insert data into a table which I had declared as varchar (max), but somehow I keep encounter some problem as below:<br />
SQLState = HY000, NativeError = 0<br />
Error = [Microsoft][SQL Native Client]Invalid field size for datatype</p>
<p>My BCP statement:<br />
bcp [Database].dbo.[table] in D:\20110815.ASC -fD:\fedline.fmt -F2 -Uuid -Ppwd -Ssvr -e ERROR.LOG</p>
<p>this is my fmt file.<br />
7.0<br />
1<br />
1	SQLCHAR		0	14000	&#8220;\r\n&#8221;	1	data_str </p>
<p>I am using SQL Server 2005, when I tried to change the fmt file to version 9.0 which is same as SQL Server 2005, I get the following error:<br />
SQLState = HY000, NativeError = 0<br />
Error = [Microsoft][SQL Native Client]I/O error while reading BCP format file</p>
<p>Could you please help me out? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-138370</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 02 Jun 2011 09:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-138370</guid>
		<description><![CDATA[Print statement will display first 8000 characters only]]></description>
		<content:encoded><![CDATA[<p>Print statement will display first 8000 characters only</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prakash</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-138161</link>
		<dc:creator><![CDATA[Prakash]]></dc:creator>
		<pubDate>Wed, 01 Jun 2011 08:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-138161</guid>
		<description><![CDATA[Hi,

I&#039;m Constructing a Dynamic Query in a Stored Procedure with Variable as

DECLARE @Query VARCHAR(MAX)

But when i try to print the constructed Query (Print @Query)
it shows only around or less than 8000 chars, rest got truncated.

Please provide me some solution.

thanks,]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m Constructing a Dynamic Query in a Stored Procedure with Variable as</p>
<p>DECLARE @Query VARCHAR(MAX)</p>
<p>But when i try to print the constructed Query (Print @Query)<br />
it shows only around or less than 8000 chars, rest got truncated.</p>
<p>Please provide me some solution.</p>
<p>thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhi</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-126662</link>
		<dc:creator><![CDATA[Abhi]]></dc:creator>
		<pubDate>Tue, 05 Apr 2011 07:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-126662</guid>
		<description><![CDATA[My SP is something like: 

ALTER PROC [dbo].[spEditorReport_Test] 
( @PJID VARCHAR(20),
@Pstartdate VARCHAR(20),
@Penddate VARCHAR(20),
@PEditorId VARCHAR(20),
@IsDateAssigned BIT

)
AS 
BEGIN
SET nocount ON
DECLARE @jid VARCHAR(20),
@StartDate VARCHAR(20),
@endDate VARCHAR(20),
@DBName VARCHAR(20),
@Query VARCHAR(MAX)

SET @DBName = &#039;nature&#039; 
SET @Query = &#039;DECLARE @jid AS VARCHAR(20),
@StartDate AS VARCHAR(50),
@endDate AS VARCHAR(20),
@DBName As NVARCHAR(20),

......................................
......................................
(Having Big Length)
......................................
......................................

print (@Query)
exec (@Query) 
END


Output: Only printing 8000 characters like -

DECLARE @jid AS VARCHAR(20),
@StartDate AS VARCHAR(20),
@DBName As NVARCHAR(20),
@PEditorId AS NVARCHAR(20),
@IsDateAssigned BIT

................ (Till 8000 char, rest it leaves)


Please help me how can i print all characters???
I have tired to try a lot to resolve this error??????]]></description>
		<content:encoded><![CDATA[<p>My SP is something like: </p>
<p>ALTER PROC [dbo].[spEditorReport_Test]<br />
( @PJID VARCHAR(20),<br />
@Pstartdate VARCHAR(20),<br />
@Penddate VARCHAR(20),<br />
@PEditorId VARCHAR(20),<br />
@IsDateAssigned BIT</p>
<p>)<br />
AS<br />
BEGIN<br />
SET nocount ON<br />
DECLARE @jid VARCHAR(20),<br />
@StartDate VARCHAR(20),<br />
@endDate VARCHAR(20),<br />
@DBName VARCHAR(20),<br />
@Query VARCHAR(MAX)</p>
<p>SET @DBName = &#8216;nature&#8217;<br />
SET @Query = &#8216;DECLARE @jid AS VARCHAR(20),<br />
@StartDate AS VARCHAR(50),<br />
@endDate AS VARCHAR(20),<br />
@DBName As NVARCHAR(20),</p>
<p>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
(Having Big Length)<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..</p>
<p>print (@Query)<br />
exec (@Query)<br />
END</p>
<p>Output: Only printing 8000 characters like -</p>
<p>DECLARE @jid AS VARCHAR(20),<br />
@StartDate AS VARCHAR(20),<br />
@DBName As NVARCHAR(20),<br />
@PEditorId AS NVARCHAR(20),<br />
@IsDateAssigned BIT</p>
<p>&#8230;&#8230;&#8230;&#8230;&#8230;. (Till 8000 char, rest it leaves)</p>
<p>Please help me how can i print all characters???<br />
I have tired to try a lot to resolve this error??????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhi</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-126661</link>
		<dc:creator><![CDATA[Abhi]]></dc:creator>
		<pubDate>Tue, 05 Apr 2011 07:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-126661</guid>
		<description><![CDATA[SQL Server 2005]]></description>
		<content:encoded><![CDATA[<p>SQL Server 2005</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-125900</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 01 Apr 2011 05:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-125900</guid>
		<description><![CDATA[Which version of SQL Server are you using?]]></description>
		<content:encoded><![CDATA[<p>Which version of SQL Server are you using?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhi</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-125747</link>
		<dc:creator><![CDATA[Abhi]]></dc:creator>
		<pubDate>Thu, 31 Mar 2011 07:08:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-125747</guid>
		<description><![CDATA[Hi, I am using

DECLARE @Query     AS  VARCHAR(MAX)

 for maximum character. But Sp is going an error 
Msg 170, Level 15, State 1,
Line 18: Incorrect syntax near &#039;VARCHAR&#039;.

Please tell me what should i do for take maximum character.]]></description>
		<content:encoded><![CDATA[<p>Hi, I am using</p>
<p>DECLARE @Query     AS  VARCHAR(MAX)</p>
<p> for maximum character. But Sp is going an error<br />
Msg 170, Level 15, State 1,<br />
Line 18: Incorrect syntax near &#8216;VARCHAR&#8217;.</p>
<p>Please tell me what should i do for take maximum character.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-114055</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 25 Jan 2011 08:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-114055</guid>
		<description><![CDATA[What type of query that you are generating?
Can you give us an example?]]></description>
		<content:encoded><![CDATA[<p>What type of query that you are generating?<br />
Can you give us an example?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kalit</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-113823</link>
		<dc:creator><![CDATA[kalit]]></dc:creator>
		<pubDate>Mon, 24 Jan 2011 12:35:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-113823</guid>
		<description><![CDATA[Hi,

I am using MSSQL-2008

In  my one of procedure im using dynamic Query and it is getting save in nvarchar(MAX)

Here problem is that - 

My dynamic query is exceeding the length max limit and my dynamic query is not firing


Is there any way-out to save LARGE queries in nvarchar]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am using MSSQL-2008</p>
<p>In  my one of procedure im using dynamic Query and it is getting save in nvarchar(MAX)</p>
<p>Here problem is that &#8211; </p>
<p>My dynamic query is exceeding the length max limit and my dynamic query is not firing</p>
<p>Is there any way-out to save LARGE queries in nvarchar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amrut D kanthavadiya</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-69671</link>
		<dc:creator><![CDATA[Amrut D kanthavadiya]]></dc:creator>
		<pubDate>Fri, 07 May 2010 13:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-69671</guid>
		<description><![CDATA[i want to Store 12000 character string within single cell of column in table

Error : The size (12000) given to the type &#039;varchar&#039; exceeds the maximum allowed for any data type (8000)


----------------------------------

Give me SQL server 2008  Query Only

i am Builting Binary Tree for MLM .

Thanks in Advance. 

not give me &quot;GAPPA&quot; answer

amrut kanthavadiya]]></description>
		<content:encoded><![CDATA[<p>i want to Store 12000 character string within single cell of column in table</p>
<p>Error : The size (12000) given to the type &#8216;varchar&#8217; exceeds the maximum allowed for any data type (8000)</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Give me SQL server 2008  Query Only</p>
<p>i am Builting Binary Tree for MLM .</p>
<p>Thanks in Advance. </p>
<p>not give me &#8220;GAPPA&#8221; answer</p>
<p>amrut kanthavadiya</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62403</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62403</guid>
		<description><![CDATA[Your question is not very clear?
Can you give more informations?]]></description>
		<content:encoded><![CDATA[<p>Your question is not very clear?<br />
Can you give more informations?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62402</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:44:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62402</guid>
		<description><![CDATA[Read about Maximum Capacity Specifications in SQL Server help file]]></description>
		<content:encoded><![CDATA[<p>Read about Maximum Capacity Specifications in SQL Server help file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62400</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62400</guid>
		<description><![CDATA[use varchar(max)]]></description>
		<content:encoded><![CDATA[<p>use varchar(max)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62399</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:37:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62399</guid>
		<description><![CDATA[You need to set the compatibility of the database to 90]]></description>
		<content:encoded><![CDATA[<p>You need to set the compatibility of the database to 90</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62397</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62397</guid>
		<description><![CDATA[sys.sysconstraints or information_schema. table_constraints.]]></description>
		<content:encoded><![CDATA[<p>sys.sysconstraints or information_schema. table_constraints.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62394</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62394</guid>
		<description><![CDATA[What does this give?

select len(@var)]]></description>
		<content:encoded><![CDATA[<p>What does this give?</p>
<p>select len(@var)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62392</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62392</guid>
		<description><![CDATA[set the compatibility of the database to 90 and try]]></description>
		<content:encoded><![CDATA[<p>set the compatibility of the database to 90 and try</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62390</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:25:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62390</guid>
		<description><![CDATA[There is no such way to do it directly]]></description>
		<content:encoded><![CDATA[<p>There is no such way to do it directly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62388</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62388</guid>
		<description><![CDATA[select top 10 salary from table
order by salary desc]]></description>
		<content:encoded><![CDATA[<p>select top 10 salary from table<br />
order by salary desc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62387</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62387</guid>
		<description><![CDATA[Check the compatibility of the database. If it is less than 90, change it to 90]]></description>
		<content:encoded><![CDATA[<p>Check the compatibility of the database. If it is less than 90, change it to 90</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62386</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/01/sql-server-2005-constraint-on-varcharmax-field-to-limit-it-certain-length/#comment-62386</guid>
		<description><![CDATA[Generate the script of the table and modify it accordingly]]></description>
		<content:encoded><![CDATA[<p>Generate the script of the table and modify it accordingly</p>
]]></content:encoded>
	</item>
</channel>
</rss>

