When I try to run a SQL query through VBA Code it is throwing the below error:
Run time error -2147467259(80004005)
[Teradata] The object name is too long in NFD/NFC
Set rec1 = New ADODB.Recordset
rec1.Open oSql, conn
Worksheets("BO_Output").range("A" & (N)).Value = thissql
My query is working fine when I run it in SQL assistant