2021年1月26日星期二

Reverse a column in postgres

So I have a table in SQL server that is defined as such create table test(value varchar(200), Reverse(value) as valueReverse); now when I insert something in this table lets say I insert the string hello, it will store the value in the table as such.

value | valueReverse

hello | olleh

I am trying to convert the table into PostgreSQL however the reverse() function is not working and it's giving me errors. What is the correct way to create this table in postgres?

https://stackoverflow.com/questions/65913162/reverse-a-column-in-postgres January 27, 2021 at 01:06PM

没有评论:

发表评论