diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-02-27 01:44:38 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-02-27 01:44:38 +0200 |
| commit | 88a73106e8113a4a6ce224f9205e11219939798e (patch) | |
| tree | 138bd817e9164192aea5297770ec090ae612c3a7 /Software/Visual_Studio/Notes/Tango.Notes/DB | |
| parent | 3871e96b254db8ce93e294d4eb74f54d51552e2a (diff) | |
| download | Tango-88a73106e8113a4a6ce224f9205e11219939798e.tar.gz Tango-88a73106e8113a4a6ce224f9205e11219939798e.zip | |
Started working on Sql Dependency and EF Cache.
Diffstat (limited to 'Software/Visual_Studio/Notes/Tango.Notes/DB')
| -rw-r--r-- | Software/Visual_Studio/Notes/Tango.Notes/DB/SQL Dependency.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Notes/Tango.Notes/DB/SQL Dependency.txt b/Software/Visual_Studio/Notes/Tango.Notes/DB/SQL Dependency.txt new file mode 100644 index 000000000..d46f10bd7 --- /dev/null +++ b/Software/Visual_Studio/Notes/Tango.Notes/DB/SQL Dependency.txt @@ -0,0 +1,18 @@ +-- Set user as db owner -- +USE Tango +GO +SP_DROPUSER Developer +GO +SP_CHANGEDBOWNER Developer + + +-- Maybe this one also ? -- +ALTER AUTHORIZATION ON DATABASE::Tango TO Developer; + + +-- Get state of broker service on each database -- +SELECT NAME, IS_BROKER_ENABLED FROM SYS.DATABASES + + +-- Enable broker service -- +ALTER DATABASE Tango SET ENABLE_BROKER;
\ No newline at end of file |
