Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 create Sp data into txt file from table

Author  Topic 

ramemail.n
Starting Member

8 Posts

Posted - 2010-07-27 : 09:49:12
i need to create a stored procedure the result should store in

test file in specific path..

example :

1) stock sim (select * from stock sim) with data time filter

every one day i am going to schedule

2) data should store in secific path with file name

D:\abc\stocksim@@date.txt

please help me out.

Rammohan N

slimt_slimt
Aged Yak Warrior

746 Posts

Posted - 2010-07-27 : 13:45:24
i suggest you to use SSIS. it's fairly simple and straightforward.
Go to Top of Page

ramemail.n
Starting Member

8 Posts

Posted - 2010-07-27 : 14:03:03
we are using 2000

Rammohan N
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2010-07-28 : 06:56:44
You can apply this logic where it appends date as part of the file
http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/backup-database.aspx

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -