I am seeing an odd thing attempting to convert a SQL Server BIGINT data type to VarChar(19) as suitable data type to be digested by Access / VBA.
In the Stored Procedure I have the following which in my mind should translate it beautifully:
Yet I see the BigInt data type bleeding through into Access / VBA. I execute the SP with an ADO.Command object, which returns an ADO.Recordset object, I peek inside, and am very puzzled to see:
????? Why is this BIGINT being so stubborn? TIA!
In the Stored Procedure I have the following which in my mind should translate it beautifully:
Code:
SELECT CAST(@id AS varchar(19)) AS [id];
????? Why is this BIGINT being so stubborn? TIA!