About 2,150,000 results
Open links in new tab
  1. String Data Types - MariaDB Knowledge Base

    Set, or string object that can have 0 or more values chosen from a list of values. Data type intended for the storage of UUID data. Storage requirements for the various data types. MariaDB supports the following character sets and collations. Setting character set …

  2. declare - Defining variable in Mariadb - Stack Overflow

    Nov 18, 2021 · I tried a lot of ways to use user defined variables in MariaDB version 10.3.22. After failing to use it in my application, I wanted to try with a simple example: DECLARE @EmpName1 NVARCHAR(50) SET @EmpName1 = 'Ali' PRINT @EmpName1 gives Unrecognized statement type. (near "DECLARE" at position 0)

  3. DECLARE Variable - MariaDB Knowledge Base

    DECLARE var_name [, var_name] ... [[ROW] TYPE OF]] type [DEFAULT value] This statement is used to declare local variables within stored programs. To provide a default value for the variable, include a DEFAULT clause. The value can be specified as an expression (even subqueries are permitted); it need not be a constant.

  4. Data Types - MariaDB Knowledge Base

    DEC See DECIMAL. EXAMPLES CREATE TABLE dec_example ( example DEC ); SHOW CRE... String Data Types

  5. sql - How to declare a variable in MySQL? - Stack Overflow

    Nov 22, 2016 · User variables can be assigned a value from a limited set of data types: integer, decimal, floating-point, binary or nonbinary string, or NULL value. User-defined variables are session-specific. That is, a user variable defined by one …

  6. Declaring Variable in MariaDB - GeeksforGeeks

    Feb 13, 2024 · A variable can hold various types of data such as integers, strings, dates and more complex data types like arrays or JSON objects. Variables in MariaDB are typically prefixed with the @symbol to define them from other identifiers like column or table names.

  7. sql - Use variables in MariaDB/MySQL script - Stack Overflow

    Apr 7, 2022 · To declare a local variable, you can use the DECLARE statement or use it as a parameter within a STORED PROCEDURE statement. When declaring a local variable, you can optionally assign a default value to it.

  8. mariadb - What is the correct way to declare and use MarisDB …

    Apr 5, 2021 · I'm using MariaDB version 10.3.28-MariaDB-cll-lve This site https://mariadb.com/kb/en/user-defined-variables/ says User-defined variables names must be preceded by a single at character (@) That'...

  9. Data Types in MariaDB - W3schools

    MariaDB supports a lot of the standard data types of SQL. These data types are divided into various categories, but most of them fall into three main categories viz. Numeric data type, date and time data type, large object data type and string data type.

  10. MariaDB: Declaring Variables - TechOnTheNet

    This MariaDB tutorial explains how to declare variables in MariaDB with syntax and examples. In MariaDB, a variable allows a programmer to store data temporarily during the execution of code.

Refresh