Re: Is there a limit of 256 on CHAR data?

From: Dinesh T.K (tkdinesh_at_nospam.mail.tkdinesh.com)
Date: 05/13/04


Date: Thu, 13 May 2004 23:40:17 +0530

Steve,

Change the max number in Query analyzer 'tools' menu |options|'results' tab.

--
Dinesh
SQL Server MVP
--
--
SQL Server FAQ at
http://www.tkdinesh.com
"Steve Z" <szlamany@antarescomputing_no_spam.com> wrote in message
news:Om8MaQROEHA.2468@TK2MSFTNGP11.phx.gbl...
> We are creating some VIEWS that concatenate columns for output to FIXED
> LENGTH TEXT FILES - with FIXED LENGTH columns.
>
> This is being done for various transmissions - W2 files to the SS Admin,
> 1099 files to the IRS, eligibility files to various health organizations.
>
> While testing today, in Query Analyzer, it appeared that saying something
> like:
>
> Cast(    Cast(col1 as char(10))+Cast(Col2 as char(15))...+Cast(Colnn as
> char(10))     as char(280))
>
> The 280 was not liked.  In QA we could only see a single column of I'm
> thinking around 256 bytes?
>
> Does QA have a max size for column display in the grid?
>
>


Relevant Pages

  • Re: Cannot create a SQL user logon
    ... Tibor Karaszi, SQL Server MVP ... >>> Login to Query Analyzer and execute the below query to check if login ...
    (microsoft.public.sqlserver.setup)
  • Re: Is it possible to write and add in to sql server analyzer?
    ... "Dan Guzman" wrote in message ... > You an define an external application to Query Analyzer under Tools --> ... > SQL Server MVP ...
    (microsoft.public.sqlserver.programming)
  • Re: SQL2005 sys tables
    ... Maybe you don't have the SQL Editor toolbar open. ... You can also change the database context by using the USE statement in the ... SQL Server Documentation Team ... I mean in sql2000 query analyzer I can do the select statement against ...
    (microsoft.public.sqlserver.security)
  • RE: select during transaction**
    ... > in query analyzer I want to update ... beacuse sql server decide on clustered index scan, therefore this statement must wait on releasing locks made by UPDATE ... because sql server chose clustered index seek and it didn't touch/need ... the data locking by UPDATE from first window. ...
    (microsoft.public.sqlserver.programming)
  • Summing tables in a UDF
    ... developed in Sybase into a SQL Server UDF. ... to run call the function in Query Analyzer even though it ... declare rentrev integer; ... What UDF type do I need to recreate this in SQL Server? ...
    (microsoft.public.sqlserver.programming)