Data Quality Tools, Mailing Software, Lists, NCOA, Data Enhancements

 | Shopping Cart Buy | Newsletters | Search

    Products         Solutions       Downloads & Trials       Support          Resources         Lookups       Contact Us  

Logged in as: Guest Search | Active Topics |

EnableEarlyWarningSystem Syntax in SQL Options · View
Jeffrey59908122
Posted: Monday, March 22, 2010 4:17:12 PM
Groups: Member

Posts: 6
What is the syntax for making a call to the EnableEarlyWarningSystem method within SQL?

I've tried:

EXEC @intResult = sp_OAMethod @intObject, EnableEarlyWarningSystem, 1

Which seems to enable EWS. However, using:

EXEC @intResult = sp_OAMethod @intObject, EnableEarlyWarningSystem, 0

or:

EXEC @intResult = sp_OAMethod @intObject, EnableEarlyWarningSystem, -1

does not disable EWS.
Paul Nelson
Posted: Monday, March 29, 2010 11:27:16 AM
Groups: Administration

Posts: 90
If this method is not called with a True value, the EWS properties (EWSCount and
EWSFlag) will not return a value.

Not calling the EnableEarlyWarningSystem method before initialization should disable EWS by default.


The syntax below however:
EXEC @intResult = sp_OAMethod @intObject, EnableEarlyWarningSystem, 0

is actually correct. However:

*Take note that when you set the EnableEarlyWarningSystem method to either 1 or 0 anytime in your application, you need to re-initialize each time in order for the changes to take effect.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by Yet Another Forum.net