About 1,980,000 results
Open links in new tab
  1. How to create a table in a particular database? - Stack Overflow

    Suppose the database name schoolmanagementsystem, table name student, and table columns name are student_id, student_first_name, and student_last_name. So you can create a table …

  2. How to add a column with a default value to an existing table in …

    Jun 21, 2016 · ALTER TABLE [dbo.table_name] ADD [Column_Name] BIT NOT NULL Default ( 0 ) Here is another way to add a column to an existing database table with a default value. A …

  3. CREATE TABLE IF NOT EXISTS equivalent in SQL Server

    Jun 29, 2011 · CREATE TABLE IF NOT EXISTS works on mysql but fails with SQL Server 2008 R2. What is the equivalent syntax?

  4. sql - Oracle create table using with clause - Stack Overflow

    Nov 2, 2016 · Can I create a table from a query formed using with clause?

  5. How to create temp table using Create statement in SQL Server?

    Mar 26, 2017 · An equivalent of this is , a declared table variable. This has a little less "functions" (like indexes etc) and is also only used for the current session. The is one that is the same as …

  6. How to create a table using "With" clause in SQL

    Mar 20, 2017 · 14 This is not valid syntax for sql server. you can either create a table using CREATE TABLE and specifying the column names and types, or you can do a SELECT INTO …

  7. SQL Server tables: what is the difference between @, # and

    Feb 8, 2010 · CREATE TABLE ##t Creates a temporary table visible to other connections. But the table is dropped when the creating connection is ended.

  8. T-SQL: How can you create a table with SELECT? - Stack Overflow

    Jul 21, 2016 · In oracle, you can issue: create table foo as select * from bar; What is the equivalent T-SQL statement?

  9. Create table (structure) from existing table - Stack Overflow

    Mar 24, 2010 · If you want to copy the entire structure, you need to generate a Create Script of the table. You can use that script to create a new table with the same structure. You can then …

  10. Create a table (SQL in MS Access) - Stack Overflow

    Nov 21, 2024 · Also FWIW most MSAccess developers do not create table with sql scripts. Just use the MSAccess table designer - its very easy to work with and a I think is still a little better …