sql server 2008 - I'm unsure what's wrong when I declare these variables in SQL -
i have following code:
use pricingdb go create table dbo.events_060107_2012 ( date_time varchar(20) collate sql_latin1_general_cp1_ci_as null, event_type text, month_of_year text, survey double, actual double, prior_data double, revised double, relevance float, ticker text ); go
and i'm getting error:
"incorrect syntax near ','. level 15, state 1, line 6" i'm aware should pretty easy problem fix, whatever reason i'm having lot of trouble understanding how go fixing this. knowledge of sql beginner @ best, of other threads read little above head.
thanks in advance help.
double not valid datatype in sql server
use float, numeric, ... or of other types supported.
more info @ http://msdn.microsoft.com/en-us/library/ms187752.aspx
Comments
Post a Comment