---
title: "Export SQL data in file"  
description: "Export SQL data in file"  
author: "Anonymous User"  
published: 2012-02-13  
updated: 2012-02-15  
canonical: https://www.mindstick.com/forum/383/export-sql-data-in-file  
category: "mssql server"  
tags: ["mssql server"]  
reading_time: 1 minute  

---

# Export SQL data in file

Hello Everyone, \
Is there any [option](https://www.mindstick.com/forum/159391/jquery-get-selected-option-from-dropdown) in [SQL Server](https://www.mindstick.com/articles/12999/what-is-table-valued-function-in-sql-server) to [export data](https://www.mindstick.com/forum/382/how-to-import-and-export-data-in-sql-server-from-different-file-format) in .rtf file. Please help me as soon as possible.\
\
Thanks in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams)!!

## Replies

### Reply by Pravesh Singh

Hi Arun Singh, \
To [export](https://www.mindstick.com/articles/12966/a-guide-to-export-pallets) [sql](https://www.mindstick.com/articles/13115/types-of-keys-in-sql-or-oracle-database) [data](https://www.mindstick.com/articles/13050/salesforce-aiming-to-dominate-predictive-analytics-with-data-science) in file with rtf extension, you have to select 'Result to File' option in MS-SQL [Server](https://www.mindstick.com/articles/43769/what-is-serverless-architecture-is-it-worth-switching-over) option. After that whenever you execute select query your data will be saved in file with rtf extension.


---

Original Source: https://www.mindstick.com/forum/383/export-sql-data-in-file

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
