Showing posts with label dbs. Show all posts
Showing posts with label dbs. Show all posts

Wednesday, March 21, 2012

How to create an admin with some limitations?

I've a SQL 2005 with a certain number of db.
Until today i was the only admin of all dbs.
Now i need to give to another admin permission to manage one specific
db (but only that).
Ho censito un utente di sql con accessi abilitati solo a quel db.
If i connect to Enterprise manager with that limited login there is a
problem: i see (only see)
all dbs, also db where this login is not autorized.
How can i work for not permitting this login to see other dbs? He
only
can see them but i
don't want because of privacy. Is it possible?(bertainafederico@.gmail.com) writes:

Quote:

Originally Posted by

I've a SQL 2005 with a certain number of db.
Until today i was the only admin of all dbs.
Now i need to give to another admin permission to manage one specific
db (but only that).
Ho censito un utente di sql con accessi abilitati solo a quel db.
If i connect to Enterprise manager with that limited login there is a
problem: i see (only see)
all dbs, also db where this login is not autorized.
How can i work for not permitting this login to see other dbs? He
only
can see them but i
don't want because of privacy. Is it possible?


Did you try DENY VIEW ANY DATABASE TO Tizio as I suggested in response to
your Italian post?

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx|||Yes, i try and now i can work correctly with limited user onto the
database.
But in the listing of db i can't see any db... So now the problem is
making possible to the user
viewing his db|||My limited user now can only see master and tempdb in the list of
dbs...|||Ok, resolved reading an italian tutorial. Thanks of allsql

Sunday, February 19, 2012

How to copy diagrams from one db to another

hi all;
is it possible to copy diagram in one database to another database? while
there structure of both dbs are same.
I have not found any option in DTS top copy diagrams only.
any suggestion? thanks in advance.
ansari
Hi,
All the diagrams for a database will be stored in table dtproperties. So you
could load the destination database 'dtproperties table' with source
contrents.
See the links.
http://groups.google.co.in/groups?q=...o+a+new+server
&hl=en&lr=&ie=UTF-8&selm=39A5A042.38D3D1FF%40ietsmet.nl&rnum=8
http://www.mssqlserver.com/faq/transfer-diagrams.asp
http://support.microsoft.com/default...;en-us;Q320125
Thanks
Hari
MCDBA
"M.M Ansari" <mudasar_ansari@.hotmail.com> wrote in message
news:u66VLGtcEHA.2268@.TK2MSFTNGP12.phx.gbl...
> hi all;
> is it possible to copy diagram in one database to another database? while
> there structure of both dbs are same.
> I have not found any option in DTS top copy diagrams only.
> any suggestion? thanks in advance.
> ansari
>
>
|||thanks hari
ansari
"Hari Prasad" <hari_prasad_k@.hotmail.com> wrote in message
news:uE2R5atcEHA.4092@.TK2MSFTNGP11.phx.gbl...
> Hi,
> All the diagrams for a database will be stored in table dtproperties. So
you
> could load the destination database 'dtproperties table' with source
> contrents.
> See the links.
>
http://groups.google.co.in/groups?q=...o+a+new+server[vbcol=seagreen]
> &hl=en&lr=&ie=UTF-8&selm=39A5A042.38D3D1FF%40ietsmet.nl&rnum=8
> http://www.mssqlserver.com/faq/transfer-diagrams.asp
> http://support.microsoft.com/default...;en-us;Q320125
>
> Thanks
> Hari
> MCDBA
> "M.M Ansari" <mudasar_ansari@.hotmail.com> wrote in message
> news:u66VLGtcEHA.2268@.TK2MSFTNGP12.phx.gbl...
while
>

How to copy diagrams from one db to another

hi all;
is it possible to copy diagram in one database to another database? while
there structure of both dbs are same.
I have not found any option in DTS top copy diagrams only.
any suggestion? thanks in advance.
ansariHi,
All the diagrams for a database will be stored in table dtproperties. So you
could load the destination database 'dtproperties table' with source
contrents.
See the links.
http://groups.google.co.in/groups? ...w+serv
er
&hl=en&lr=&ie=UTF-8&selm=39A5A042.38D3D1FF%40ietsmet.nl&rnum=8
http://www.mssqlserver.com/faq/transfer-diagrams.asp
http://support.microsoft.com/defaul...b;en-us;Q320125
Thanks
Hari
MCDBA
"M.M Ansari" <mudasar_ansari@.hotmail.com> wrote in message
news:u66VLGtcEHA.2268@.TK2MSFTNGP12.phx.gbl...
> hi all;
> is it possible to copy diagram in one database to another database? while
> there structure of both dbs are same.
> I have not found any option in DTS top copy diagrams only.
> any suggestion? thanks in advance.
> ansari
>
>|||thanks hari
ansari
"Hari Prasad" <hari_prasad_k@.hotmail.com> wrote in message
news:uE2R5atcEHA.4092@.TK2MSFTNGP11.phx.gbl...
> Hi,
> All the diagrams for a database will be stored in table dtproperties. So
you
> could load the destination database 'dtproperties table' with source
> contrents.
> See the links.
>
http://groups.google.co.in/groups? ...w+serv
er
> &hl=en&lr=&ie=UTF-8&selm=39A5A042.38D3D1FF%40ietsmet.nl&rnum=8
> http://www.mssqlserver.com/faq/transfer-diagrams.asp
> http://support.microsoft.com/defaul...b;en-us;Q320125
>
> Thanks
> Hari
> MCDBA
> "M.M Ansari" <mudasar_ansari@.hotmail.com> wrote in message
> news:u66VLGtcEHA.2268@.TK2MSFTNGP12.phx.gbl...
while[vbcol=seagreen]
>

How to copy diagrams from one db to another

hi all;
is it possible to copy diagram in one database to another database? while
there structure of both dbs are same.
I have not found any option in DTS top copy diagrams only.
any suggestion? thanks in advance.
ansariHi,
All the diagrams for a database will be stored in table dtproperties. So you
could load the destination database 'dtproperties table' with source
contrents.
See the links.
http://groups.google.co.in/groups?q=copy+sql+server+diagrams+to+a+new+server
&hl=en&lr=&ie=UTF-8&selm=39A5A042.38D3D1FF%40ietsmet.nl&rnum=8
http://www.mssqlserver.com/faq/transfer-diagrams.asp
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q320125
Thanks
Hari
MCDBA
"M.M Ansari" <mudasar_ansari@.hotmail.com> wrote in message
news:u66VLGtcEHA.2268@.TK2MSFTNGP12.phx.gbl...
> hi all;
> is it possible to copy diagram in one database to another database? while
> there structure of both dbs are same.
> I have not found any option in DTS top copy diagrams only.
> any suggestion? thanks in advance.
> ansari
>
>|||thanks hari
ansari
"Hari Prasad" <hari_prasad_k@.hotmail.com> wrote in message
news:uE2R5atcEHA.4092@.TK2MSFTNGP11.phx.gbl...
> Hi,
> All the diagrams for a database will be stored in table dtproperties. So
you
> could load the destination database 'dtproperties table' with source
> contrents.
> See the links.
>
http://groups.google.co.in/groups?q=copy+sql+server+diagrams+to+a+new+server
> &hl=en&lr=&ie=UTF-8&selm=39A5A042.38D3D1FF%40ietsmet.nl&rnum=8
> http://www.mssqlserver.com/faq/transfer-diagrams.asp
> http://support.microsoft.com/default.aspx?scid=kb;en-us;Q320125
>
> Thanks
> Hari
> MCDBA
> "M.M Ansari" <mudasar_ansari@.hotmail.com> wrote in message
> news:u66VLGtcEHA.2268@.TK2MSFTNGP12.phx.gbl...
> > hi all;
> >
> > is it possible to copy diagram in one database to another database?
while
> > there structure of both dbs are same.
> > I have not found any option in DTS top copy diagrams only.
> >
> > any suggestion? thanks in advance.
> >
> > ansari
> >
> >
> >
> >
>