Click here to Skip to main content
15,914,780 members
Home / Discussions / Database
   

Database

 
QuestionValiadation by Matching two tables Pin
Vimalsoft(Pty) Ltd25-Sep-07 21:49
professionalVimalsoft(Pty) Ltd25-Sep-07 21:49 
AnswerRe: Valiadation by Matching two tables Pin
pmarfleet25-Sep-07 22:01
pmarfleet25-Sep-07 22:01 
GeneralRe: Valiadation by Matching two tables Pin
Vimalsoft(Pty) Ltd25-Sep-07 22:22
professionalVimalsoft(Pty) Ltd25-Sep-07 22:22 
GeneralRe: Valiadation by Matching two tables Pin
Paddy Boyd25-Sep-07 23:02
Paddy Boyd25-Sep-07 23:02 
GeneralRe: Valiadation by Matching two tables Pin
Vimalsoft(Pty) Ltd25-Sep-07 23:13
professionalVimalsoft(Pty) Ltd25-Sep-07 23:13 
GeneralRe: Valiadation by Matching two tables Pin
andyharman25-Sep-07 23:06
professionalandyharman25-Sep-07 23:06 
GeneralRe: Valiadation by Matching two tables Pin
Vimalsoft(Pty) Ltd25-Sep-07 23:29
professionalVimalsoft(Pty) Ltd25-Sep-07 23:29 
GeneralRe: Valiadation by Matching two tables Pin
andyharman26-Sep-07 3:56
professionalandyharman26-Sep-07 3:56 
If a record exists in Table1, but not in Table2 then it will print 'New entry in Table1'. This would be the case for new Table1 records, or where the other department has changed the Table2 "lis_key" or "attrb_code" values.

If a record exists in Table2, but not in Table1 then it will print 'New entry in Table2'. This would happen where the other department has changed the Table2 "lis_key" or "attrb_code" values.

All of the records that have the same "lis_key" and "attrb_code" will be displayed with "Identical" next to them.

If the "lis_key" is a primary key on Table1 then you can remove "attrb_code" from the join clause - then add when a.attrb_code <> b.attrb_code then 'Attrb_Code has been updated by other department' to the case expression (before the "else" bit). This will allow you to detect then the other department have modified that just field.
Questiondeleting duplicate rows Pin
joemonvarghese25-Sep-07 19:39
joemonvarghese25-Sep-07 19:39 
AnswerRe: deleting duplicate rows Pin
John-ph25-Sep-07 23:38
John-ph25-Sep-07 23:38 
GeneralRe: deleting duplicate rows Pin
joemonvarghese26-Sep-07 19:16
joemonvarghese26-Sep-07 19:16 
QuestionError: SP has too many arguments speified Pin
Giri K25-Sep-07 19:25
Giri K25-Sep-07 19:25 
AnswerRe: Error: SP has too many arguments speified Pin
gauthee25-Sep-07 19:41
gauthee25-Sep-07 19:41 
GeneralRe: Error: SP has too many arguments speified Pin
Giri K26-Sep-07 1:41
Giri K26-Sep-07 1:41 
Questionsproc timing out from c#, fine in analyser Pin
berghain25-Sep-07 11:33
berghain25-Sep-07 11:33 
AnswerRe: sproc timing out from c#, fine in analyser Pin
berghain25-Sep-07 22:30
berghain25-Sep-07 22:30 
Questionthreading And Distributed transaction Pin
Fadi Abu-Mathkour25-Sep-07 7:56
Fadi Abu-Mathkour25-Sep-07 7:56 
AnswerPlease read the forum guidelines Pin
leckey25-Sep-07 8:12
leckey25-Sep-07 8:12 
QuestionHow to autoincrement primary key type id in mssql 2000? Pin
Shahriat Hossain25-Sep-07 4:07
Shahriat Hossain25-Sep-07 4:07 
AnswerRe: How to autoincrement primary key type id in mssql 2000? Pin
Pete O'Hanlon25-Sep-07 4:11
mvePete O'Hanlon25-Sep-07 4:11 
GeneralRe: How to autoincrement primary key type id in mssql 2000? Pin
Shahriat Hossain25-Sep-07 4:15
Shahriat Hossain25-Sep-07 4:15 
GeneralRe: How to autoincrement primary key type id in mssql 2000? Pin
Pete O'Hanlon25-Sep-07 5:18
mvePete O'Hanlon25-Sep-07 5:18 
QuestionSelect Statment Trouble [modified] Pin
Jonathan Snyder25-Sep-07 3:39
Jonathan Snyder25-Sep-07 3:39 
AnswerRe: Select Statment Trouble Pin
PIEBALDconsult25-Sep-07 4:55
mvePIEBALDconsult25-Sep-07 4:55 
GeneralRe: Select Statment Trouble Pin
Jonathan Snyder25-Sep-07 5:05
Jonathan Snyder25-Sep-07 5:05 

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.