Click here to Skip to main content
15,913,685 members
Home / Discussions / Database
   

Database

 
GeneralTruly automate your database development Pin
bradonf17-Jun-04 6:32
bradonf17-Jun-04 6:32 
GeneralWhich design is best Pin
suzyb17-Jun-04 2:16
suzyb17-Jun-04 2:16 
GeneralRe: Which design is best Pin
VenkatFor.NET17-Jun-04 3:53
VenkatFor.NET17-Jun-04 3:53 
Generalprimary keys in MS SQL Pin
Anonymous17-Jun-04 2:11
Anonymous17-Jun-04 2:11 
GeneralRe: primary keys in MS SQL Pin
RichardGrimmer17-Jun-04 3:38
RichardGrimmer17-Jun-04 3:38 
GeneralRe: primary keys in MS SQL Pin
VenkatFor.NET17-Jun-04 4:31
VenkatFor.NET17-Jun-04 4:31 
GeneralRe: primary keys in MS SQL Pin
VenkatFor.NET17-Jun-04 4:33
VenkatFor.NET17-Jun-04 4:33 
GeneralRe: primary keys in MS SQL Pin
Grimolfr28-Jun-04 9:03
Grimolfr28-Jun-04 9:03 
You should never read data straight from the sys... tables. The next service pack you install could completely change their schema/usage.

Instead, try these two queries. Once you see the data, you should be able to figure out how to combine them to meet your needs:

<br />
SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS<br />
SELECT * FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE<br />



Grim
(aka Toby)
MCDBA, MCSD, MCP+SB


SELECT * FROM user WHERE clue IS NOT NULL
GO
(0 row(s) affected)

QuestionRunning SQL commands in a batch-file? Pin
matthias s.17-Jun-04 1:30
matthias s.17-Jun-04 1:30 
QuestionHow to create DSN at RUN time Pin
Zeeshan Bilal17-Jun-04 0:09
Zeeshan Bilal17-Jun-04 0:09 
AnswerRe: How to create DSN at RUN time Pin
RichardGrimmer17-Jun-04 3:43
RichardGrimmer17-Jun-04 3:43 
GeneralRe: How to create DSN at RUN time Pin
Zeeshan Bilal17-Jun-04 21:58
Zeeshan Bilal17-Jun-04 21:58 
GeneralRe: How to create DSN at RUN time Pin
RichardGrimmer17-Jun-04 22:27
RichardGrimmer17-Jun-04 22:27 
GeneralRe: How to create DSN at RUN time Pin
Anonymous19-Jun-04 1:43
Anonymous19-Jun-04 1:43 
Generalhelp needed to create table for MS Access Pin
FASTian16-Jun-04 22:06
FASTian16-Jun-04 22:06 
GeneralRe: help needed to create table for MS Access Pin
Hesham Amin16-Jun-04 22:21
Hesham Amin16-Jun-04 22:21 
GeneralRe: help needed to create table for MS Access Pin
FASTian17-Jun-04 21:03
FASTian17-Jun-04 21:03 
GeneralRe: help needed to create table for MS Access Pin
Hesham Amin17-Jun-04 22:21
Hesham Amin17-Jun-04 22:21 
GeneralRe: help needed to create table for MS Access Pin
FASTian18-Jun-04 3:02
FASTian18-Jun-04 3:02 
Generalauto number generated Pin
viviansm16-Jun-04 21:40
viviansm16-Jun-04 21:40 
GeneralRe: auto number generated Pin
Tarakeshwar Reddy16-Jun-04 22:57
professionalTarakeshwar Reddy16-Jun-04 22:57 
GeneralRe: auto number generated Pin
WoutL16-Jun-04 23:09
WoutL16-Jun-04 23:09 
GeneralRe: auto number generated Pin
VenkatFor.NET17-Jun-04 4:57
VenkatFor.NET17-Jun-04 4:57 
QuestionHow to use a DataSet on a form, in another form. Pin
Member 114126616-Jun-04 21:23
Member 114126616-Jun-04 21:23 
AnswerRe: How to use a DataSet on a form, in another form. Pin
Tarakeshwar Reddy16-Jun-04 23:01
professionalTarakeshwar Reddy16-Jun-04 23:01 

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.