201842/how-to-create-table-from-select-query-result-sql-server-2008
I tried to build a table from the results of a select query in SQL Server.
create table temp AS select.....
But I am getting this error:
Incorrect syntax near the keyword 'AS'
Can someone please help me with this?
To modify the format of a date ...READ MORE
SELECT * FROM ( SELECT ID, NAME, ROW_NUMBER() ...READ MORE
MERGE INTO YourTable T USING ...READ MORE
INSERT INTO Table (col1, col2, col3) SELECT col1, ...READ MORE
I have two tables, Country and Capital, ...READ MORE
I have a table Emp which has these rows: Emp_cd ...READ MORE
Use sp_rename EXEC sp_RENAME 'TableName.PreviousColumnName' , 'NewColumnName', 'COLUMN' See: SQL SERVER ...READ MORE
With 200 records currently, I want to ...READ MORE
How do I query the DateTime database ...READ MORE
I require the minutes-based time difference between ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.