Z
Zeng
Hello, I'm starting to use indexed view for the first time with Standard
Edition and I ran into failure of updating base tables that involved in the
indexed view. I found out what the problem is, basically all my update code
needs to have these options set as below, but I haven't found a way to force
adonet to have them set by default. --Set all these options to
ON:ANSI_NULLSANSI_PADDINGANSI_WARNINGSARITHABORTCONCAT_NULL_YIELDS_NULLQUOTE
D_IDENTIFIER --Set this to OFF:NUMERIC_ROUNDABORTSo my question is1) Is
possible to set them as database defaults and have adonet honors that? If
yes, how?2) If (1) is not possible, is there a way to set them for each
connection to db?Thank you so much!
Edition and I ran into failure of updating base tables that involved in the
indexed view. I found out what the problem is, basically all my update code
needs to have these options set as below, but I haven't found a way to force
adonet to have them set by default. --Set all these options to
ON:ANSI_NULLSANSI_PADDINGANSI_WARNINGSARITHABORTCONCAT_NULL_YIELDS_NULLQUOTE
D_IDENTIFIER --Set this to OFF:NUMERIC_ROUNDABORTSo my question is1) Is
possible to set them as database defaults and have adonet honors that? If
yes, how?2) If (1) is not possible, is there a way to set them for each
connection to db?Thank you so much!