SELECT T1.LEDGERACCOUNT,T1.POSTINGLAYER,T1.JOURNALNUMBER,T1.LEDGERDIMRECID,T1.NAME,T1.ACCOUNTINGCURRENCY,T1.REPORTINGCURRENCY,T1.ENDDATE,T1.FINANCIALSTARTDATE,T1.TYPE,T1.MAINACCOUNTID,T1.REPORTINGCURRENCYAMOUNT,T1.TRANSACTIONCURRENCYAMOUNT,T1.MAINACCOUNTTYPE,T1.LEGALENTITY,T1.RECID#2,T1.RECVERSION#2,T1.RECID#3,T1.RECVERSION#3,T1.RECID#4,T1.RECVERSION#4,T1.RECID#5,T1.RECVERSION#5,T1.CREATEDBY,T1.CREATEDTRANSACTIONID,T1.RECVERSION,T1.PARTITION,T1.RECID FROM XYZ_ACCOUNTBALANCESENTITYPERF T1 WHERE (((((PARTITION=5637144576) AND (PARTITION#2=5637144576)) AND (PARTITION#3=5637144576)) AND (PARTITION#4=5637144576)) AND (PARTITION#5=5637144576)) ORDER BY T1.LEDGERACCOUNT,T1.LEDGERDIMRECID
[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'RECID#2'.
Object Server Azure:
Results Cannot select a record in Account balances perf entity (XYZ_AccountBalancesEntityPerf).
The SQL database has issued an error.