In Friday's 12-2 loss to the Rockies, Goldschmidt walked in his first at-bat before being retired in the fourth and sixth innings.
In the eighth against reliever Chad Bettis, Goldschmidt was able to leg out a single. The streak is the second longest in franchise history. Luis Gonzalez hit safely in 30 straight games in 1999.
Steve Gilbert is a reporter for MLB.com. Read his blog, Inside the D-backs, and follow him on Twitter @SteveGilbertMLB. This story was not subject to the approval of Major League Baseball or its clubs.