sql - C#-Alter table tname add column cname Long Integer NOT NULL-throws exception -


i creating tables , column dynamically.

first creating tables , adding columns in them alter table.

but whenever

alter table tname  add column cname long integer not null 

is executed, shows error in alter table statement.

and when there decimal(28,0) not null, column added.

database ms-access , using c#

what wrong long int

in jet sql language there isn't long integer database type. specify long or integer.

i have tried sql statement access query builder , doesn't syntax. right, if remove ending not null accepts statement although looking here not seem valid syntax.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -