0102030405060708091011121314
Ubuntu 20.04 PSQL sudo -i -u postgrespsql pg_dump database名 > backup_file名 psql dbname < infile pg_restore -U "ユーザー名" -C -d "DB名" db.dump
月初SELECT DATE_TRUNC('month', now())月末SELECT DATE_TRUNC('month', now()) + '1 month' +'-1 Day' PostgreSQLで月を加減するには?select now()::date + interval '1month'; 今日の1年後select now()::date + interval '1year';今日の1か月後select now…
アプリケーションのデータベース接続が失われました:・ 接続がアイドル状態だったために、強制的に切断させられた・ アプリケーションサーバか、データベースサーバが再起動された・ ユーザのセッションがタイムアウトになった新しいセッションを確立します…
---------------------------◇xx_Menu---------------------------[FireDAC][Phys][PG][libpq] could not connect to server: Connection refused (0x0000274D/10061)Is the server running on host "192.168.24.57" and acceptingTCP/IP connections on por…
The following applications are using files that need to be updated by Setup.It is recommendes that you allow Setup to automatically dose these applications.After the installation has completed,Setup will attempt to restat the applications.…
トリガーで在庫管理 for MS SQLserver2019 (エラー未解消です) トリガーで在庫管理の仕様として仕様伝票明細データが追加されたら、商品テープルの在庫を減らし、最終更新日を変更する。伝票明細データが削除されたら、商品テープルの在庫を増やし、最終更新…
InterBase2020 InterBase 2020IBConsole 14.0.0.469 (64-Bit Edition)で実行以下、手順とSQL文など トリガーで在庫管理の仕様として仕様伝票明細データが追加されたら、商品テープルの在庫を減らし、最終更新日を変更する。伝票明細データが削除されたら、商…
interbase 2020 Developer Edition(無料版)をインストール後、IBConsoleを使用して、insert でエラー、attempted update during read-only transactionエラー回避の手順が発見しずらかったので、こちらで実行したメモ。間違いがあるようでしたら、ご指摘くだ…
0102030405060708091011121314151617181920IBConsol0102030405 06070809101112
MariaDB 10.6.1Beta HeidiSQL 11.2.0.6213 で実行以下、手順とSQL文など トリガーで在庫管理の仕様として仕様伝票明細データが追加されたら、商品テープルの在庫を減らし、最終更新日を変更する。伝票明細データが削除されたら、商品テープルの在庫を増やし…
MySQL 8.0.25 MySQLWorkBench 8.0.25で実行以下、手順とSQL文など トリガーで在庫管理の仕様として仕様伝票明細データが追加されたら、商品テープルの在庫を減らし、最終更新日を変更する。伝票明細データが削除されたら、商品テープルの在庫を増やし、最終…
PostgreSQL バージョン 13.2pgAdmin4 バージョン 5.3で実行以下、手順とSQL文など トリガーで在庫管理の仕様として仕様伝票明細データが追加されたら、商品テープルの在庫を減らし、最終更新日を変更する。伝票明細データが削除されたら、商品テープルの在庫…
SQLite3 / DB Browser for SQLiteで実行SQLite バージョン 3.35.5.DB Browser for SQLite バージョン 3.12.2以下、手順とSQL文など トリガーで在庫管理の仕様として仕様伝票明細データが追加されたら、商品テープルの在庫を減らし、最終更新日を変更する。伝…
.\$(Platform)\$(Config) F2048 正しくないユニットファイル
VSCODEZIPを選択 VSCodeの拡張機能で、「Markdown Preview Enhanced」「Graphviz Markdown Preview」をインストール https://plantuml.com/ja/
pgAdmin4 4.29(sqlite3.IntegrityError) UNIQUE constraint failed: database.id, database.server[SQL: INSERT INTO "database" (id, schema_res, server) VALUES (?, ?, ?)][parameters: (16384, '', 19)](Background on this error at: http://sqlalche.m…
Ubuntu 20.04 LTSDeskTopでChromeAnyDESKが使える(Windows←→Ubuntu)
sudo apt install gpaint
https://www.postgresql.org/download/ Linuxを押して https://www.postgresql.org/download/linux/ubuntu/ sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'wget --qui…
ip address show ip a hostname -I curl ifconfig.me
Ubuntu20.04にChromeをインストールするhttps://qiita.com/yamagarsan/items/44609a619d50f7eac7f7
Authelia のセットアップに戻りますsudo ./setup.shchecking for pre-requisitesPulling Authelia docker image for setupWhat root domain would you like to protect? (default/no selection is example.com): devemp.net
Ubuntu 20.04 LTS + Authelia 基本的なドキュメントhttps://www.authelia.com/docs/getting-started.html ローカルのデモ環境が動作することを確認します。 以下の名前でアクセスできるように設定します。Autheliaコンテナ : https://authelia.devemp.net/t…
Ubuntu 20.04 LTSインストールガイド【スクリーンショットつき解説】https://linuxfan.info/ubuntu-20-04-install-guideUbuntu 20.04 LTSのインストール直後にやっておきたいことまとめhttps://linuxfan.info/ubuntu-20-04-basic-settings Ubuntu Desktop 20…
---------------------------Xdatafiredacsqlclient---------------------------Could not perform WinHttp operation. Error: (12002) The request has timed out.---------------------------OK --------------------------- ---------------------------…
010203 アイコンが作成されます04 起動05 終了はclose06 yes/noほ選択
restore で エラー 'c:\program files\postgresql\13\pgadmin 4\runtime\pg_restore.exe' file not found. please correct the binary path in the preferences dialog File→Preferences→Path→Binary Path C:\Program Files\PostgreSQL\13\bin
Tools for Native Modules some npm modules need to be compiled from C/C++ when installing.if you want to be able to install such modules, some tools (Python and Visual Studio Build Tools) need to be installed. Automaticaly install the neces…