Last active
August 29, 2015 14:02
-
-
Save swaters86/5e54ef96051bae295cb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* select by cceobjectguid */ | |
select top 100 * | |
from cce.dbo.CCE_Objects aa (nolock) | |
inner join cce.dbo.CCE_Status bb (nolock) | |
on aa.Site = bb.Site and aa.Module = bb.Module and aa.Class = aa.Class and aa.RowGUID = bb.CCEObjectGUID | |
where aa.Site='PN' and aa.Module='3' and aa.Class='301' and bb.CCEObjectGUID='8EBB449B-427E-4CBE-9C87-154C042A3970' | |
/* select by title */ | |
select top 100 * | |
from cce.dbo.CCE_Objects aa (nolock) | |
inner join cce.dbo.CCE_Status bb (nolock) | |
on aa.Site = bb.Site and aa.Module = bb.Module and aa.Class = aa.Class and aa.RowGUID = bb.CCEObjectGUID | |
where aa.Site='PN' and aa.Module='3' and aa.Class='301' and Title='Large Tonnage Machines 2000 Tones + Injection Molding' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment