Hi all,I am ORACLE PL/SQL Developer.My problem:I have 3 simple select statement in oracle I want to execute the queries in SQL SERVER on 1st of every monthand generate 3 .xls (or .csv) files (1 .xls file for each select statement).The 3 excel files that will be genrate has to be placed into the clients locations-- \\10.75.67.00\Outputfolder.Whole process has to be automated .How can i do this in SQL SERVER 2008.I cant use sp_makewebtask in 2008.So please tell me step by step how can i implement this in 2008.In 2005 i have implemented like thisALTER PROCEDURE [dbo].[sp_reports]ASBEGIN SET NOCOUNT ON; declare @directory varchar(200)set @directory = '\\IPADDRESS OF THE CLIENT'S MACHINE\OUTPUTFOLDER\' declare @title1 varchar(200) set @title1 = ' Report' declare @yr varchar(20)set @yr = datepart(year,getdate())declare @filetype varchar(20)set @filetype = '.xls'declare @file1 varchar(200)set @file1 = @directory + 'Report'+@mth + '_' +@yr + @filetypeEXEC sp_makewebtask @outputfile = @file1, @query = 'select * from openquery(DB_LINK_TO_ORACLE,'' SELECT * from table_name where column_name=''''yes'''' '')', @FixedFont=0,@resultstitle=@title1
ThanksRahul Raj