由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - keep group of values of SQL procedure in one table (转载)
相关主题
SAS quarter calculation question请教一道sas 题
SQL find distinct values in large table (转载)SQL中啥时候用group by, 啥时候用self-join?
Help! proc sql;cout not null value.我也来请教一个SAS问题
大牛请进,问个sas问题SAS Proc SQL count问题
SAS QUESTION:how to capture the last nonmissing observation?求教个SQL的问题
请教proc sql问个sql的问题吧,搞不出来了.
sas问题SQL run a stored procedure by fetching from a cursor row by (转载)
如何删除重复的OBS?sas help
相关话题的讨论汇总
话题: procedure话题: sql话题: table话题: values话题: keep
进入Statistics版参与讨论
1 (共1页)
l******9
发帖数: 579
1
【 以下文字转载自 Database 讨论区 】
发信人: light009 (light009), 信区: Database
标 题: keep group of values of SQL procedure in one table
发信站: BBS 未名空间站 (Sat May 24 09:48:08 2014, 美东)
I need to print out a group of values from a procedure on SQL server 2008.
If I use select , it generated a distinct table into the result part of SQL
server 2008 managemetn studio every time the procedure is called.
i need to call the procedure in a loop. I want to print the values into one
table.
Thx!
while
begin
my_procedure()
end
my_procedure()
# do something
select value1, value2, value3
i need to keep the
value1, value2, value3
in one single table after the loop is done.
Currently, everytime my_procedure() is called, a new table is created in SQL
server MS.
I want to keep all of them in one single table.
1 (共1页)
进入Statistics版参与讨论
相关主题
sas helpSAS QUESTION:how to capture the last nonmissing observation?
请教一个proc transpose的问题请教proc sql
How to do "data quality check in a methodical manner" By SAS or Proc SQL ?sas问题
问一个统计F value的问题-急!如何删除重复的OBS?
SAS quarter calculation question请教一道sas 题
SQL find distinct values in large table (转载)SQL中啥时候用group by, 啥时候用self-join?
Help! proc sql;cout not null value.我也来请教一个SAS问题
大牛请进,问个sas问题SAS Proc SQL count问题
相关话题的讨论汇总
话题: procedure话题: sql话题: table话题: values话题: keep