What does # mean in SQL Server? [duplicate]












0
















This question already has an answer here:




  • What is the meaning of “#” in front of a table name in TSQL?

    2 answers




SELECT 
ACCOUNT_NO,
SUM(OPEN_BAL) AS OPEN_BAL,
CONVERT(NVARCHAR(MAX), '') OPEN_BAL_EN,
INTO
#OB









share|improve this question















marked as duplicate by adiga, Damien_The_Unbeliever sql
Users with the  sql badge can single-handedly close sql questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 26 '18 at 7:33


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • 1





    # means temp table

    – fa06
    Nov 26 '18 at 6:25






  • 1





    Many Thanks Fa06

    – ANZ
    Nov 26 '18 at 6:27








  • 1





    Please at least do the google before asking any question

    – Gagan Burde
    Nov 26 '18 at 7:03











  • Kindly refer below link to get all details: stackoverflow.com/questions/2219714/…

    – saravanatn
    Nov 26 '18 at 7:11











  • How much research effort is expected of Stack Overflow users?

    – adiga
    Nov 26 '18 at 7:35
















0
















This question already has an answer here:




  • What is the meaning of “#” in front of a table name in TSQL?

    2 answers




SELECT 
ACCOUNT_NO,
SUM(OPEN_BAL) AS OPEN_BAL,
CONVERT(NVARCHAR(MAX), '') OPEN_BAL_EN,
INTO
#OB









share|improve this question















marked as duplicate by adiga, Damien_The_Unbeliever sql
Users with the  sql badge can single-handedly close sql questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 26 '18 at 7:33


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • 1





    # means temp table

    – fa06
    Nov 26 '18 at 6:25






  • 1





    Many Thanks Fa06

    – ANZ
    Nov 26 '18 at 6:27








  • 1





    Please at least do the google before asking any question

    – Gagan Burde
    Nov 26 '18 at 7:03











  • Kindly refer below link to get all details: stackoverflow.com/questions/2219714/…

    – saravanatn
    Nov 26 '18 at 7:11











  • How much research effort is expected of Stack Overflow users?

    – adiga
    Nov 26 '18 at 7:35














0












0








0









This question already has an answer here:




  • What is the meaning of “#” in front of a table name in TSQL?

    2 answers




SELECT 
ACCOUNT_NO,
SUM(OPEN_BAL) AS OPEN_BAL,
CONVERT(NVARCHAR(MAX), '') OPEN_BAL_EN,
INTO
#OB









share|improve this question

















This question already has an answer here:




  • What is the meaning of “#” in front of a table name in TSQL?

    2 answers




SELECT 
ACCOUNT_NO,
SUM(OPEN_BAL) AS OPEN_BAL,
CONVERT(NVARCHAR(MAX), '') OPEN_BAL_EN,
INTO
#OB




This question already has an answer here:




  • What is the meaning of “#” in front of a table name in TSQL?

    2 answers








sql-server tsql






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 26 '18 at 7:37









a_horse_with_no_name

305k46468564




305k46468564










asked Nov 26 '18 at 6:23









ANZANZ

41




41




marked as duplicate by adiga, Damien_The_Unbeliever sql
Users with the  sql badge can single-handedly close sql questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 26 '18 at 7:33


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by adiga, Damien_The_Unbeliever sql
Users with the  sql badge can single-handedly close sql questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 26 '18 at 7:33


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 1





    # means temp table

    – fa06
    Nov 26 '18 at 6:25






  • 1





    Many Thanks Fa06

    – ANZ
    Nov 26 '18 at 6:27








  • 1





    Please at least do the google before asking any question

    – Gagan Burde
    Nov 26 '18 at 7:03











  • Kindly refer below link to get all details: stackoverflow.com/questions/2219714/…

    – saravanatn
    Nov 26 '18 at 7:11











  • How much research effort is expected of Stack Overflow users?

    – adiga
    Nov 26 '18 at 7:35














  • 1





    # means temp table

    – fa06
    Nov 26 '18 at 6:25






  • 1





    Many Thanks Fa06

    – ANZ
    Nov 26 '18 at 6:27








  • 1





    Please at least do the google before asking any question

    – Gagan Burde
    Nov 26 '18 at 7:03











  • Kindly refer below link to get all details: stackoverflow.com/questions/2219714/…

    – saravanatn
    Nov 26 '18 at 7:11











  • How much research effort is expected of Stack Overflow users?

    – adiga
    Nov 26 '18 at 7:35








