PostgreSQL → DDL SQL Commands Cheat Sheet
1. CREATE TABLE
- Purpose : Creates a new table in the database.
-
Syntax
:
- CREATE TABLE table_name (
- column1 datatype,
- column2 datatype,
- column3 datatype,
- ...
- );
-
Example
:
- CREATE TABLE Employees (
- EmployeeID int,
- FirstName varchar(255),
- LastName varchar(255),
- BirthDate date …
Qt → Installing the QIBASE (Firebird) Qt 6.2.1 driver on openSUSE Tumbleweed
Another reinstallation. I decided to install Qt 6 already.
The firebird components are installed as follows
Add to .bashrc
- # custom PATH Qt 6
- export PATH="$PATH:~/Qt/6.2.1/gcc_64/bin"
check if cmake is installed
and then as in the documentation https://doc-snapshots.qt.io/qt6-dev/sql-driver.html , only …
Qt → Qt/C++ - Lesson 053. Building IBASE SQL driver Qt 5.7 on openSUSE Leap 42.1
FireBird, SQL, Leap, Qt, IBASE, openSUSE
Installing Qt 5.7 on openSUSE Leap 42.1
Download the latest version of Qt in Linux:
- wget http://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run
Making the file executable
- chmod +x qt-unified-linux-x64-online.run
Install gcc, make, and other necessary libraries:
- sudo zypper install --type pattern devel_basis
Next, install the …
Qt → Qt/C++ - Lesson 029. Picture in database in Qt – Saving and Loading
SQL, изображение, QPixmap, база данных, Qt, BLOB, SQLite
Images in the database can be stored in BLOB format ( Binary Large Object ), that is an array of binary data format. BLOB format is also suitable for storing audio and video data in databases.
Consider the saving and …
Qt → Qt/C++ - Lesson 040. Types of data in different Databases in Qt
Qt, SQL, INTEGER, типы данных, DECIMAL, MS SQL
In the process of application development for Qt, which will have to work with databases, you must take into account the nuance that Qt driver target Databases may not support all types of data that you can lay in your …
QML → QML - Lesson 011. Data transmission from QML QSqlQueryModel in the TableView
QSqlQueryModel, Qt, SQL, TableView, DataBase, QML
To represent database tables in the development TableView using QML You can use a class inherited from QSqlQueryModel . To do this, in the inherited class to define a method that would establish the respective roles of the table columns …
- Last comments
- AKApril 1, 2025, 11:41 a.m.Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
- VPMarch 9, 2025, 4:14 p.m.Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
- ИМNov. 22, 2024, 9:51 p.m.Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
- Now discuss on the forum
- МАApril 1, 2025, 4:21 p.m.0ff763fe-4e50-455d-a3a6-5699c243b1a5_17_44_22_1.xml
- fFeb. 15, 2025, 1:46 p.m.Подскажите, пожалуйста! Как данный класс можно дополнить, чтобы созданные объекты можно было перемещать мышкой по сцене?
- Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
- Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…