Home Forums SQL Server 2005 Development Access to temp tables across stored procedures RE: Access to temp tables across stored procedures

  • The temp table #TmpA is out of scope for the sproc sp2.

    You can either create the temp table in sp1 as ##TmpA making it global, or call sp2 from within sp1 so that it remains in scope.

     


    Christopher DeMeyer