#ODBC
Odbc
November 17, 2026 at 10:30 AM
✍️ New blog post by Railander Marques

Athena via ODBC sem access key: IAM Roles Anywhere para Power BI e Excel fora da AWS

#aws #athena #iam #powerbi
Athena via ODBC sem access key: IAM Roles Anywhere para Power BI e Excel fora da AWS
1. Objetivo Liberar acesso ao Amazon Athena via driver ODBC (Power BI, Excel, DBeaver,...
dev.to
November 12, 2026 at 12:36 PM
Oracle AI Database 26ai: el controlador ODBC da un paso adelante en alta disponibilidad
www.linkedin.com/pulse/oracle...
Oracle AI Database 26ai: el controlador ODBC da un paso adelante en alta disponibilidad
La continuidad de una aplicación conectada a una base de datos no depende únicamente de que el servidor esté disponible. También importa cómo se gestionan las conexiones y qué mecanismos existen para ...
www.linkedin.com
November 10, 2026 at 8:15 PM
Interestingly enough, my first use of a mouse jiggler was back when mice we're still attached to the serial port. It prevented odbc queries from timing out. It was a handmade sort of thing basically, a beeper clipped to the cord, and an auto dialer
November 9, 2026 at 4:57 AM
I just saw that Postgres 19 has online repacking. That is super cool. I remember the brain explode moment I moved from MySQL to Postgres in the mid 90’s because their odbc driver has table cursors which at the time seemed just unreal for making database apps.
November 5, 2026 at 4:41 AM
psqlODBC 18.00.0006 fixes two more memory corruption flaws

A malicious or impersonated server can overflow the client's buffer through a large-object read (CVE-2026-120057), and untrusted SQL text with ODBC…

#infosec #cybersecurity #PostgreSQL #databases #cloud
trustlist.uk/security-advisorie…
psqlODBC 18.00.0006 fixes two more memory corruption flaws
A malicious or impersonated server can overflow the client's buffer through a large-object read (CVE-2026-120057), and untrusted SQL text with ODBC escapes can overflow the stack (CVE-2026-120061)…
trustlist.uk
November 3, 2026 at 10:21 PM
🚨 EUVD-2026-116214
📊 2.1/10
🏢 MONGODB

📝 A memory-handling flaw in the MongoDB Atlas SQL ODBC Driver can cause values returned for a query to be written outside the bounds of a buffer provided ...

🔗 https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-116214

#cybersecurity #infosec #cve #euvd
November 3, 2026 at 9:01 PM
🚨 EUVD-2026-116213
📊 6.0/10
🏢 MONGODB

📝 An out-of-bounds write in the MongoDB Atlas SQL ODBC Driver may be triggered when a value of a particular database type is retrieved into a fixed-width ...

🔗 https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-116213

#cybersecurity #infosec #cve #euvd
November 3, 2026 at 9:02 PM
Haven't checked it myself, but apparently there's still a windows 3.1 file picker available through the "ODBC data sources" settings. (news.ycombinator.com/item?id=4604...)
In Windows 11 you're only 3 clicks away from a Windows 3.1 dialog box: ODBC Data... | Hacker News
news.ycombinator.com
November 1, 2026 at 4:38 PM
🚨 EUVD-2023-25871
📊 7.8/10
🏢 Microsoft

📝 Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

🔗 https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-25871

#cybersecurity #infosec #cve #euvd
November 3, 2026 at 12:03 AM
phpでSQLの結果リソース内の行数を数えるodbc_num_rows()関数、SELECT文で実行すると多くのODBCドライバで-1が返されるっつう問題で死ぬるた。
「えっこれみんな困ってないの?」と思ったところ、みなさんも仕方なくやっつけで凌いでいる模様…。MySQL使えと?
November 3, 2026 at 1:45 PM
🚨 EUVD-2026-115374
📊 7.5/10
🏢 PostgreSQL

📝 The psqlODBC parser for ODBC escape sequences in application SQL text writes the argument offsets of a {fn} escape into a fixed 16-entry stack array ...

🔗 https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-115374

#cybersecurity #infosec #cve #euvd
November 2, 2026 at 8:01 PM
As a Data Scientist, I've spent my last 9 months doing data engineering, explaining why I have to have access to prod data in order to test, learning the nuances of ODBC authentication and how to integrate direnv files with cron.

And yet I still can't get my day job done. << cries >>
October 29, 2026 at 2:13 PM
I'm sure it's used more than you think. I'd be curious to know how many companies rely on it for the database itself, but beyond that it's ability to connect to other systems through ODBC, it's query designer, and it's report generation features still make it quite viable.
October 29, 2026 at 12:29 PM
Securing MCP servers before the AI rollout outpaces security
Your company’s CTO has a plan to implement your company’s first LLM-based application. The board approved it, and now you’re finding out about it. It’s a typical story I hear all the time, and I’ve lived it myself. You’ve heard everything about models and LLMs, but now you see this new term all over the place: Model Context Protocol (MCP) servers —and the realization that you now need to make sure they are implemented securely. ## What is an MCP server? MCP servers are like the ODBC of the 1990s. Before ODBC, every application needed custom code to query databases. ODBC defined a single standard on how to talk to databases, and database vendors just developed a driver to talk to their solution. MCP servers work in the same way: the AI app just needs to use the standardized methods to communicate with the local MCP host, and each available tool (databases, file shares, CRMs) provides an MCP server that translates the MCP transmissions into the tool’s native format. So, you just need a driver on your MCP host to talk to any available endpoint. _Fig.1 – MCP architecture._ Greg Neville The MCP Hosts will be in your environment, and you can control the ingress and egress traffic allowed for each MCP Host. One MCP Host can also access more than one MCP Server, allowing greater scalability, but it also adds risk. _Fig. 2 – Example marketing LLM application._ Greg Neville ## Top priority MCP controls At this stage, define requirements before the MCP server implementation gets too far. Establish a list of requirements for the initial phase. Focus on the controls that deliver the most value and reduce the most risk. ### Input validation and sanitization Inputs from any indirect external sources outside your control are untrusted and should be treated as high-risk for abuse. Identifying and removing malicious input is vital for preventing misuse of an LLM application. Input validation and sanitization include strong authentication and authorization, detection of malicious code and jailbreak attempts, and filtering sensitive or regulated data. ### Output validation and sanitization These controls often involve enforcing a specific structure to facilitate validation, context-aware encoding and removal of unusual or unapproved data. Incorporate human oversight for higher-risk actions or other high-importance outputs, such as financial reporting. ### Network segmentation Segmenting MCP hosts can reduce the attack surface and limit potential abuse by restricting ingress and egress traffic to authorized systems and ports. ### Server hardening Servers should be configured following comprehensive guidelines such as the CIS Model. Hardening measures include disabling unnecessary or default accounts, closing unused ports and adjusting system settings to minimize vulnerabilities. Ideally, use infrastructure-as-code (IaaC) to make these servers ephemeral and further reduce the risk of a compromise spreading. ### Least access principle Permissions will be key in limiting the blast radius of what an attacker can do. Multiple MCP servers can be used to reduce over-permission by grouping tools that have similar access needs. Limit access to only the users, tenants and workloads that the server needs to provide the service. Also, limit token life to as short as possible in case any token is stolen. ### Encryption Encryption is hopefully a part of the server hardening process but needs to be called out on its own. Deploy encryption at rest and in transit end-to-end, with strong key management practices. ### Tool management Limiting the number of available tools on MCP hosts and restricting their capabilities to the minimum necessary can help reduce risks related to tool misuse and compromise. ### Third-party assessments and contracts Ensure third-party providers implement appropriate security controls, preferably verified by independent bodies such as SOC 2, HITRUST or ISO 27001/2. Contracts should specify control requirements, and any identified high-risk gaps should be addressed through remediation agreements. A Business Associate Agreement (BAA) should be in place if protected health information (PHI) is involved. ### Audit and logging Maintaining detailed logs of AI actions and prompts is crucial for detecting issues like hacking attempts, AI misuse and prompt abuse. ### Human-in-the-loop Human-in-the-loop is critical for any high-risk action that an LLM application may try to take, or any highly critical data that is produced. Verify administrative actions to critical systems before allowing them to execute or be produced. ### Pre-production testing An important, often-overlooked step is to monitor implementation and perform pre-production testing to make sure your key controls work correctly. Some potential tests would be: * Enter fake PHI, SSNs, account numbers or whatever data is appropriate to your environment to make sure those data types are being flagged or blocked. * Test authentication and authorization by logging in and confirming what tools you can see and access. * Test inbound and outbound network filtering to confirm only approved systems are reachable. * Confirm the server(s) have been hardened according to the hardening policy. * Confirm all critical events and actions are being logged. You’ve tried to work with the CTO and get him to agree to all these controls being implemented, but you don’t see the project plan changing or you’re getting fuzzy dates back. You may need to enlist other executives to help influence the decision. ## The risk management approach If you have a Risk Committee in place, it could help prioritize control requirements and timelines, so they’re implemented sooner rather than later. You need to be open to prioritizing certain controls over others to avoid major roadblocks and delays in moving the product forward. A proper AI Risk Assessment will help determine the applicable threats and controls to your environment, as well as the inherent and residual risks. For an AI threat list to build your risk assessment, I use the OWASP Top 10 for LLM Applications for my assessments and reporting. Scope the threats and rate their inherent risk in your environment. For a first pass, to speed up the assessment, you can drop threats with very low or low likelihood. For the Risk Committee, however, communicate the impacts in their language to help them understand. I would communicate the issues in terms of productivity loss, downtime, loss of customer trust, regulatory fines and other industry-specific impacts, such as patient care, trading errors, bad credit decisions, unfair claims or underwriting, worker safety and service availability. Don’t make it a quantitative exercise; keep it qualitative but be prepared to explain your ratings to maintain your peers’ trust. ## Good outcomes At this point, if all went well, you have provided the governance and input to limit risk to the organization. Incidents can and will cause downtime, fines and reputational damage if key controls are not in place. Helping your organization lower the risk of this occurring is a job well done.
www.csoonline.com
October 30, 2026 at 3:07 AM
Looker update on October 27, 2026 https://docs.cloud.google.com/looker/docs/release-notes/#October_27_2026 #googlecloud The latest version of the Looker-Excel Connector ODBC driver, version 1.0.7, is now available to download
October 27, 2026 at 5:40 PM
SQL Server 2025 sp_columns Omits JSON and Vector Columns

SQL Server 2025 filters json and vector columns from sp_columns and ODBC catalog output. I tested the alternatives.
SQL Server 2025 sp_columns Omits JSON and Vector Columns
SQL Server 2025 filters json and vector columns from sp_columns and ODBC catalog output. I tested the alternatives.
www.sqlserverscience.com
October 25, 2026 at 2:18 PM
SQL Server 2025 sp_columns Omits JSON and Vector Columns

SQL Server 2025 filters json and vector columns from sp_columns and ODBC catalog output. I tested the alternatives.

https://www.sqlserverscience.com/internals/sql-server-2025-sp-columns-json-vector/
SQL Server 2025 sp_columns Omits JSON and Vector Columns
Schema-discovery code still uses `sp_columns`, even though it is an older compatibility procedure. `sp_columns` is there on every SQL Server instance, Open Database Connectivity (ODBC) catalog calls line up with it, and catalog APIs are commonly used to get column metadata before a statement runs. _This post is part of theUndocumented Changes in SQL Server 2022 and 2025 series. The contents page lists every part in order._ In the SQL Server 2025 changed-procedures post, I called out a new `sp_columns` filter for `json` and `vector` columns. This post tests that one change on a real table. It also links back to the first post on SQL Server 2025, because the same inventory work found this change. The short version: on my SQL Server 2025 test instance, `sp_columns` returned the `int` and `nvarchar` columns from my test table. It did not return the `json` or `vector(3)` columns. The ODBC catalog path I tested through `System.Data.Odbc` returned the same two-column list. `INFORMATION_SCHEMA.COLUMNS`, `sys.columns`, and `sp_describe_first_result_set` all returned four columns from the same table, which is why I treat them as alternatives below. ## The filter in the procedure text The SQL Server 2025 change adds a type-code predicate to two result queries. In SQL Server 2022 Cumulative Update (CU) 25, these two result queries in `sys.sp_columns` ended after the sparse-column predicate: Transact-SQL -- SQL Server 2022 CU25, sys.sp_columns and s_cov.ODBCVER = @ODBCVer and s_cov.OBJECT_TYPE <> 'TT' and ( s_cov.SS_IS_SPARSE = 0 OR objectproperty ( s_cov.OBJECT_ID, 'tablehascolumnset' ) = 0 ) order by 17 -- Later in the same procedure (@column_name is null or s_cov.COLUMN_NAME like @column_name) and ( s_cov.SS_IS_SPARSE = 0 OR objectproperty ( s_cov.OBJECT_ID, 'tablehascolumnset' ) = 0 ) order by 2, 3, 17 1234567891011 | -- SQL Server 2022 CU25, sys.sp_columnsand s_cov.ODBCVER = @ODBCVerand s_cov.OBJECT_TYPE <> 'TT'and ( s_cov.SS_IS_SPARSE = 0 OR objectproperty ( s_cov.OBJECT_ID, 'tablehascolumnset' ) = 0 )order by 17 -- Later in the same procedure(@column_name is null or s_cov.COLUMN_NAME like @column_name) and( s_cov.SS_IS_SPARSE = 0 OR objectproperty ( s_cov.OBJECT_ID, 'tablehascolumnset' ) = 0 ) order by 2, 3, 17 ---|--- In SQL Server 2025 CU9, those same two paths add a type-code filter: Transact-SQL -- SQL Server 2025 CU9, sys.sp_columns and s_cov.ODBCVER = @ODBCVer and s_cov.OBJECT_TYPE <> 'TT' and ( s_cov.SS_IS_SPARSE = 0 OR objectproperty ( s_cov.OBJECT_ID, 'tablehascolumnset' ) = 0 ) and s_cov.DATA_TYPE_28 not in (-156,-157) -- exclude vector and json since these are new types order by 17 -- Later in the same procedure (@column_name is null or s_cov.COLUMN_NAME like @column_name) and ( s_cov.SS_IS_SPARSE = 0 OR objectproperty ( s_cov.OBJECT_ID, 'tablehascolumnset' ) = 0 ) and s_cov.DATA_TYPE_28 not in (-156,-157) -- exclude vector and json since these are new types order by 2, 3, 17 12345678910111213 | -- SQL Server 2025 CU9, sys.sp_columnsand s_cov.ODBCVER = @ODBCVerand s_cov.OBJECT_TYPE <> 'TT'and ( s_cov.SS_IS_SPARSE = 0 OR objectproperty ( s_cov.OBJECT_ID, 'tablehascolumnset' ) = 0 )and s_cov.DATA_TYPE_28 not in (-156,-157) -- exclude vector and json since these are new typesorder by 17 -- Later in the same procedure(@column_name is null or s_cov.COLUMN_NAME like @column_name) and( s_cov.SS_IS_SPARSE = 0 OR objectproperty ( s_cov.OBJECT_ID, 'tablehascolumnset' ) = 0 ) ands_cov.DATA_TYPE_28 not in (-156,-157) -- exclude vector and json since these are new types order by 2, 3, 17 ---|--- The sibling procedures that changed in the same family were `sys.sp_columns_100` and `sys.sp_columns_90`. I did not find changed `object_hash` rows for `sp_columns_ex`, `sp_columns_ex_100`, `sp_columns_ex_90`, or `sp_columns_managed` in the 2022-to-2025 diff. SQL Server 2025 also has a new `sys.sp_columns_170` definition in my inventory. The same filter appears in the two changed sibling procedures, with the version-specific type column: Transact-SQL -- SQL Server 2025 CU9, sys.sp_columns_100 and s_cov.DATA_TYPE not in (-156,-157) -- exclude vector and json since these are new types -- SQL Server 2025 CU9, sys.sp_columns_90 and s_cov.DATA_TYPE_90 not in (-156,-157) -- exclude vector and json since these are new types 12345 | -- SQL Server 2025 CU9, sys.sp_columns_100and s_cov.DATA_TYPE not in (-156,-157) -- exclude vector and json since these are new types -- SQL Server 2025 CU9, sys.sp_columns_90and s_cov.DATA_TYPE_90 not in (-156,-157) -- exclude vector and json since these are new types ---|--- The procedure comment is the only explanation I found for the filter. The code says, `exclude vector and json since these are new types`. The public `sp_columns` page says the procedure returns column information for objects that can be queried in the current environment. It also says the `sp_columns` catalog stored procedure is equivalent to ODBC `SQLColumns`.[1] I did not find a note on that page about excluding `json` or `vector` columns. Microsoft documents the SQL Server 2025 `json` data type and the SQL Server 2025 `vector` data type on separate pages.[2][3] ## The table I used I used a scratch database whose name starts with `undoc_spinoff_`, per the rules for these posts. The table has `int`, `nvarchar`, `json`, and `vector(3)` columns. Transact-SQL SET NOCOUNT ON; IF DB_ID(N'undoc_spinoff_spcolumns') IS NULL BEGIN CREATE DATABASE undoc_spinoff_spcolumns; END; GO USE undoc_spinoff_spcolumns; GO DROP TABLE IF EXISTS dbo.catalog_probe; GO CREATE TABLE dbo.catalog_probe ( probe_id int NOT NULL , description nvarchar(100) NULL , payload json NULL , embedding vector(3) NULL ); GO 12345678910111213141516171819202122 | SET NOCOUNT ON; IF DB_ID(N'undoc_spinoff_spcolumns') IS NULLBEGIN CREATE DATABASE undoc_spinoff_spcolumns;END;GO USE undoc_spinoff_spcolumns;GO DROP TABLE IF EXISTS dbo.catalog_probe;GO CREATE TABLE dbo.catalog_probe( probe_id int NOT NULL , description nvarchar(100) NULL , payload json NULL , embedding vector(3) NULL);GO ---|--- The `json` documentation shows this column syntax: `column_name JSON [ NOT NULL | NULL ]`. The `vector` documentation shows this syntax: `column_name VECTOR ( { <dimensions> } ) [ NOT NULL | NULL ]`, and its examples use `VECTOR(3)` for a three-dimension vector.[4][5] ## What each method returned I ran five discovery paths against that table. This is the result, reduced to the column names because that is the part a schema-discovery tool usually needs first. Method | Returned columns | Missing from returned list ---|---|--- `EXEC sys.sp_columns` | `probe_id`, `description` | `payload`, `embedding` ODBC `GetSchema('Columns')` with ODBC Driver 18.6.2.1 | `probe_id`, `description` | `payload`, `embedding` `INFORMATION_SCHEMA.COLUMNS` | `probe_id`, `description`, `payload`, `embedding` | None `sys.columns` joined to `sys.types` | `probe_id`, `description`, `payload`, `embedding` | None `sys.sp_describe_first_result_set` | `probe_id`, `description`, `payload`, `embedding` | None Here is the direct `sp_columns` call: Transact-SQL USE undoc_spinoff_spcolumns; GO EXEC sys.sp_columns @table_name = N'catalog_probe' , @table_owner = N'dbo'; 123456 | USE undoc_spinoff_spcolumns;GO EXEC sys.sp_columns @table_name = N'catalog_probe' , @table_owner = N'dbo'; ---|--- The output had two rows: COLUMN_NAME DATA_TYPE TYPE_NAME ORDINAL_POSITION ----------- --------- --------- ---------------- probe_id 4 int 1 description -9 nvarchar 2 1234 | COLUMN_NAME DATA_TYPE TYPE_NAME ORDINAL_POSITION----------- --------- --------- ----------------probe_id 4 int 1description -9 nvarchar 2 ---|--- I also called `sp_columns` with `@ODBCVer = 3`, and it returned the same two rows. That matches the procedure text: both main result queries have the new `not in (-156,-157)` predicate. The information schema view returned all four rows: Transact-SQL SELECT ORDINAL_POSITION, COLUMN_NAME, DATA_TYPE, IS_NULLABLE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = N'dbo' AND TABLE_NAME = N'catalog_probe' ORDER BY ORDINAL_POSITION; 12345 | SELECT ORDINAL_POSITION, COLUMN_NAME, DATA_TYPE, IS_NULLABLEFROM INFORMATION_SCHEMA.COLUMNSWHERE TABLE_SCHEMA = N'dbo' AND TABLE_NAME = N'catalog_probe'ORDER BY ORDINAL_POSITION; ---|--- ORDINAL_POSITION COLUMN_NAME DATA_TYPE IS_NULLABLE ---------------- ----------- --------- ----------- 1 probe_id int NO 2 description nvarchar YES 3 payload json YES 4 embedding vector YES 123456 | ORDINAL_POSITION COLUMN_NAME DATA_TYPE IS_NULLABLE---------------- ----------- --------- -----------1 probe_id int NO2 description nvarchar YES3 payload json YES4 embedding vector YES ---|--- `sys.columns` also returned all four rows, and it gave extra vector metadata: Transact-SQL SELECT c.column_id , c.name AS column_name , t.name AS type_name , c.system_type_id , c.user_type_id , c.max_length , c.vector_dimensions , c.vector_base_type_desc FROM sys.columns AS c JOIN sys.types AS t ON c.user_type_id = t.user_type_id WHERE c.object_id = OBJECT_ID(N'dbo.catalog_probe') ORDER BY c.column_id; 1234567891011121314 | SELECT c.column_id , c.name AS column_name , t.name AS type_name , c.system_type_id , c.user_type_id , c.max_length , c.vector_dimensions , c.vector_base_type_descFROM sys.columns AS cJOIN sys.types AS t ON c.user_type_id = t.user_type_idWHERE c.object_id = OBJECT_ID(N'dbo.catalog_probe')ORDER BY c.column_id; ---|--- column_id column_name type_name system_type_id user_type_id max_length vector_dimensions vector_base_type_desc --------- ----------- --------- -------------- ------------ ---------- ----------------- --------------------- 1 probe_id int 56 56 4 NULL NULL 2 description nvarchar 231 231 200 NULL NULL 3 payload json 244 244 -1 NULL NULL 4 embedding vector 165 255 20 3 float32 123456 | column_id column_name type_name system_type_id user_type_id max_length vector_dimensions vector_base_type_desc--------- ----------- --------- -------------- ------------ ---------- ----------------- ---------------------1 probe_id int 56 56 4 NULL NULL2 description nvarchar 231 231 200 NULL NULL3 payload json 244 244 -1 NULL NULL4 embedding vector 165 255 20 3 float32 ---|--- The `sys.columns` page says it returns one row for each column of an object that has columns. The current page also documents `vector_dimensions`, `vector_base_type`, and `vector_base_type_desc` for SQL Server 2025 and later.[6] ## What ODBC saw I tested the client catalog path with `System.Data.Odbc` and Microsoft ODBC Driver 18 for SQL Server. The 64-bit driver file was `msodbcsql18.dll`, product version 18.6.2.1. I opened a trusted local connection to the scratch database and called `GetSchema('Columns')`, then filtered the returned table to `dbo.catalog_probe`. PowerShell $driver = 'ODBC Driver 18 for SQL Server' $cs = "Driver={$driver};Server=.\SQL2025;Database=undoc_spinoff_spcolumns;Trusted_Connection=Yes;TrustServerCertificate=Yes;Encrypt=Optional;" $conn = [System.Data.Odbc.OdbcConnection]::new($cs) $conn.Open() $schema = $conn.GetSchema('Columns') $schema | Where-Object { $_.TABLE_NAME -eq 'catalog_probe' } | Sort-Object { [int]$_.ORDINAL_POSITION } | Select-Object TABLE_CAT, TABLE_SCHEM, TABLE_NAME, COLUMN_NAME, DATA_TYPE, TYPE_NAME, ORDINAL_POSITION, IS_NULLABLE $conn.Close() 123456789 | $driver = 'ODBC Driver 18 for SQL Server'$cs = "Driver={$driver};Server=.\SQL2025;Database=undoc_spinoff_spcolumns;Trusted_Connection=Yes;TrustServerCertificate=Yes;Encrypt=Optional;"$conn = [System.Data.Odbc.OdbcConnection]::new($cs)$conn.Open()$schema = $conn.GetSchema('Columns')$schema | Where-Object { $_.TABLE_NAME -eq 'catalog_probe' } | Sort-Object { [int]$_.ORDINAL_POSITION } | Select-Object TABLE_CAT, TABLE_SCHEM, TABLE_NAME, COLUMN_NAME, DATA_TYPE, TYPE_NAME, ORDINAL_POSITION, IS_NULLABLE$conn.Close() ---|--- I sanitized the server name in the sample above. The returned rows matched `sp_columns`: COLUMN_NAME DATA_TYPE TYPE_NAME ORDINAL_POSITION IS_NULLABLE ----------- --------- --------- ---------------- ----------- probe_id 4 int 1 NO description -9 nvarchar 2 YES 1234 | COLUMN_NAME DATA_TYPE TYPE_NAME ORDINAL_POSITION IS_NULLABLE----------- --------- --------- ---------------- -----------probe_id 4 int 1 NOdescription -9 nvarchar 2 YES ---|--- The ODBC `SQLColumns` documentation says the function returns the list of column names in specified tables, as a result set. It also says `SQLColumns` might not return all columns.[7] In this test, a client catalog call did not see the two new-type columns. ## One alternative has its own type-mapping caveat `sp_describe_first_result_set` answered a different question. It described the first result set of a query, not the stored table definition. It returned all four selected columns: Transact-SQL EXEC sys.sp_describe_first_result_set @tsql = N'SELECT probe_id, description, payload, embedding FROM dbo.catalog_probe;', @params = NULL, @browse_information_mode = 0; 1234 | EXEC sys.sp_describe_first_result_set @tsql = N'SELECT probe_id, description, payload, embedding FROM dbo.catalog_probe;', @params = NULL, @browse_information_mode = 0; ---|--- For the two new types, it returned `varchar(max)` with a UTF-8 collation: name system_type_id system_type_name max_length collation_name ----------- -------------- ---------------- ---------- -------------------------- payload 167 varchar(max) -1 Latin1_General_100_BIN2_UTF8 embedding 167 varchar(max) -1 Latin1_General_100_BIN2_UTF8 1234 | name system_type_id system_type_name max_length collation_name----------- -------------- ---------------- ---------- --------------------------payload 167 varchar(max) -1 Latin1_General_100_BIN2_UTF8embedding 167 varchar(max) -1 Latin1_General_100_BIN2_UTF8 ---|--- Microsoft documents this limitation for `json`. The `json` data type page says `sp_describe_first_result_set` doesn’t correctly return the `json` data type, and many clients and drivers see `varchar` or `nvarchar` instead.[8] The vector page also says older clients can work with vector data as a JSON array exposed as `varchar(max)`.[9] ## What I would use instead If the job is table schema discovery, I would start with `sys.columns` joined to `sys.types`. It returned all four columns, and it exposed vector-specific metadata that the other tested paths did not return. `INFORMATION_SCHEMA.COLUMNS` returned all four column names too, but its own Learn page warns that information schema views only represent a subset of object metadata, and says the reliable way to find an object’s schema is `sys.objects`.[10] If the job is result-set discovery for a query that a tool is about to run, `sp_describe_first_result_set` can still be useful. It returned all four projected column names in this test. I would not use it as proof of the base table type for `json` or `vector`, because the `json` page documents a type-mapping limitation and the vector compatibility story can also expose data as `varchar(max)`. If a tool depends on `sp_columns` or an ODBC catalog call, the upgrade test is straightforward: create a table with `json` and `vector` columns in a scratch database, then compare the tool’s discovered schema with `sys.columns`. If catalog results omit `payload` or `embedding`, compare them with `sys.columns` before concluding that the table definition is incorrect. Have you seen a schema-discovery tool miss SQL Server 2025 columns after an upgrade? Tell me on Bluesky or LinkedIn, and I’ll update the notes. ## References 1. sys.sp_columns (Transact-SQL) - Microsoft Learn. Documents the procedure, its result set, and the statement that `sp_columns` is equivalent to ODBC `SQLColumns`. ↩ 2. JSON Data Type - Microsoft Learn. Documents the SQL Server 2025 `json` data type. ↩ 3. Vector Data Type - Microsoft Learn. Documents the SQL Server 2025 `vector` data type. ↩ 4. JSON Data Type - Microsoft Learn. Documents `json` column syntax. ↩ 5. Vector Data Type - Microsoft Learn. Documents `vector(3)` column syntax. ↩ 6. sys.columns (Transact-SQL) - Microsoft Learn. Documents that `sys.columns` returns one row for each column of an object and includes SQL Server 2025 vector metadata columns. ↩ 7. SQLColumns Function - Microsoft Learn. Documents the ODBC catalog function and notes that `SQLColumns` might not return all columns. ↩ 8. JSON Data Type - Microsoft Learn. Documents the `sp_describe_first_result_set` type-mapping limitation for `json`. ↩ 9. Vector Data Type - Microsoft Learn. Documents client compatibility for vector data. ↩ 10. COLUMNS (Transact-SQL) - Microsoft Learn. Documents `INFORMATION_SCHEMA.COLUMNS` and its metadata-subset warning. ↩ ### Share this: * * Share on Bluesky (Opens in new window) Bluesky * Share on Mastodon (Opens in new window) Mastodon * Email a link to a friend (Opens in new window) Email * More * * Share on Threads (Opens in new window) Threads * Share on Reddit (Opens in new window) Reddit * * Share on WhatsApp (Opens in new window) WhatsApp * Print (Opens in new window) Print * ### _Related_
www.sqlserverscience.com
October 25, 2026 at 2:19 PM
ODBC: Obviously Dragons Being Cute

#dragon
October 23, 2026 at 4:40 AM
📦 airmoi/yii2-fmconnector 3.0.1

FileMaker ODBC and PHP-API integration

🔗 https://github.com/airmoi/yii2-fmpconnector
October 23, 2026 at 2:25 PM
The answer is always "The last guy was using it to download porn." ODBC grayed out - "The last guy was using it to download porn", Macros blocked - "The last guy was using it to download porn", the screensaver is set to 3D pipes and won't switch off - "The last guy was using it to download porn."
October 23, 2026 at 7:42 PM
pos claro que se puede, vía un dsn odbc, ¿quién lo usaría? nadie, pero poder se puede
October 22, 2026 at 1:23 AM
Y si sabé pa que preguntá.

Creo que la última vez que usé un dsn de odbc fue hace 20 años.
October 22, 2026 at 1:27 AM