Click here to Skip to main content
15,903,012 members
Home / Discussions / Database
   

Database

 
Questionhow split function work in sql [modified] Pin
findtango7-Mar-07 5:06
findtango7-Mar-07 5:06 
AnswerRe: how split function work in sql Pin
Mark J. Miller7-Mar-07 5:29
Mark J. Miller7-Mar-07 5:29 
QuestionHow to insert data from Dataset to Data tables in SQL Pin
Nagaraj.k7-Mar-07 2:35
Nagaraj.k7-Mar-07 2:35 
AnswerRe: How to insert data from Dataset to Data tables in SQL Pin
Marek Grzenkowicz7-Mar-07 4:11
Marek Grzenkowicz7-Mar-07 4:11 
QuestionRe: How to insert data from Dataset to Data tables in SQL Pin
Nagaraj.k7-Mar-07 20:23
Nagaraj.k7-Mar-07 20:23 
AnswerRe: How to insert data from Dataset to Data tables in SQL Pin
Marek Grzenkowicz7-Mar-07 21:26
Marek Grzenkowicz7-Mar-07 21:26 
AnswerRe: How to insert data from Dataset to Data tables in SQL Pin
praveen_gattu20007-Mar-07 21:28
praveen_gattu20007-Mar-07 21:28 
QuestionHow to get primarykey and foreign key info of a given table Pin
NK77-Mar-07 0:55
NK77-Mar-07 0:55 
Hi
I have problem in getting primary and foreign key for a given table.

For example in a Adventureworks Database, Production.ProductCostHistory table.

If i try to get the foreign key related table it is not returning any value.
But ProductID is is both primary and foreign key.

How to get the foreign key table for the given table.

sp_fkeys not working if it is a composite key.

exec sp_fkeys @PKTable_name='ProductCostHistory',@PKTable_Owner='Production'

Can any one help me please?........



kesavan
AnswerRe: How to get primarykey and foreign key info of a given table Pin
kubben7-Mar-07 2:32
kubben7-Mar-07 2:32 
GeneralRe: How to get primarykey and foreign key info of a given table Pin
NK77-Mar-07 18:14
NK77-Mar-07 18:14 
GeneralRe: How to get primarykey and foreign key info of a given table Pin
kubben8-Mar-07 2:48
kubben8-Mar-07 2:48 
GeneralRe: How to get primarykey and foreign key info of a given table Pin
NK712-Mar-07 2:07
NK712-Mar-07 2:07 
QuestionQuerry to get all the tables in Access Database Pin
blackjack21506-Mar-07 22:55
blackjack21506-Mar-07 22:55 
AnswerRe: Querry to get all the tables in Access Database Pin
Mark J. Miller7-Mar-07 5:34
Mark J. Miller7-Mar-07 5:34 
QuestionValidating a textbox field Pin
Member 37415626-Mar-07 22:20
Member 37415626-Mar-07 22:20 
AnswerRe: Validating a textbox field Pin
Colin Angus Mackay6-Mar-07 22:32
Colin Angus Mackay6-Mar-07 22:32 
Questionhow to make select query to access view in other server Pin
mohd imran abdul aziz6-Mar-07 20:43
mohd imran abdul aziz6-Mar-07 20:43 
AnswerRe: how to make select query to access view in other server Pin
M A A Mehedi Hasan6-Mar-07 21:19
M A A Mehedi Hasan6-Mar-07 21:19 
GeneralRe: how to make select query to access view in other server Pin
mohd imran abdul aziz6-Mar-07 22:43
mohd imran abdul aziz6-Mar-07 22:43 
AnswerRe: how to make select query to access view in other server Pin
Hesham Amin6-Mar-07 23:57
Hesham Amin6-Mar-07 23:57 
QuestionNumeric Issue Pin
Darkness846-Mar-07 19:13
Darkness846-Mar-07 19:13 
AnswerRe: Numeric Issue Pin
Colin Angus Mackay6-Mar-07 21:34
Colin Angus Mackay6-Mar-07 21:34 
GeneralRe: Numeric Issue Pin
Darkness847-Mar-07 1:58
Darkness847-Mar-07 1:58 
GeneralRe: Numeric Issue Pin
Dave Kreskowiak7-Mar-07 8:12
mveDave Kreskowiak7-Mar-07 8:12 
QuestionEmail subscription permission denied on SSRS 2000 Pin
bubberz6-Mar-07 11:10
bubberz6-Mar-07 11:10 

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.