Home All Groups Group Topic Archive Search About

sqldbtype.nvarchar in application but field is a varchar in database

Author
14 Jul 2006 3:19 PM
Bill Youngman
I have just taken over a project for my current client and have noticed
several places in the existing application where the developer set the sql
parameter dbtype to nvarchar in the application code but the field in the
backend database is a varchar. What effect, if any can this have on the
application?

TIA,
Bill Youngman

Author
14 Jul 2006 4:01 PM
Arnie Rowland
As long as the application is not using double byte characters (unicode),
you will be ok. If the application is ever globalized to allow unicode
dependent languages, there will be a problem to resolve.

For 'peace of mind', I would start making the changes when they are
discovered -either in the app or the sproc.

--
Arnie Rowland*
"To be successful, your heart must accompany your knowledge."



Show quote
"Bill Youngman" <wyoung***@anexinet.com> wrote in message
news:OU6Ffj1pGHA.4424@TK2MSFTNGP05.phx.gbl...
>I have just taken over a project for my current client and have noticed
>several places in the existing application where the developer set the sql
>parameter dbtype to nvarchar in the application code but the field in the
>backend database is a varchar. What effect, if any can this have on the
>application?
>
> TIA,
> Bill Youngman
>
Author
14 Jul 2006 5:26 PM
Bill Youngman
Thanks Arnie for your help.

I will pass this on to our Sr. Architect

Bill
Show quote
"Arnie Rowland" <ar***@1568.com> wrote in message
news:%23SSSX71pGHA.1440@TK2MSFTNGP03.phx.gbl...
> As long as the application is not using double byte characters (unicode),
> you will be ok. If the application is ever globalized to allow unicode
> dependent languages, there will be a problem to resolve.
>
> For 'peace of mind', I would start making the changes when they are
> discovered -either in the app or the sproc.
>
> --
> Arnie Rowland*
> "To be successful, your heart must accompany your knowledge."
>
>
>
> "Bill Youngman" <wyoung***@anexinet.com> wrote in message
> news:OU6Ffj1pGHA.4424@TK2MSFTNGP05.phx.gbl...
>>I have just taken over a project for my current client and have noticed
>>several places in the existing application where the developer set the sql
>>parameter dbtype to nvarchar in the application code but the field in the
>>backend database is a varchar. What effect, if any can this have on the
>>application?
>>
>> TIA,
>> Bill Youngman
>>
>
>

AddThis Social Bookmark Button