The Blackbaud Performance Manager data warehouse handles many commitment types which is why there are no specific pledge ids stored in the FACT_Gift table.  However, the following should help demonstrate the relationships involved in pulling the pledge commitment information:
      fgip.GiftCommitmentSystemID as 'FACT_Gift.GiftFactID for Pledge'
FROM dbo.FACT_Gift fg
      JOIN dbo.DIM_GiftType gt on gt.GiftTypeDimID = fg.GiftTypeDimID
      JOIN dbo.DIM_Constituent c on c.ConstituentDimID = fg.ConstituentDimID
      LEFT JOIN dbo.FACT_GiftInstallmentPayment fgip on fgip.GiftPaymentFactID = fg.GiftFactID
WHERE c.FullName like '%Hernandez%'
-- WHERE fg.GiftFactID = 232026

Disclaimer: We provide programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes you are familiar with Structured Query Language and the tools used to create and modify SQL statements and Crystal Reports. Our Customer Support may help explain the functionality of a particular procedure, but we will not modify, or assist you with modifying, these examples to provide additional functionality.