Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 create temp table syntex

Author  Topic 

chetanb3
Yak Posting Veteran

52 Posts

Posted - 2013-05-15 : 01:55:55
I am wondring why the below syntex for create table or temp table works. It should give syntex error nut it works on 2008

create table #temp
(
id int,
)

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-05-15 : 02:12:39
Similar discussion here

http://beyondrelational.com/modules/2/blogs/70/posts/18552/question-of-the-month-december-2012-why-is-last-comma-ignored-in-create-table-statement.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -