Click here to Skip to main content
15,920,110 members
Home / Discussions / Database
   

Database

 
GeneralRe: Transactions with Access Pin
Steve S19-Aug-03 22:15
Steve S19-Aug-03 22:15 
GeneralMacro to update data from excel file Pin
PrasadD18-Aug-03 14:07
PrasadD18-Aug-03 14:07 
GeneralRe: Macro to update data from excel file Pin
xoph21-Aug-03 1:33
xoph21-Aug-03 1:33 
QuestionToo Complex For Me...Maybe You? Pin
jesus4u18-Aug-03 8:03
jesus4u18-Aug-03 8:03 
AnswerRe: Too Complex For Me...Maybe You? Pin
basementman18-Aug-03 10:00
basementman18-Aug-03 10:00 
GeneralRe: Too Complex For Me...Maybe You? Pin
jesus4u18-Aug-03 10:04
jesus4u18-Aug-03 10:04 
GeneralRe: Too Complex For Me...Maybe You? Pin
basementman18-Aug-03 10:08
basementman18-Aug-03 10:08 
GeneralRetrieving PF, FK from table Pin
SimonS18-Aug-03 7:32
SimonS18-Aug-03 7:32 
I’m trying to extract the PK’s and FK’s of a table given it’s name.
I can get as far as confirming that a table has a PK by obtaining that PK’s entry in the sysindexes table, but now my problem is that I can’t seem to figure out what column in that table actually represents the PK.
In the sysindexes table it merely specifies that this is a primary key and this is the parent table, but not which column in that table.

What I really want, given a table name is:
myprimaryKeyColumnName[s]
myForeignKeyColumnName[s] & it's associated Table[s]

btw, I know it's in the sys* tables, but I'm just missing something and don't have my systables poster at home. D'Oh! | :doh:

Cheers,
Simon

sig ::
"Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices.

article :: animation mechanics in SVG     picture :: my first abstract photo

GeneralRe: Retrieving PF, FK from table Pin
basementman18-Aug-03 10:06
basementman18-Aug-03 10:06 
GeneralRe: Retrieving PF, FK from table Pin
RichardGrimmer19-Aug-03 5:25
RichardGrimmer19-Aug-03 5:25 
GeneralRe: Retrieving PF, FK from table Pin
SimonS19-Aug-03 10:42
SimonS19-Aug-03 10:42 
QuestionEver needed to Increment a Revision? Pin
OMalleyW18-Aug-03 4:29
OMalleyW18-Aug-03 4:29 
AnswerRe: Ever needed to Increment a Revision? Pin
OMalleyW18-Aug-03 5:23
OMalleyW18-Aug-03 5:23 
QuestionMD5 in SQL Server 2000? Pin
Abin18-Aug-03 0:19
Abin18-Aug-03 0:19 
AnswerRe: MD5 in SQL Server 2000? Pin
Mike Dimmick19-Aug-03 5:02
Mike Dimmick19-Aug-03 5:02 
GeneralADO :VARIANY :Binarry Array Pin
Fad B17-Aug-03 21:52
Fad B17-Aug-03 21:52 
GeneralNoob sql Pin
Snyp17-Aug-03 4:59
Snyp17-Aug-03 4:59 
GeneralRe: Noob sql Pin
Rein Hillmann17-Aug-03 21:24
Rein Hillmann17-Aug-03 21:24 
GeneralRe: Noob sql Pin
Jeremy Oldham18-Aug-03 2:12
Jeremy Oldham18-Aug-03 2:12 
GeneralRe: Noob sql Pin
Snyp18-Aug-03 3:10
Snyp18-Aug-03 3:10 
GeneralPrimaryKey problem Pin
Hovik Melkomian17-Aug-03 3:03
Hovik Melkomian17-Aug-03 3:03 
GeneralC# - Help with preferred method to add a new row Pin
work_to_live16-Aug-03 13:05
work_to_live16-Aug-03 13:05 
GeneralRe: C# - Help with preferred method to add a new row Pin
work_to_live16-Aug-03 13:50
work_to_live16-Aug-03 13:50 
GeneraldataSet row position Pin
Hovik Melkomian16-Aug-03 5:52
Hovik Melkomian16-Aug-03 5:52 
GeneralDEPLOYMENT Pin
eggie515-Aug-03 22:56
eggie515-Aug-03 22:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.