BTEQ is not converting your syntax to an acceptable form:
Syntax for substring() (ANSI Function) is substring(a from b for c) where syntax for substr() (Teradata function) is substr(a,b,c)
Hope this helps
Recent Threads
Attachments
Library
Quick Reference
Useful Links
Rules of Conduct
FAQs
Join the Forum
Archives
Sample Index
2003 Indexes