About 1,850,000 results
Open links in new tab
  1. What is the equivalent for datatype LONG in SQL Server?

    Feb 24, 2021 · In a nutshell, it boils down to whether you define your standard "integer" type as a 16-bit or as a 32-bit type. The value shown as "source type" your screenshot is probably from the second column in my table above.

  2. How to select a LONG column in Case Select Query

    Jan 8, 2019 · As one possible workaround for your scenario, you could create a function that queries the LONG value into a local variable and then returns it as a CLOB, e.g.: p_media_id fnd_documents_long_text.media_id%type.

  3. sql - What is the best way to search the Long datatype within an Oracle

    First convert LONG type column to CLOB type then use LIKE condition, for example: SELECT to_lob(long_col) lob_col FROM tbl_long; Don't use LONGs, use CLOB instead. You can index and search CLOBs like VARCHAR2. Additionally, querying with a leading wildcard (%) will ALWAYS result in a full-table-scan. Look into Oracle Text indexes instead.

  4. SQL Data Types for MySQL, SQL Server, and MS Access - W3Schools

    In MySQL there are three main data types: string, numeric, and date and time. A FIXED length string (can contain letters, numbers, and special characters). The size parameter specifies the column length in characters - can be from 0 to 255. Default is 1. A VARIABLE length string (can contain letters, numbers, and special characters).

  5. SQL Data Types (With Examples) - Programiz

    In SQL, each column has a data type that defines the kind of data that a column can store. In this tutorial, you will learn about Data Types in SQL with the help of examples. Learn to code solving problems and writing code with our hands-on SQL course.

  6. how to select and insert a long type column - Ask TOM - Oracle

    Feb 19, 2013 · In Oracle8i, release 8.1.6 which you have, the correct datatype to use is a CLOB. Longs and Long Raws are depricated types. A clob / blob has none of these limitations. All of your longs/long raws can be converted into clobs/blobs using the TO_LOB () builtin statement. Is this answer out of date? If it is, please let us know via a Comment.

  7. SQL Reference - LONG

    LONG is a datatype in SQL that's used to store variable length character strings. It can store up to two gigabytes of character data in a database. However, LONG columns have many restrictions and are used less frequently compared to LOBs (Large Objects). Oracle recommends using LOB or VARCHAR2 types instead of LONG for new development work.

  8. Data types (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 6, 2024 · In the SQL Server Database Engine, each column, local variable, expression, and parameter has a related data type. A data type is an attribute that specifies the type of data that the object can hold: integer data, character data, monetary data, date and time data, binary strings, and so on.

  9. SQL Data Types - SQL Tutorial

    In this tutorial, we will cover the most commonly used SQL data types. Character string data type # The character string data type represents the character data type including fixed-length and varying-length character types. Fixed-length character data type # The fixed-length character data type stores fixed-length character strings.

  10. SQL Data Types - Medium

    Jan 28, 2025 · CHAR: Fixed-length text, often used for short codes. VARCHAR: Variable-length text, commonly used for names, addresses, and similar fields. TEXT: Ideal for long text fields, such as blog content...

Refresh