I have the following query in a stored procedure on an SQL server:
SELECT TLI.LESNumber ,COUNT(TLT.PL) INTO
When the request is executed, I get the following error:
An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.
Can someone tell me why? #PWCM does not appear anywhere before this request.
Art f source share