What does # mean in SQL Server? [duplicate]
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
sql-server tsql
marked as duplicate by adiga, Damien_The_Unbeliever
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.
add a comment |
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
sql-server tsql
marked as duplicate by adiga, Damien_The_Unbeliever
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
add a comment |
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
sql-server tsql
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
sql-server tsql
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
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
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
The #
character denotes a temporary table.
1
Why didn't you vote to close this obvious duplicate?
– adiga
Nov 26 '18 at 7:32
add a comment |
# 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
1
Nice explanation with example.
– Shashank Singh
Nov 26 '18 at 8:54
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The #
character denotes a temporary table.
1
Why didn't you vote to close this obvious duplicate?
– adiga
Nov 26 '18 at 7:32
add a comment |
The #
character denotes a temporary table.
1
Why didn't you vote to close this obvious duplicate?
– adiga
Nov 26 '18 at 7:32
add a comment |
The #
character denotes a temporary table.
The #
character denotes a temporary table.
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
add a comment |
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
add a comment |
# 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
1
Nice explanation with example.
– Shashank Singh
Nov 26 '18 at 8:54
add a comment |
# 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
1
Nice explanation with example.
– Shashank Singh
Nov 26 '18 at 8:54
add a comment |
# 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
# 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
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
add a comment |
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
add a comment |
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