• gary.strange-sqlconsumer (12/16/2013)


    Thanks for the article,

    Consider using strongly typed xml and discarding fuzzy checking like datalength > 10

    So you're SP's input parameter might be something like @parmeters XML (DOCUMENT dbo.MyXSD)

    http://technet.microsoft.com/en-us/library/ms184277.aspx

    You may also consider user defined table type (UDTT) parameters as table valued parameters (TVP), if your calling code is already manipulating datasets.

    http://technet.microsoft.com/en-us/library/bb510489(v=sql.105).aspx

    If the parameters are more often .. different than the same.......then consider the

    OPTION(RECOMPILE)

    hint.