About 257,000 results
Open links in new tab
  1. How to create temp table using Create statement in SQL Server?

    Mar 26, 2017 · How to create a temp table similarly to creating a normal table? Example: CREATE TABLE table_name ( column1 datatype, column2 datatype, column3 datatype, ....

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

    Feb 8, 2010 · 5 I would focus on the differences between #table and @table. ##table is a global temporary table and for the record in over 10 years of using SQL Server I have yet to come …

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

    Mar 20, 2017 · 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 statement …

  4. sql - How to create relationships in MySQL - Stack Overflow

    If you try to delete an entry in one table that has dependents in another, the delete will fail. If you are using a table type in MySQL, such as MyISAM, that doesn't support foreign keys, you don't …

  5. sql server - Creating one Table from three different Tables - Stack ...

    I have three tables in SQL and I need them to all be combined into one. I need all the fields from all the tables in the one table. All the tables contain the same fields just from three different ...

  6. Creating a table using SQL In Access - Stack Overflow

    Oct 26, 2014 · So I am trying to create this table in access SQl. I know the basics of creating tables. However I am stuck with extra details to each field. HEre is what I need to create: How …

  7. T-SQL How to create tables dynamically in stored procedures?

    Jun 4, 2012 · UPDATE: Based on your comment below you are actually trying to create tables in a stored procedure. For this you would need to use dynamic SQL. Basically dynamic SQL …

  8. Check if table exists and if it doesn't exist, create it in SQL Server ...

    Aug 23, 2019 · I am writing a Stored procedure in SQL Server 2008. I need to check if a table exists in the database. If it doesn't then I need to create it. How do I do this?

  9. SQL Server - Create a copy of a database table and place it in the …

    Mar 15, 2013 · In SSMS expand your database in Object Explorer, go to Tables, right click on the table you're interested in and select Script Table As, Create To, New Query Editor Window.

  10. Grant Permission to CREATE tables - SQL Server - Stack Overflow

    Feb 26, 2019 · What is the SQL command for giving a user permissions to create (and delete) tables? I am looking for something similar to this: GRANT INSERT, UPDATE, SELECT ON …