Solved

REFERENCES permission

Posted on 2010-09-09
4
698 Views
Last Modified: 2012-05-10
When does a REFERENCES permission come into play (is it for tables or procs etc)? what exactly does it mean?

thanks
0
Comment
Question by:anushahanna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
aelliso3 earned 250 total points
ID: 33639746
FROM BOL ...
The REFERENCES permission on a table is needed in order to create a FOREIGN KEY constraint that references that table.
 
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33639889
OK. so it is applicable only to tables?

for example, i want to create a PK-FK relationship between tblTracker (PK is TrackerPK) and tblTrackerRef (and FK is TrackerFK); so if I need to create the relationship then I need references permissions on tblTracker? Would that be right?
0
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 250 total points
ID: 33640237
>so it is applicable only to tables?yes.and yes, your example is right.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33640288
Thanks.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

728 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