Home > Archive > MS SQL Server Connectivity > February 2006 > ADO connection options









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ADO connection options
Tom

2006-01-25, 3:25 am

I noticed when connecting to SQL Server using the SQL OLEDB provider that a
number of SET commands are issued. In particular

SET CONCAT_NULL_YIELDS_N
ULL ON

is issued, and I'd like to change that to OFF. I've set the database option
to turn this off by default, but all of the client connections still issue
the command. Is there a way in the connect string to specify SET options?

Thanks,

Tom

Jens

2006-01-25, 3:25 am

I don=B4t know of any settings to manipulate this. You only chance for
this is to put the command in your batch fired against the SQL Server.

HTH, jens Suessmeyer.

giulio.l.dali@gmail.com

2006-02-17, 7:23 am

Change you query to ISNULL(column,'')

Tom wrote:
> I noticed when connecting to SQL Server using the SQL OLEDB provider that a
> number of SET commands are issued. In particular
>
> SET CONCAT_NULL_YIELDS_N
ULL ON
>
> is issued, and I'd like to change that to OFF. I've set the database option
> to turn this off by default, but all of the client connections still issue
> the command. Is there a way in the connect string to specify SET options?
>
> Thanks,
>
> Tom


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com