About 2,120,000 results
Open links in new tab
  1. Can I create new table on SQL without specifying the datatype?

    May 9, 2021 · You could define the table with a specific type such as a string and change the type later using alter table. You could define the table with a single primary key column and add …

  2. SQL CREATE TABLE Statement - W3Schools

    The column parameters specify the names of the columns of the table. The datatype parameter specifies the type of data the column can hold (e.g. varchar, integer, date, etc.). Tip: For an …

  3. Microsoft SQL Server Knowledge Bank: Columns Without Data Type

    Nov 2, 2012 · The columns without data type are not possible. If we look at the above statement carefully it says CREATE TABLE statement… some kind of syntax. It is taking about …

  4. CREATE TABLE (Transact-SQL) - SQL Server | Microsoft Learn

    Simple CREATE TABLE syntax (common if not using options): { database_name.schema_name.table_name | schema_name.table_name | table_name } ( { …

  5. Declare a table variable without column definitions?

    Nov 10, 2010 · Is there a way, in SQL Server, to declare a table variable without knowing the table definitions? Exempli gratia: DECLARE @Results TABLE INSERT INTO @Results EXEC …

  6. How do I create a table without data type in oracle

    May 30, 2013 · Is it possible to create a table having column but column without datatype? Meaning is there any way to do it indirectly? If yes, then can you please give me one example.

  7. sql - Modifying a column type with data, without deleting the data ...

    May 18, 2012 · According to the PostgreSQL docs, you can simply alter table. ALTER TABLE products ALTER COLUMN price TYPE numeric(10,2); But here's the thing. This will succeed …

  8. sql server 2005 - Create a table without columns - Stack Overflow

    May 17, 2010 · in postgresql you can indeed create tables without columns. But don't ask me why. This seems to be supported by this SQL Server 2005 error message: CREATE TABLE …

  9. How to Choose Data Types for SQL Table Columns - LearnSQL.com

    Nov 29, 2022 · The rule is simple: any number without decimals is a valid value to be stored as an INTEGER data type. Let’s include the column valid_days as the INTEGER data type: CREATE …

  10. CREATE TABLE [USING] - Databricks

    Mar 12, 2025 · Defines a managed or external table, optionally using a data source. table_name. [ table_specification ] [ USING data_source ] [ table_clauses ] [ AS query ] } ( { column_identifier …

  11. Some results have been removed
Refresh