October 28, 2019 at 12:00 am
Comments posted to this topic are about the item Database containment and c
God is real, unless declared integer.
October 28, 2019 at 6:00 am
Hi Thomas. Interesting question. A few notes:
ALTER DATABASE [test_cont] SET CONTAINMENT = NONE WITH NO_WAIT
when it should be:
ALTER DATABASE [test_cont] SET CONTAINMENT = PARTIAL WITH NO_WAIT;
Changing this would have the T-SQL match the text description of what's going on.
CREATE DATABASE [test_cont]
CONTAINMENT = NONE
COLLATE Latin1_General_CI_AS_KS;
or even just the following, since "NONE" is the default for containment type anyway:
CREATE DATABASE [test_cont]
COLLATE Latin1_General_CI_AS_KS;
Take care,
Solomon....
SQL# — https://SQLsharp.com/ ( SQLCLR library ofover 340 Functions and Procedures)
Sql Quantum Lift — https://SqlQuantumLift.com/ ( company )
Sql Quantum Leap — https://SqlQuantumLeap.com/ ( blog )
Info sites — Collations • Module Signing • SQLCLR
October 28, 2019 at 8:14 am
October 28, 2019 at 8:48 am
Nice question ,thanks Thomas.
Concur with Solomon about the slight mix-up
"
ALTER DATABASE [test_cont] SET CONTAINMENT = NONE WITH NO_WAIT
when it should be:
ALTER DATABASE [test_cont] SET CONTAINMENT = PARTIAL WITH NO_WAIT;
"
____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply