Solved

Link DB

Posted on 2006-11-30
7
165 Views
Last Modified: 2006-12-01
Hi,

I would like to create a new DB, no tables, for now, I will just create a VIEW and that VIEW will connect to our PDN DB, is this doable?  My boss want to have one of our biz person to look at the data, but he does not want to show the pdn db...thx
0
Comment
Question by:mcrmg
  • 4
  • 3
7 Comments
 
LVL 20

Expert Comment

by:Sirees
ID: 18045300
<<to look at the data, but he does not want to show the pdn db>>

If he needs to look at only a couple of tables, you can export them to Excel.

If you need to give him read access to all the tables you can give him db_datareader for that database.
0
 

Author Comment

by:mcrmg
ID: 18045353
We are trying out this software that can link to sql and create reports, but my boss does not want them to link to PDN and see all the structure, so, I want to see if it is possible that they can connect to a dummy db that has a VIEW that links to pdn db...thx
0
 
LVL 20

Expert Comment

by:Sirees
ID: 18045375
<<a VIEW that links to pdn db>>

Do they need all the tables or just few of them?
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Author Comment

by:mcrmg
ID: 18045405
they need all of them ...thx
0
 
LVL 20

Accepted Solution

by:
Sirees earned 100 total points
ID: 18045476
I don't see how you can allow them to see all the data and not the structure.

One thing you could do is, to create a new db and export just the tables to that database and given them access..
0
 

Author Comment

by:mcrmg
ID: 18046089
if I can only let me them use VIEW, they can not see the structure, right?
0
 

Author Comment

by:mcrmg
ID: 18051251
Is VIEW faster then the query?  thx
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question