Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. ## in sql server..?

## in sql server..?

Scheduled Pinned Locked Moved Database
databasesql-serversysadminquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DIPAK EMSYS
    wrote on last edited by
    #1

    Hi all, Is there something like ## in sqlserver related to scope of temprory tables.?? which decides the scope of the temp tables?? thanks

    dipak

    A C 2 Replies Last reply
    0
    • D DIPAK EMSYS

      Hi all, Is there something like ## in sqlserver related to scope of temprory tables.?? which decides the scope of the temp tables?? thanks

      dipak

      A Offline
      A Offline
      Ashfield
      wrote on last edited by
      #2

      Yes, a single # creates a temp table only available to the connection it was created on, a ## prefix makes temp table available to all connections.

      Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

      1 Reply Last reply
      0
      • D DIPAK EMSYS

        Hi all, Is there something like ## in sqlserver related to scope of temprory tables.?? which decides the scope of the temp tables?? thanks

        dipak

        C Offline
        C Offline
        Coding C
        wrote on last edited by
        #3

        Have a look at this http://www.sqlteam.com/article/temporary-tables http://www.sqlservercentral.com/articles/Basic+Querying/temptablesinsqlserver/1279/

        Coding C# ExciteTemplate

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups