Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8824699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:41:55+00:00 2026-06-14T06:41:55+00:00

How can I generate SQL inserts with hex (blob) content for e.g. a Flyway

  • 0

How can I generate SQL inserts with hex (blob) content for e.g. a Flyway migration script.

I can open the binary content in an editor, e.g. UltraEdit using Hex mode. However, cannot find a way to copy and paste this content to my SQL editor, e.g. MySQL Workbench. I can copy a few bytes, but the files I need are around 60k to 100k.

Suggestions please anyone?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T06:41:57+00:00Added an answer on June 14, 2026 at 6:41 am

    After talking to colleagues here, tried this quick process and verified it works OK:-

    1. Using MySQL Workbench, right click on the blob field and “Load Value From File” with the new content.

    2. On command line (DOS or Cygwin), use the mysqldump utility, e.g.
      mysqldump -u root -psomestring –hex-blob my_schemaname my_tablename > destination_file.sql

    3. Open resulting destination_file.sql, copy and paste hex content strings to Flyway script.

    QED

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is from a sql script. What tool can generate this? Thanks --USE [MY_TABLE]
How can I generate some insert sql sentences using a specific select query. Are
Anyone have a PL-SQL statement that i can use to generate database & tables
Can you any one tell me how to generate auto number in SQL? I
ASP.NET MVC can generate HTML elements using HTML Helpers, for example @Html.ActionLink() , @Html.BeginForm()
I know you can generate all permutations from a list, using glob or Algorithm::Permute
I'm using SQL Server 2K8 and have a table used solely to generate ids
I am using excel concatenation to generate SQL insert statement but i find it
On a small pre-registration database, I'm using the following SQL to generate a VIEW
I can Generate Create Scripts of my database in MS Sql Server Management Studio.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.