sql - alter table with space in name -


i have table space in name generated system.

i trying alter table name remove space can processed library pre-exists.

i trying:

alter table 'my table'  rename 'mytable'; 

i have tried double quotes, no luck.

any pointers?

[this not work in ms-access. tables cannot renamed in access. not clear if original question applied ms access.]

square brackets:

alter table [my table]  rename [mytable]; 

square brackets can't enclose entire object "path" won't work:

alter table [mydatabase.dbo.my table] 

but will

alter table [mydatabase].[dbo].[my table] 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -