<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/sql-server-export-varbinary-column-to-disk-g9bkwcaee" -->

---
title: SQL Server–Export varbinary column to disk | daily.dev
description: This post provides a script to export varbinary columns in SQL Server to disk using Ole Automation procedures. It also explains how to enable Ole Automation in...
canonical: https://daily.dev/posts/sql-server-export-varbinary-column-to-disk-g9bkwcaee
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: SQL Server–Export varbinary column to disk | daily.dev
og:description: This post provides a script to export varbinary columns in SQL Server to disk using Ole Automation procedures. It also explains how to enable Ole Automation in...
og:url: https://daily.dev/posts/sql-server-export-varbinary-column-to-disk-g9bkwcaee
og:image: https://api.daily.dev/og/posts/G9BkwCaEe.png
og:image:alt: SQL Server–Export varbinary column to disk
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# SQL Server–Export varbinary column to disk

**[The Art of Simplicity](https://daily.dev/sources/bartwullems)** · 3 min read · 2 upvotes · 0 comments

## Summary

This post provides a script to export varbinary columns in SQL Server to disk using Ole Automation procedures. It also explains how to enable Ole Automation in SQL Server.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://bartwullems.blogspot.com/2024/04/sql-serverexport-varbinary-column-to.html>

---

Tags: [#backend](https://daily.dev/tags/backend), [#microsoft-sql-server](https://daily.dev/tags/microsoft-sql-server)

[View this post on daily.dev](https://daily.dev/posts/sql-server-export-varbinary-column-to-disk-g9bkwcaee)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"SQL Server–Export varbinary column to disk","url":"https://daily.dev/posts/sql-server-export-varbinary-column-to-disk-g9bkwcaee","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/sql-server-export-varbinary-column-to-disk-g9bkwcaee"},"datePublished":"2024-04-18T04:16:46.195Z","dateModified":"2024-05-09T08:39:06.345Z","description":"This post provides a script to export varbinary columns in SQL Server to disk using Ole Automation procedures. It also explains how to enable Ole Automation in...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ea292ac7d0ba65d3c1a79c8788597f91?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ea292ac7d0ba65d3c1a79c8788597f91?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"The Art of Simplicity","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Art of Simplicity","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/52b68c70636d44f0901ae7cd107c9438","url":"https://daily.dev/sources/bartwullems"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/sql-server-export-varbinary-column-to-disk-g9bkwcaee","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"backend,microsoft-sql-server","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Art of Simplicity","item":"https://daily.dev/sources/bartwullems"},{"@type":"ListItem","position":3,"name":"SQL Server–Export varbinary column to disk"}]}
```

