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 2005 Forums
 Transact-SQL (2005)
 creating a flat file and writing the dynamic data

Author  Topic 

rameshatsalem
Starting Member

1 Post

Posted - 2008-01-08 : 16:07:08
HI All,
I am new this forum. I am migrating stored procedure from oracle to sqlserver. I have a procedure that will create a flatfile in a specified location and write the table data into the flatfile. Can anyone in this forum can help me out how to do this in t-sql?

Thanks in Advance
Ramesh.

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2008-01-08 : 16:20:47
You can use the BCP utility or SQL Server Integration Services to do this.

You can read about both in the SQL Server 2005 Books Online.



CODO ERGO SUM
Go to Top of Page
   

- Advertisement -