Click here to Skip to main content
16,004,969 members
Home / Discussions / Database
   

Database

 
AnswerRe: Simple Count Statement. Pin
George L. Jackson31-Mar-06 1:10
George L. Jackson31-Mar-06 1:10 
GeneralRe: Simple Count Statement. Pin
munklefish31-Mar-06 1:13
munklefish31-Mar-06 1:13 
GeneralRe: Simple Count Statement. Pin
George L. Jackson31-Mar-06 1:21
George L. Jackson31-Mar-06 1:21 
QuestionTenant Database Pin
Lav KG30-Mar-06 18:34
Lav KG30-Mar-06 18:34 
AnswerRe: Tenant Database Pin
Colin Angus Mackay31-Mar-06 12:29
Colin Angus Mackay31-Mar-06 12:29 
GeneralRe: Tenant Database Pin
Lav KG2-Apr-06 18:08
Lav KG2-Apr-06 18:08 
AnswerRe: Tenant Database Pin
HimaBindu Vejella2-Apr-06 18:49
HimaBindu Vejella2-Apr-06 18:49 
Questionprimary key duplication Pin
Ritesh123430-Mar-06 18:31
Ritesh123430-Mar-06 18:31 
hi i am facing one starnge problem...............
I have one table in SQL DB which has following constraints........


<b>Indexes</b>

IX_InvoiceTaxDetails_InvoiceDetailIndex clustered located on PRIMARY InvoiceDetailIndex
PK_InvoiceTaxDetails nonclustered, unique, primary key located on PRIMARY InvoiceTaxDetailsIndex

<B>Constarints</B>

FOREIGN KEY FK_InvoiceTaxDetails_InvoiceDetail No Action No Action Enabled Is_For_Replication InvoiceDetailIndex
REFERENCES BMJ.dbo.InvoiceDetail (InvoiceDetailIndex)
FOREIGN KEY FK_InvoiceTaxDetails_TaxCombinationsDetails No Action No Action Enabled Is_For_Replication TaxCombinationsDetailsIndex
REFERENCES BMJ.dbo.TaxCombinationsDetails (TaxCombinationsDetailsIndex)
PRIMARY KEY (non-clustered) PK_InvoiceDetailIndex (n/a) (n/a) (n/a) (n/a) InvoiceTaxDetailsIndex


Even though i have defined <b>Primary key On column Invoic</b>eTaxDetailsIndex my table has <b>multiple data with same </b>Value in InvoiceTaxDetailsIndex field

e.g


InvoiceTaxDetailsIndex InvoiceDetailIndex TaxCombinationsDetailsIndex TaxAmount TaxValueSlabIndex FoxUpdate UpdateDateTime
---------------------- ------------------ --------------------------- ----------------------------------------------------- ----------------- ------------------------------------------------------ ------------------------------------------------------
<b>305123 </b> 143171 2803 778.57000000000005 561 NULL 2005-11-19 19:55:34.763
<b>305123 </b> 143171 2803 778.57000000000005 561 NULL 2005-11-19 19:55:34.763




can any one tell me what could be the reason..........


Regards,
Ritesh

QuestionSQL server retrival on demand Pin
sameerhanda30-Mar-06 10:27
sameerhanda30-Mar-06 10:27 
AnswerRe: SQL server retrival on demand Pin
Eric Dahlvang31-Mar-06 3:25
Eric Dahlvang31-Mar-06 3:25 
QuestionHow to pass a recordset from server-side asp to client? Pin
Jesse Evans30-Mar-06 9:25
Jesse Evans30-Mar-06 9:25 
QuestionFirst time programming - need help with database design... Pin
tanpanjang30-Mar-06 7:43
tanpanjang30-Mar-06 7:43 
QuestionPleas help me Pin
papa198030-Mar-06 6:18
papa198030-Mar-06 6:18 
AnswerRe: Pleas help me Pin
Lav KG30-Mar-06 23:32
Lav KG30-Mar-06 23:32 
QuestionPhone number location question Pin
Richard Parsons30-Mar-06 4:29
Richard Parsons30-Mar-06 4:29 
AnswerRe: Phone number location question Pin
Colin Angus Mackay30-Mar-06 4:46
Colin Angus Mackay30-Mar-06 4:46 
QuestionSorting a DataSet for binding to a DataList Pin
cybersurferdev29-Mar-06 22:32
cybersurferdev29-Mar-06 22:32 
QuestionWhat is the command to list all the tables in a data base in SQL server??? Pin
BawaSingh29-Mar-06 21:39
BawaSingh29-Mar-06 21:39 
AnswerRe: What is the command to list all the tables in a data base in SQL server??? Pin
Colin Angus Mackay29-Mar-06 22:10
Colin Angus Mackay29-Mar-06 22:10 
GeneralRe: What is the command to list all the tables in a data base in SQL server??? Pin
BawaSingh29-Mar-06 23:41
BawaSingh29-Mar-06 23:41 
GeneralRe: What is the command to list all the tables in a data base in SQL server??? Pin
Colin Angus Mackay29-Mar-06 23:52
Colin Angus Mackay29-Mar-06 23:52 
GeneralRe: What is the command to list all the tables in a data base in SQL server??? Pin
Le centriste30-Mar-06 4:10
Le centriste30-Mar-06 4:10 
GeneralRe: What is the command to list all the tables in a data base in SQL server??? Pin
HimaBindu Vejella2-Apr-06 19:07
HimaBindu Vejella2-Apr-06 19:07 
AnswerRe: What is the command to list all the tables in a data base in SQL server??? Pin
HimaBindu Vejella2-Apr-06 19:02
HimaBindu Vejella2-Apr-06 19:02 
AnswerRe: What is the command to list all the tables in a data base in SQL server??? Pin
HimaBindu Vejella2-Apr-06 19:10
HimaBindu Vejella2-Apr-06 19: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.