Setting the SQLSetEnvAttr in an SSIS package

How do you set "SQLSetEnvAttr" in an SSIS package. The ODBC driver isn't compatible with the new OLE DB version 3.#

I have browsed through two days of web sites, looking for examples of setting the the "ODBC_AllocEnvironment" to version 2 within the SSIS package.

Thanks for any help provided.
more ▼

asked Sep 16, 2010 at 08:45 AM in Default

jswayne gravatar image

1 2 2 2

can you give us some more information please - SQL Server version, OS version, 32/64 bit, what data source etc etc ?
Sep 16, 2010 at 09:04 AM Fatherjack ♦♦
I think the ODBC version is set by the OS?
Sep 19, 2010 at 10:39 PM Daniel Ross
(comments are locked)
10|1200 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Sep 16, 2010 at 08:45 AM

Seen: 1562 times

Last Updated: Sep 16, 2010 at 08:45 AM