Use following syntax to create new table from old table in SQL server 2008
Select * into new_table from old_table
More Related Contents:
- Is it possible to write single query on two table which are not connected to each other?
- Can I Comma Delimit Multiple Rows Into One Column? [duplicate]
- sql server 2008 management studio not checking the syntax of my query
- Is the NOLOCK (Sql Server hint) bad practice?
- Querying data by joining two tables in two database on different servers
- Is having an ‘OR’ in an INNER JOIN condition a bad idea?
- Real life example, when to use OUTER / CROSS APPLY in SQL
- Where value in column containing comma delimited values
- How to find all connected subgraphs of an undirected graph
- How to use table variable in a dynamic sql statement?
- SQL query to split column data into rows
- Bulk DELETE on SQL Server 2008 (Is there anything like Bulk Copy (bcp) for delete data?)
- SQL Server 2008: how do I grant privileges to a username?
- Create Trigger to log SQL that affected table?
- Transfer data from one database to another database
- How to find third or nᵗʰ maximum salary from salary table?
- SQL “between” not inclusive
- Can I set ignore_dup_key on for a primary key?
- Selecting first row per group
- Using PIVOT in SQL Server 2008
- sql varchar(max) vs varchar(fix)
- How do I prevent a database trigger from recursing?
- sql group by only rows which are in sequence
- Function in SQL Server 2008 similar to GREATEST in mysql?
- Convert Date format into DD/MMM/YYYY format in SQL Server
- Converting Select results into Insert script – SQL Server
- How to retrieve field names from temporary table (SQL Server 2008)
- When using GETDATE() in many places, is it better to use a variable?
- How to execute a stored procedure inside a select query
- Using CASE Statement inside IN Clause