---
title: "SQL Server Command Line Tool"
description: "This example illustrates how a connection is established from SQL Server Command Line Tool to an Invantive UniversalSQL database on Invantive Cloud."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-universalsql-server/examples/sql-server-command-line-tool
original: https://documentation.invantive.eu/en/docs/invantive-universalsql-server/examples/sql-server-command-line-tool
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

This example illustrates how a connection is established from SQL Server Command Line Tool to an Invantive UniversalSQL database on Invantive Cloud.

Invantive UniversalSQL Server has been tested with SQL Server Command Line Tool 15.0.

## Prerequisites
Ensure the following prerequisites are met:
- A database has been registered on Invantive Cloud.
- The IP address from which SQL Server Command Line Tool connects is whitelisted.

## Login
The SQL Server compatible server name is entered on the command line, together with the Invantive Cloud credentials:
```
sqlcmd -S acme.database.invantive.com -U john.doe -P secret -l 30 -Q "select 1"
```

## Simple Query
The table `Projects` in the data container `dmy` (Sample database) can be queried using standard Invantive UniversalSQL syntax:
![JetBrains DataGrip running "select *" on the table "projects", with the result rows in the grid.](/img/188bf30b34daaa2c13764a0d79e324557d68a26e7a422e4946a67f0d080d49fa/2035x1078.png)

## Non-SQL Server Syntax
The use of the pipe symbols instead of `concat` illustrates that all Invantive UniversalSQL syntax is available, not only Microsoft SQL Server compatible elements:
![JetBrains DataGrip running a query that concatenates columns with pipe symbols, with 11 result rows.](/img/8babb20bfb8f26c0e041e7b6f5d77a91dfa1ad9a05d9da614db369cbbc7a482a/1561x1072.png)

## System Databases
The system databases provide access to the service providers, such as `DataDictionary`:
![JetBrains DataGrip running a count query on "SystemTables@DataDictionary", returning one row.](/img/52d8ee971be94c22205b95e38ccb97d0f82acc7a64e29c42540d2d48a329d93b/1560x876.png)

## Limitations
As of release 26.0, the following are known limitations when used with JetBrains DataGrip:
- No elements in Database Explorer (issue 6587).

## Release Notes

- [Invantive UniversalSQL Server](/en/release-notes/products/invantive-universalsql-server)
  - [26.0 to 27.0](/en/release-notes/products/invantive-universalsql-server?step=26.0-to-27.0)
  - [25.0 to 26.0](/en/release-notes/products/invantive-universalsql-server?step=25.0-to-26.0)

