SkillAgentSearch skills...

OrcaSql

A C# parser for MDF files. Allows you to read tables, metadata and indexes from MDF files without it being attached to a running SQL Server instance.

Install / Use

/learn @ycherkes/OrcaSql
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

This repository has reached the maintenance state: "You need it, you fix it". If you find a bug or need a new feature, please feel free to create a Pull Request.

OrcaSql

OrcaSql is a parser for Microsoft SQL Server data files. It allows you to read SQL Server data files without the use of SQL Server.

This solution is based on existing Mark's S. Rasmussen repository https://github.com/improvedk/OrcaMDF with the following enhancements:

  • modern data types support (Xml, HierarchyId, Geography, Geometry, DateTime2, DateTimeOffset);
  • improved formatting of the data shown in grid;
  • caching system tables only;
  • large databases support (tested on the Stack Overflow 2014 database https://www.brentozar.com/archive/2015/10/how-to-download-the-stack-overflow-database-via-bittorrent/);
  • schema added to names of the tables and data types;
  • fixed some bugs (like usage of pg_first - it works mainly for the sample DBs, but doesn't for real DBs, bug with multiple bit columns - https://github.com/improvedk/OrcaMDF/issues/32 etc.);
  • ability to generate an SQL script to fix corrupted page of database based on the page data from the file;
  • ability to export the data of the table from the backup to the SQL Server for further analysis;
  • columns with zero physical length (with default constraints);
  • skipping dropped column data;
  • skipping ghost ang ghost forwarded records;
  • external plugins support;
  • collation support;
  • SQL syntax highlighting;
  • similar to SSMS NULL value highlighting;
  • performance optimization.

Related Skills

View on GitHub
GitHub Stars22
CategoryData
Updated3mo ago
Forks10

Languages

C#

Security Score

92/100

Audited on Dec 23, 2025

No findings