Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2008

    Unanswered: Global temporary tables

    How to implement global temporary tables in sybase?

  2. #2
    Join Date
    Apr 2008
    Iasi, Romania
    Provided Answers: 3
    Temporary tables created with the “tempdb..” prefix are shareable among Adaptive Server user sessions. They exist until they are explicitly dropped by their owner or until Adaptive Server is restarted. Create temporary tables with the “tempdb..” prefix from inside a stored procedure only if you intend to share the table among users and sessions. To avoid inadvertent sharing of temporary tables, use the “#” prefix when creating and dropping temporary tables in stored procedures.
    Florin Aparaschivei
    DB2 9.7, 10.5 on Windows
    Iasi, Romania

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts