• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
D
D
des1roer2015-09-18 07:33:35
PostgreSQL
des1roer, 2015-09-18 07:33:35

Postgres default value with condition?

Is it possible to enter a condition in default something like
if a>500 then 1 else 0

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Report
S
Sergey, 2015-09-18
@des1roer

It is hardly possible, use triggers

Similar questions
Z
Zakhar2020-08-09 09:48:01
How to connect a database to a discord bot, and how to use it (Host HEROKU) - discord.py PostgreSQL? 2Reply
N
nluparev2018-09-09 12:37:55
Why is it impossible to create a PostgreSQL database for ru_RU.UTF-8? 1Reply
P
pgamesorg2021-11-19 21:42:12
How to display the value that repeats the most? 3Reply
7
700Hp2021-11-20 03:30:22
Is it possible to write data to postgres temporarily? 2Reply
A
Alexander2021-11-21 18:07:33
How to implement a product with an image that should appear after paying for Postgresql? 1Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners