Ian Grieve looks at How To Recreate SQL Objects Using PSTL
How To Recreate SQL Objects Using PSTL | azurecurve
SQL & DataTips & Hidden FeaturesMicrosoft & the GP Ecosystem
Archived post from 2012. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.
