Hiding The Database List From A Certain Usergroup

Jun 18, 2007

Is there a way to limit what user will see in Enterprise Manager? I
would like them to only see there db's and not all them.

View 5 Replies


ADVERTISEMENT

Hiding Folders And List View

Jul 9, 2007

Hello I have a few questions hoping someone can help



Any way to hide a report completely ? ie data source folders, subreports called from hyperlinks etc



Anyway off hiding the List view and restrict the user from selecting list view ?



Anyway off customising the reporting services top area which is in yellow and black ie put a logo in this area ?



thanks

View 2 Replies View Related

Read Usergroup For A Username With Stored Procedure

Aug 10, 2007

Hi
I wounder if there is a sp in the master db that can give me what usergroup a username is connected to / and or give me info if the username is valid (Windows NT login).
If not: then how do I read what usergroup a username is connected to? sysxlogin table in master db? And can I connect to a sp in master db from another db? Can I create a sp in my db that reads in the master db?
Thanks!!
 Best Regards
Staffan

View 1 Replies View Related

Hiding Database Views

Oct 17, 2001

Help Please!
How can I hide databases from users that do not have permission to log onto them in the SQL Enterprise Manager.
Thanks in advance for the help.
-Rich

View 3 Replies View Related

SQL Server 2008 :: Script To List All Database Level Permissions In A Database?

Aug 4, 2015

I found this script online..

SELECT prin.[name] [User], sec.state_desc + ' ' + sec.permission_name [Permission]
FROM [sys].[database_permissions] sec
JOIN [sys].[database_principals] prin
ON sec.[grantee_principal_id] = prin.[principal_id]
WHERE sec.class = 0
ORDER BY [User], [Permission];

but the results are this: 2 columns - User and Permission

User Permission
User1 GRANT CONNECT
User2 GRANT CONNECT

IS there a way in SQL Server (2005/2008/2012) to run a script against a Database that will show all users that have permissions to that Database and the type of permissions?

View 7 Replies View Related

SQL Security :: Cannot Expand List Of Database Tables Using Contained Database Login With Server Management Studio

Jul 30, 2015

In SSMS, I connect Object Explorer to a partially contained database using a contained user login with password. This user has a database role of dbdatareader. When I try to expand the Tables in the database, I get the error: 

The SELECT permission was denied on the object 'extended_properties', database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229)

Is there a way to set permissions for the contained user so that this could be done?

View 4 Replies View Related

How Can Show List Of Database

Dec 13, 2007

Salam to All
Plz give me Sql query which return list of Database By providing these information(Server name, Uerid ,Pasword)
Thanks
 
 
 

View 2 Replies View Related

How To Get List Of Tables In A Database

Jan 22, 2004

Hello

How I get the list of tables in a database. I'm using sql server 2000.

Thanks

View 3 Replies View Related

Database Table List

Sep 10, 2007

Is there a system table that holds the table definitions, names, properties, etc. for tables that I have designed? I would like to write a transact SQL query to insert a field in every table that I have defined.

View 1 Replies View Related

List Of Table In A Database

Apr 1, 2006

Please how can I get list of tables in a database? Thanks.

View 3 Replies View Related

How To Get The List Of Tables In A Database?

May 29, 2008

Is there a query to get the list of tables in a database in sqlserver2000 and 2005?

View 1 Replies View Related

List Tables In A Database

Jan 2, 2008

Hello,

I'm just wondering if anyone here knows how I can get a list of tables in reference to my database, Customers.mdf. This is SQL Server 2005 database.

I have tried using:
SELECT name FROM sys.sysobjects WHERE (xtype = 'U')


and, is listing system objects such as sysdiagrams. I would like to get tables in Customers.mdf only. Thanks

View 4 Replies View Related

Aspnet_regsql.exe Cannot Get Database List

May 14, 2008

Hi,

I am having problems with a visual studio project and I was advised to run Aspnet_regsql.exe.

After running it I select windows athentication and when I click on the drop down to select the database I get this error:

Link to Image :


I Have no problems accessing the databases with management studio express with windows authentication.

Anyone know what I am doing wrong?

View 3 Replies View Related

Hiding A Zero Value

Jan 11, 2007

How can I hide or suppress the 0-values (zero) in a report?

View 8 Replies View Related

Sql Server Database Drop Down List

Jun 27, 2006

I was wondering if anyone may be familiar with a way to create a dropdown list that included a list of SQLServers.  Basically I want to create a little application that lets a user point to an instance of sql server, similar to enterprise manager.  I wanted to use C# and figured there may be some namespaces I could use that provide this functionality but was not sure.
Thanks,

View 2 Replies View Related

List Of All Relations Of Database's Table.

Dec 16, 2006

Hi,How to get list of all relations of certein database's table?

View 7 Replies View Related

Select With From Database With A List Of Parameters

May 15, 2008

Hi, i have a big problem. I´m having trouble with the select statement in SQL query language. The problem is that I need to retrieve various data from database and the input object is a list. The simple way of doing this is:SELECT <return values>FROM <datatable name>WHERE (<select data parameter>)My problem is that my where parameter needs to be an array list. The simple way of solving the problem would be using a for statement in my c# code and call my store procedure various times, but my array list can be too long and take a long time to connect and search data for each statement, so I need to access the database once.Can anybody help; I would appreciate it very much thx, Malcolm

 

View 8 Replies View Related

Database List For The Currently Logged In User

Jul 11, 2004

I can get a list of all databases in SQL Server using

sqlText = "select name from sysdatabases order by name".

How can I get such a list for the currently logged in user only?

Thanks in advance

Harold Hoffman

View 1 Replies View Related

Getting Database Specific Table List From ADO

Aug 21, 2000

We are listing available SQL databases for selection in a VB list box, but need to be able to then elicit the tables in the database for another list. I am sure it is something simple, could someone help me out with this? Thanks!!
Laura

View 1 Replies View Related

List Of Users Access By Database

Mar 31, 2004

Hello,

is there a master table that i could querry to buiild a report on the users who have acces to the various databases on the SQL server. I am trying to use master.dbo.syslogins but that is not generating what i need.

thak you all in advance,

Simon

View 2 Replies View Related

List The Primay Key In Entire Database

Apr 1, 2004

I'm running the below query for listing all the primary key in a database but it is retiving 0 rows.

DECLARE @cmdstr varchar(100)
CREATE TABLE dbo.TempTable
(TABLE_QUALIFIER varchar(10),
TABLE_OWNER varchar(5),
Table_Name varchar(10),
COLUMN_NAME varchar(15),
KEY_SEQ int,
PK_NAME varchar(50),
)
--Create Stored Procedure String
SELECT @cmdstr = 'sp_msforeachtable ''sp_pkeys "?"'''

INSERT INTO TempTable EXEC(@cmdstr)
SELECT Table_Name,COLUMN_NAME,PK_NAME FROM TempTable ORDER BY Table_Name
DROP TABLE TempTable

Any body can give advice regarding this.
Thanks,
Ravi

View 14 Replies View Related

Query To Get List Of Tables From Database

Sep 21, 2004

Can some one please tell me whats a best way ot get a list of all the tables that are present in a particular database.
Thanks

View 1 Replies View Related

Know List Database And Table In SQL Server

Jun 9, 2006

I use this macro to list in A column of sheet the name of sql server on
my lan.
Is possible to "scan server by server" and insert into column B the
name of database and related table?
Tks.
Sub test_sql()
Dim TEST As String
Dim RIGA As String

Set sqlApp = CreateObject("SQLDMO.Application")


Set serverList = sqlApp.ListAvailableSQLServers


numServers = serverList.Count
RIGA = 2


For I = 1 To numServers


TEST = serverList(I)


Range("A" + RIGA) = TEST
RIGA = RIGA + 1
Next


Set sqlApp = Nothing


End Sub

View 2 Replies View Related

Query List Of All Tables In A Database

Mar 5, 2014

I'm running SQL Server 2012 Express. I need to query a database and return the list of tables in the database. How to construct this query?

View 4 Replies View Related

List All Users Connected To Database

Dec 14, 2007

Hi,

I need to be able to list all User connected to a particular database, after doing a bit of playing I have writen a simple view in the database to show this information which looks like

select spid, status, loginame, hostname, blocked, db_name(dbid), cmd from master..sysprocesses where db_name(dbid) = 'AutoCost2008

But my problem is that as this needs to be run from an application where the user is logged on as a standard user and therefore when this is run it only shows the current user, I am not sure what permissions I need to give this login to allow them to view all users connected to this database without giving them full Admin permissions, can anyone please help.


Thanks,


Gavin,

View 3 Replies View Related

List Of Clustered Index In The Database

Sep 1, 2005

hi guru'swould appreciate if someone could show how to list all the clusteredindexes in the database.if it can done as a output of single query it would be fine. the outputshould be the table name, column name and clustered index name.thanxbala

View 6 Replies View Related

How To Get A List Of Configuration Settings For A Database

Jul 20, 2005

Hi,I would like to know how to get a list of configuration settings for adatabase.Is there a table that I can select this info from?Or a file (perhaps an ini file?) of some kind?Things like timeout settings, rollback space, table space, etc.Thanks

View 2 Replies View Related

List Of Table Name That Not Supported By SQL Database ???

Aug 30, 2006

Is anyone know about waht type of table or database name

that not supported or will have error during execution of SQL statement

in SQL or MS Access database. For my, I know only two ,

i.) cannot put table name that same as the the database name

ii.) cannot put database name like "RETURN", "POSITION",etc.

Is there any reference site that show out a list of table about the

table or database name ??? Thank You ... :)

View 5 Replies View Related

DB Engine :: List Out All Database Sizes?

May 28, 2009

find out the list of databases that have ''ldf'' size greater than ''mdf' using stored procedure?

View 7 Replies View Related

Hiding Particular Objects

Aug 1, 2000

Hey guys,
Is there any way to hide a particular object(table,sp,tr etc) from
a particular user?

we are developing softwares for the clients..and Once we install our product we dont want the clients site guys to go and delibrately view the data from sql server but through the front end. Is there anyway that i can do that...?

For Eg..the front end codes are capsulated as DLLs so that no can view the code.. Like that for SQL Server..can we do that kinda stuffs to prevent them?

View 5 Replies View Related

MS SQL Hiding Behind Access

Dec 7, 2005

Hi guys

We have a helpdesk application which is based on an MS SQL database, and which runs with a rather large and complicated C# based interface. We don't have the code for this, so we can't customise it. Long story short, what we want is to create an interface in Access (or similar) which accesses the same database as the helpdesk suite, and allows reading AND writing, and some rather complex operations (which SHOULD be fairly simple to do in SQL).

Unfortunately, I have been given this project, and I know about as much about Access and SQL as I do about Ghengis Khan's fashion sense.

I will follow with more information as required, but I'm going to need a lot of help with this one. First things first, is Access the way to do this? Is it going to be easier to create a new Access DB and synchronise it with the SQL, instead of both applications using the same database?

The only way I can get Access to interrogate the SQL database is to create a Data Access Page - is this the correct starting point? The only problem is that this seems to only offer HTML, and is far from being a friendly interface, at least not to me.

I know that I currently have no grounding in physics and I'm trying to build a space station, but any advice that you could give me would be much appreciated.

Thanks guys!

View 4 Replies View Related

Hiding The DB Design.

Feb 3, 2004

Hi all,

I am going to install my application at my Client's place.

I do not want them to know about my DB design and also i have a lot of master information that I dont want the Client to view.

The Client insists that he would have the Super Administrator user ids and passwords (ie. "sa" - user).

Is there any way i can encrypt my DB design and the data in the DB.

Or is there any other way of restricting the Client from viewing my DB design and data???

Thanks

Vishal

View 5 Replies View Related

Hiding NULL

Mar 29, 2006

In SQL 2000 Query Analyzer, you can set up the text output pane toleave null values blank.That could give you this (assuming it's set to comma-delimited) --CREATE TABLE #Test (A int, B int)INSERT #Test SELECT 1,2INSERT #Test SELECT NULL,4INSERT #Test SELECT 5,NULLINSERT #Test SELECT NULL,NULLSELECT * FROM #TestA,B1,2,45,,I can't figure out how to set up 2005 Management Studio the same way.I can only manage to get outputs like this, with "NULL" instead ofempty fields --A,B1,2NULL,45,NULLNULL,NULLHow can I get rid of the NULLs?Thanks,Jim

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved