Babelfish for Aurora PostgreSQL query cheatsheet

18 March,2022 by Rambler

Babelfish for Aurora PostgreSQL supports a TDS port and a postgreSQL port.   

TDS port use a sql server client e.g SSMS , sqlcmd

postgeSQL port use a postgreSQL client e.g pgAdmin

 

--TDS port: Current Babelfish version

SELECT CAST(serverproperty('babelfishversion') AS VARCHAR)

--TDS port : Aurora PostgreSQL cluster version

SELECT aurora_version() AS aurora_version;

--TDS port: the compatible SQL Server version

SELECT @@VERSION AS version;

--postgreSQL port :  current aurora version, postgresql version, compatibility , babelefish version

SELECT
aurora_version() as aurora_version,
version() as postgresql_version,
sys.version() as compatibility_SQL_Server_version,
sys.SERVERPROPERTY('BabelfishVersion') as Babelfish_Version

 

 


Author: Rambler (http://www.dba-ninja.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on Babelfish for Aurora PostgreSQL query cheatsheet


dba-ninja.com