Excel使用过程生成 [英] Excel generate using Procedures

查看:98
本文介绍了Excel使用过程生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





这是我的桌子

table1

名称

A

B

C

D



table2



地址

Chennai

Covai

madurai

erode





hi

This is my tables
table1
name
A
B
C
D

table2

address
Chennai
Covai
madurai
erode

whenever i using procedure

select * from table1
select * from table2





这个在excel文件中生成的输出。

例如





Excel文件表1 - > table1

sheet2> table2



this ouptput generated in excel file.
For Example


Excel file sheet1->table1
sheet2>table2

推荐答案





检查以下链接..你会得到想法。

使用Sto中的OPENROWSET在Excel中导出红色程序 [ ^ ]

使用T-SQL,将结果集导出到Excel [ ^ ]

通过存储过程导出Csv文件 [ ^ ]

一旦尝试,如果遇到任何困难,请回来给我们...

问候,

GVPrabu
Hi,

Check the following links.. u will get Idea.
Export in Excel With using OPENROWSET from Stored Procedure[^]
Using T-SQL, export resultset to Excel [^]
Exporting A Csv File Via A Stored Procedure[^]
Once try, If any difficulties then get back to us...
Regards,
GVPrabu


这篇关于Excel使用过程生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