6
Reply

How to store more than 8000 character in SQL server 2008 variable?

Ganesh Saraf

Ganesh Saraf

Dec 28, 2015
1.9k
0

    Declare @SQLQuery nvarchar(max) = 'Select * from ...........'SQL Columns of Type Text can hold more that 8000 chars

    krishna samy
    December 28, 2015
    1

    use the Varchar(Max)

    Komara Reddy
    October 13, 2016
    0

    Declare @Str Varchar(max) Variable Declare= Max problem Solve.

    Chetan Raiyani
    June 05, 2016
    0

    Declare @SQLQuery nvarchar(max) = 'Select * from ...........' SQL Columns of Type Text can hold more that 8000 chars

    Kml Surani
    January 09, 2016
    0

    but text is not available in higher version.

    Ganesh Saraf
    December 28, 2015
    0

    Declare @SQLQuery='select * from ...................n' [More than 8000] when store in table it will truncate data. which is sutiable datatype for this?

    Ganesh Saraf
    December 28, 2015
    0