K
Ken McIntosh
Guest
Yes, if you're running it from a Progress program. You could use sql explorer command line utility: proenv>sqlexp -db -H -S -user -pass SQLExplorer>SELECT PUB.NextCustNum.CURRVAL from PUB."_File" WHERE "_File-Name" = 'Customer'. Why do you want to do it from SQL? You can get the same value from ABL using the example I provided.
Continue reading...
Continue reading...