1




1





# means temp table

– fa06
Nov 26 '18 at 6:25





# means temp table

– fa06
Nov 26 '18 at 6:25




1




1





Many Thanks Fa06

– ANZ
Nov 26 '18 at 6:27







Many Thanks Fa06

– ANZ
Nov 26 '18 at 6:27






1




1





Please at least do the google before asking any question

– Gagan Burde
Nov 26 '18 at 7:03





Please at least do the google before asking any question

– Gagan Burde
Nov 26 '18 at 7:03













Kindly refer below link to get all details: stackoverflow.com/questions/2219714/…

– saravanatn
Nov 26 '18 at 7:11





Kindly refer below link to get all details: stackoverflow.com/questions/2219714/…

– saravanatn
Nov 26 '18 at 7:11













How much research effort is expected of Stack Overflow users?

– adiga
Nov 26 '18 at 7:35





How much research effort is expected of Stack Overflow users?

– adiga
Nov 26 '18 at 7:35












2 Answers
2






active

oldest

votes


















1














The # character denotes a temporary table.






share|improve this answer



















  • 1





    Why didn't you vote to close this obvious duplicate?

    – adiga
    Nov 26 '18 at 7:32



















1














# means Temp table, we add # as the prefix with temp table name
Ex:



    create table #TempTable
(
EmpID int,
EmpTitle Varchar(50),
EmpName Varchar(50)
)

select * from #TempTable





share|improve this answer





















  • 1





    Nice explanation with example.

    – Shashank Singh
    Nov 26 '18 at 8:54


















2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














The # character denotes a temporary table.






share|improve this answer



















  • 1





    Why didn't you vote to close this obvious duplicate?

    – adiga
    Nov 26 '18 at 7:32
















1














The # character denotes a temporary table.






share|improve this answer



















  • 1





    Why didn't you vote to close this obvious duplicate?

    – adiga
    Nov 26 '18 at 7:32














1












1








1







The # character denotes a temporary table.






share|improve this answer













The # character denotes a temporary table.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 26 '18 at 6:26









MureinikMureinik

186k22138205




186k22138205








  • 1





    Why didn't you vote to close this obvious duplicate?

    – adiga
    Nov 26 '18 at 7:32














  • 1





    Why didn't you vote to close this obvious duplicate?

    – adiga
    Nov 26 '18 at 7:32








1




1





Why didn't you vote to close this obvious duplicate?

– adiga
Nov 26 '18 at 7:32





Why didn't you vote to close this obvious duplicate?

– adiga
Nov 26 '18 at 7:32













1














# means Temp table, we add # as the prefix with temp table name
Ex:



    create table #TempTable
(
EmpID int,
EmpTitle Varchar(50),
EmpName Varchar(50)
)

select * from #TempTable





share|improve this answer





















  • 1





    Nice explanation with example.

    – Shashank Singh
    Nov 26 '18 at 8:54
















1














# means Temp table, we add # as the prefix with temp table name
Ex:



    create table #TempTable
(
EmpID int,
EmpTitle Varchar(50),
EmpName Varchar(50)
)

select * from #TempTable





share|improve this answer





















  • 1





    Nice explanation with example.

    – Shashank Singh
    Nov 26 '18 at 8:54














1












1








1







# means Temp table, we add # as the prefix with temp table name
Ex:



    create table #TempTable
(
EmpID int,
EmpTitle Varchar(50),
EmpName Varchar(50)
)

select * from #TempTable





share|improve this answer















# means Temp table, we add # as the prefix with temp table name
Ex:



    create table #TempTable
(
EmpID int,
EmpTitle Varchar(50),
EmpName Varchar(50)
)

select * from #TempTable






share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 26 '18 at 7:27

























answered Nov 26 '18 at 7:11









Sanjay Singh ChouhanSanjay Singh Chouhan

615




615








  • 1





    Nice explanation with example.

    – Shashank Singh
    Nov 26 '18 at 8:54














  • 1





    Nice explanation with example.

    – Shashank Singh
    Nov 26 '18 at 8:54








1




1





Nice explanation with example.

– Shashank Singh
Nov 26 '18 at 8:54





Nice explanation with example.

– Shashank Singh
Nov 26 '18 at 8:54



Popular posts from this blog

To store a contact into the json file from server.js file using a class in NodeJS

Redirect URL with Chrome Remote Debugging Android Devices

Dieringhausen