Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Statement verifictation

Status
Not open for further replies.

ddeegan

Programmer
Jun 17, 2002
193
US
hello - I am trying to troubleshoot a data migration project and want to verify a SQL statement.

select pt.field1, ct.address2, ct.contsupref
from child_table ct
join parent_table pt
on ct.accountno=pt.accountno
right join
verify_table vt
on pt.field1=vt.field1
where ct.contact='E-mail address'
and ct.address2 is not null

Is there any way that that address2 and contsupref (from child_table) would not come from the same row in the table?

Sorry if this is a dumb question but I'm having problems finding the cause - hoping to rule this out.

Thanks
Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top