Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

Connection options using SMO

$
0
0
I'm trying to set the following for a single connection (so that I can create a Unique Constraint on a computed varbinary column)I want to do this in PoSh using SMO, rather than executing T-SQL -- if possible.So, is this under Server.UserOptions? I don't want to permanently change server settings; it's just so I can create the constraint.SET NUMERIC_ROUNDABORT OFFGOSET ANSI_NULLS ONGOSET ANSI_PADDING ONGOSET ANSI_WARNINGS ONGOSET ARITHABORT ONGOSET CONCAT_NULL_YIELDS_NULL ONGOSET QUOTED_IDENTIFIER ONGOThanks!

Viewing all articles
Browse latest Browse all 467

Trending Articles