• I am new to this whole procedure but I have around a year of SQL knowledge.

    I get this error,

    "The identifier that starts with ' AS [Database] FROM [AdultCSODataSQL].[dbo].[sysusers] su LEFT OUTER JOIN ##Users u ON su.sid = u.sid LEFT OUTER JOIN ([AdultCSO' is too long. Maximum length is 128."

    Thanks in advance while I debug!