Asset Details
MbrlCatalogueTitleDetail
Do you wish to reserve the book?
CrackSQL: A Hybrid SQL Dialect Translation System Powered by Large Language Models
by
Zhou, Xuanhe
, Gao, Yuyang
, Zhou, Wei
, Li, Guoliang
in
Dialects
/ Large language models
/ Queries
/ Query languages
/ Query processing
/ Syntax
/ Translating
2025
Hey, we have placed the reservation for you!
By the way, why not check out events that you can attend while you pick your title.
You are currently in the queue to collect this book. You will be notified once it is your turn to collect the book.
Oops! Something went wrong.
Looks like we were not able to place the reservation. Kindly try again later.
Are you sure you want to remove the book from the shelf?
Oops! Something went wrong.
While trying to remove the title from your shelf something went wrong :( Kindly try again later!
Do you wish to request the book?
CrackSQL: A Hybrid SQL Dialect Translation System Powered by Large Language Models
by
Zhou, Xuanhe
, Gao, Yuyang
, Zhou, Wei
, Li, Guoliang
in
Dialects
/ Large language models
/ Queries
/ Query languages
/ Query processing
/ Syntax
/ Translating
2025
Please be aware that the book you have requested cannot be checked out. If you would like to checkout this book, you can reserve another copy
We have requested the book for you!
Your request is successful and it will be processed during the Library working hours. Please check the status of your request in My Requests.
Oops! Something went wrong.
Looks like we were not able to place your request. Kindly try again later.
CrackSQL: A Hybrid SQL Dialect Translation System Powered by Large Language Models
Paper
CrackSQL: A Hybrid SQL Dialect Translation System Powered by Large Language Models
2025
Request Book From Autostore
and Choose the Collection Method
Overview
Dialect translation plays a key role in enabling seamless interaction across heterogeneous database systems. However, translating SQL queries between different dialects (e.g., from PostgreSQL to MySQL) remains a challenging task due to syntactic discrepancies and subtle semantic variations. Existing approaches including manual rewriting, rule-based systems, and large language model (LLM)-based techniques often involve high maintenance effort (e.g., crafting custom translation rules) or produce unreliable results (e.g., LLM generates non-existent functions), especially when handling complex queries. In this demonstration, we present CrackSQL, the first hybrid SQL dialect translation system that combines rule and LLM-based methods to overcome these limitations. CrackSQL leverages the adaptability of LLMs to minimize manual intervention, while enhancing translation accuracy by segmenting lengthy complex SQL via functionality-based query processing. To further improve robustness, it incorporates a novel cross-dialect syntax embedding model for precise syntax alignment, as well as an adaptive local-to-global translation strategy that effectively resolves interdependent query operations. CrackSQL supports three translation modes and offers multiple deployment and access options including a web console interface, a PyPI package, and a command-line prompt, facilitating adoption across a variety of real-world use cases
Publisher
Cornell University Library, arXiv.org
Subject
This website uses cookies to ensure you get the best experience on our website.