Re: Source size and how to change
From: Jerry Pisk (jerryiii_at_hotmail.com)
Date: 04/24/04
- Next message: Teaser: "Re: ADO reads null values from Sybase stored procedure result"
- Previous message: Ken Schaefer: "Re: How to Compact database using ASP page"
- In reply to: Val Mazur: "Re: Source size and how to change"
- Next in thread: Mark J. McGinty: "Re: Source size and how to change"
- Reply: Mark J. McGinty: "Re: Source size and how to change"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 23 Apr 2004 23:26:47 -0700
Actually it does, depending on your settings ADO will truncate strings at
4000 or 8000 characters. The first is when using Unicode strings (the
default), the second when using ASCII strings.
Jerry
"Val Mazur" <group51a@hotmail.com> wrote in message
news:%23uZC9TaKEHA.4052@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> It should not truncate sql string. I am using pretty big one in some cases
> and it works fine. What is your query looks like and how do you know that
> string was truncated. Do you get any error?
>
> --
> Val Mazur
> Microsoft MVP
>
>
> "TLowe" <noelbisspam@nomindspringspam.com> wrote in message
> news:eraMmvUKEHA.1156@TK2MSFTNGP09.phx.gbl...
> > Hello all!
> > I have a question about the size of a string that can be passed as the
> > source in an ADO call. Here is recordset that I am trying to open.
The
> > problem is the variable (strSQL) holding the sql statement is truncating
> > the
> > statement. It must be happening in the ADO call because the actual
> > variable
> > has the correct value. How do I change the size of the ADO source so
> > that
> > it will allow my whole sql statement to be passed?
> >
> > Thanks for any help!
> >
> > Tom
> > Here is the ADO call
> > rs.Open strSQL, cnnConnection, adUseClient, adLockReadOnly
> >
> >
> >
> >
> >
>
>
- Next message: Teaser: "Re: ADO reads null values from Sybase stored procedure result"
- Previous message: Ken Schaefer: "Re: How to Compact database using ASP page"
- In reply to: Val Mazur: "Re: Source size and how to change"
- Next in thread: Mark J. McGinty: "Re: Source size and how to change"
- Reply: Mark J. McGinty: "Re: Source size and how to change"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|