About 4,940,000 results
Open links in new tab
  1. How should I model a field that can contain both numeric and string ...

    Sep 9, 2015 · A good way to get the query support you want is to have two columns: numvalue that stores a number and textvalue that stores characters. They should be nullable or at least …

  2. Theory of storing a number and text in same SQL field

    Apr 4, 2009 · Have both a varchar column for the text, and an int column for the number. Use a view to hide the differences, and to control the sorting if necessary. You can coalesce the two …

  3. sql - What data type should I use for both letters and numbers in …

    It will have to be a text data type if you intend to include letters. You have no choice in most databases. You need to use a string. I would recommend varchar() of some sort. Some …

  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 …

  5. 6 Ways to Concatenate a String and a Number in SQL Server

    This article presents six ways to concatenate strings with numbers using T-SQL. The CONCAT() Function The most obvious (and possibly the best) way to concatenate a string and a number …

  6. Cast a number to a string using SQL - Esri Support

    Apr 25, 2020 · This article provides a sample of how to cast the number field to a string for a SQL operation. This code casts the number field "SQLNUM" as a text field, which can then be used …

  7. Access join...text field and number field. - Microsoft Community

    The join field is an identity field in SQL (number) but in Sharepoint the field is formatted as single line text (because t hey didn't like the comma). Unfortunately this causes a data missmatch in …

  8. mixing numeric and text data in a single column

    Jan 26, 2011 · I'm perfectly ok with storing a number in a text field if its not goingto be used in calculations, not the case here. You can break up queries like that by doing the IsNumeric …

  9. How to load numeric and string data into SQL table

    May 12, 2021 · You have to define the source and target colums as string / varchar /D_STR data type. You may use SSIS package to load the data into SQL table. The Data Conversion …

  10. Add Space between text and number in same field

    Oct 29, 2010 · I need to add a space between the text and number. Sometimes there is not a text/number in the field and there isn't a fixed text/number length. Does anyone know of a way …

  11. Some results have been removed
Refresh