Pages
(Move to ...)
Assignment
Synopsis
C
Graphics
Compiler
C#
DCN
DBMS
Discrete Math
DS
IT Fun
Java
Json
NIELIT
Notes
Office
OOPS
OS
PHP
Project
Phython
Question
SSAD
Web
UGC Net
VB
ASP
▼
Saturday, 16 December 2017
Temporary Table in SQL Server store procedure
declare
@mytbl
as
table
(
id
bigint
,
name
varchar
(
30
),
mobileno
varchar
(
30
),
email
varchar
(
30
)
)
insert
@mytbl
select
userid
,
firstname
,
mobileno
,
emailid
from
student
where
class
in
(
4
,
20
,
84
);
select
*
from
@mytbl
Next Topic
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment