Viewing 3 posts - 1 through 3 (of 3 total)
Thank you for all of the input! This has given me a great start.
March 30, 2016 at 7:33 am
#1868586
Just this piece works:
SUBSTRING(FILE_NAME, PATINDEX('%[_]20[0-9][0-9][0-1][0-9][0-3][0-9][_]%', FILE_NAME) + 1, 8)
Thanks for the help!
February 9, 2016 at 12:48 pm
#1857495
its grabbing the c.CYCLE_DT from the CYCLE table. If I add an ACCT_ID in the WHERE clause of the query it will return the result expected.
December 17, 2015 at 2:09 pm
#1846663