在SQL Server 2005中自动通过电子邮件发送查询结果(Automatically Email query Results in SQL Server 2005)
有谁知道如何在SQL Server 2005中设置一个工作,将作为附件的查询结果通过电子邮件发送?
我最好将它们作为XML发送给他们,以便在Excel中很好地打开它们,但我会满足于CSV ...
提前致谢!
-ev
Does anyone know how I can set up a job in SQL Server 2005 that will email the results of a query as an attachment?
Preferably I'd like to email them as XML so they can be opened nicely in Excel, but I'll settle for a CSV...
Thanks in advance!
-Ev
原文:https://stackoverflow.com/questions/5799679
更新时间:2022-12-19 21:12
最满意答案
相关问答
更多-
这篇文章解释了如何在android中使用web服务 有几个细节涉及到WCF,并且可以与您想要小心的Java进行互操作。 本系列文章对此进行了很多解释。 Here is an article explaining how to consume web service with android in general There are a couple of particulars when it comes to WCF and being interoperable with java you want t ...
-
命令执行(以管理员身份) netsh http add urlacl url=http://computer:50233/ user=Everyone 帮助改变了503上的400个错误 现在看到我的wsdl,我只是添加了一个参考要开始使用WCF,可能最简单的方法是使用默认的SOAP格式和HTTP POST(而不是GET)来进行Web服务绑定。 最简单的HTTP绑定工作是“basicHttpBinding”。 以下是您的登录服务的ServiceContract / OperationContract可能是什么样的示例: [ServiceContract(Namespace="http://mycompany.com/LoginService")] public interface ILoginService { [Opera ...真正的例外是没有名为“local”的已知服务器。 我的猜测是你试图连接到你的本地电脑。 尝试使用主机名"localhost" ,或者可能是127.0.0.1 / ::1 (最后一个是IPv6)。 从javadocs : 抛出表示无法确定主机的IP地址。 127.0.0.1 / ::1 / "localhost"应该是环回接口,所以如果这不行,那我真的很惊讶。 如果网络上确实有名为“本地”的服务器,请检查您的DNS设置或将其添加到您的主机文件。 What the exception is really say ...你的第一次尝试非常接近。 只需要两个修复: String METHOD_NAME = "Dummy"; String NAMESPACE = "http://tempuri.org/"; String URL = "http://tyty.cloudapp.net/Service1.svc"; String SOAP_ACTION = "http://tempuri.org/IPMPService/Dummy"; String res = ""; try { SoapObject request ...我使用commande ipconfig / all并查找LAN适配器的ipv4地址: 像这样的网址工作: http://192.168.182.1:7915/SomeService.svc/SomeFunction?source=xxx&target=xxx 如果仍然无效,请尝试在IIS管理器applicationhost.config中设置绑定,并为该端口添加防火墙规则 I use commande ipconfig /all and find ipv4 address of LAN adapter: ...有一个名为主机文件的文件。 当您尝试请求一个DN窗口查看该文件时。 C:\WINDOWS\System32\drivers\etc文件是主机文件。 在你的主机文件中添加如下所示(使用管理员模式)。 server_ip_address myhostname.com I finally got it solved! For those struggling with this issue without sucess: Amazon EC2 load balance was the cause of ...
我几乎在那里... PhoneGap Android连接到WCF服务(I am almost there…PhoneGap Android connect to WCF Service)[2022-05-09]
PhoneGap实际上只是html / css / js网页的包装器,带有用于访问手机特定功能的js库,可以编译为多个本机移动平台应用程序。 所以这真的不是PhoneGap的问题...... 您说您正在使用JQuery查询您的Web服务,如果您可以打开在正常浏览器窗口中触发请求的html文件,并且一切正常。 问题不在于代码,而是使用您正在使用的仿真器,也许有些错过配置idk。 好的,如果仍然失败,您很可能指向错误/没有IIS实例。 如果你有两个IIS实例在端口80 idk上运行,那么它的表现如何,但我认为这 ...看一下android的改造库: http : //square.github.io/retrofit/ 它使用起来非常简单,而且非常可扩展。 // below is the your client interface for wcf service public interface IServer{ @POST("/GetUserDetails") public void getUserDetails(@Body YourRequestClass request , Callback您用来调用WCF服务的浏览器是模拟器浏览器还是PC浏览器? 如果你使用Genymotion的模拟器,那么你的WCF服务的ip地址(在你的PC上运行)必须是10.0.3.2 。 Browser this you use to call WCF service is simulator browser or PC browser? If you use simulator by Genymotion then ip address of your WCF service(run on your PC) must ...相关文章
更多- SQL Server 压力测试
- Hadoop+SQL Server+Excel=大数据分析
- SQL Server 2000 如何锁定表中的行,使其他线程读取该行时候发生sql异常,不能读取?
- MyBatis 动态 SQL详解
- Solrflux源码分析-Sql Support within Solr-类Sql的solr搜索实现(2)
- 一个sql查询
- 《[窗内网]SQL 2008完全学习手册 视频教程》
- 锋利的SQL
- 关于mysql 的 sql
- 请教一个SQL实现
最新问答
更多- 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
- 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
- OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
- 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
- codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
- 在计算机拍照在哪里进入
- 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
- No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
- 单页应用程序:页面重新加载(Single Page Application: page reload)
- 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
- System.StackOverflow错误(System.StackOverflow error)
- KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
- 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
- android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
- TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
- 企业安全培训的各项内容
- 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
- C#类名中允许哪些字符?(What characters are allowed in C# class name?)
- NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
- 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
- 将多个行和可变行移动到列(moving multiple and variable rows to columns)
- 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
- 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
- Angular $资源不会改变方法(Angular $resource doesn't change method)
- 在Angular 5中不是一个函数(is not a function in Angular 5)
- 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
- 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
- 常见的python rpc和cli接口(Common python rpc and cli interface)
- Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
- 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)