Solved

REFERENCES permission

Posted on 2010-09-09
4
647 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
  • 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 142

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now