Group:  Microsoft Access ยป microsoft.public.access
Thread: RENAME TABLE

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

RENAME TABLE
Dave 25.09.2006 20:41:02
Why doesn't Access support the SQL statement, "RENAME TABLE name1 TO name2"???

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/community/en-us/default.mspx?mid=7fc70d43-eae0-45be-8191-2aa6c9fb226b&dg=microsoft.public.access
Re: RENAME TABLE
"Douglas J. Steele" <NOSPAM_djsteele[ at ]NOSPAM_canada.com> 25.09.2006 21:01:39
Is it really that necessary, given how seldom you need to rename tables?

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"Dave" <Dave[ at ]discussions.microsoft.com> wrote in message
news:7FC70D43-EAE0-45BE-8191-2AA6C9FB226B[ at ]microsoft.com...
[Quoted Text]
> Why doesn't Access support the SQL statement, "RENAME TABLE name1 TO
> name2"???
>
> ----------------
> This post is a suggestion for Microsoft, and Microsoft responds to the
> suggestions with the most votes. To vote for this suggestion, click the "I
> Agree" button in the message pane. If you do not see the button, follow
> this
> link to open the suggestion in the Microsoft Web-based Newsreader and then
> click "I Agree" in the message pane.
>
> http://www.microsoft.com/office/community/en-us/default.mspx?mid=7fc70d43-eae0-45be-8191-2aa6c9fb226b&dg=microsoft.public.access


Re: RENAME TABLE
Smartin <smartin108[ at ]yahoo.com> 26.09.2006 00:26:39
Dave wrote:
[Quoted Text]
> Why doesn't Access support the SQL statement, "RENAME TABLE name1 TO name2"???
>
> ----------------
> This post is a suggestion for Microsoft, and Microsoft responds to the
> suggestions with the most votes. To vote for this suggestion, click the "I
> Agree" button in the message pane. If you do not see the button, follow this
> link to open the suggestion in the Microsoft Web-based Newsreader and then
> click "I Agree" in the message pane.
>
> http://www.microsoft.com/office/community/en-us/default.mspx?mid=7fc70d43-eae0-45be-8191-2aa6c9fb226b&dg=microsoft.public.access

FYI You can change a table name in code e.g.,

dbengine(0)(0).TableDefs("OldTableName").Name = "NewTableName"

--
Smartin
Re: RENAME TABLE
"Jamie Collins" <jamiecollins[ at ]xsmail.com> 26.09.2006 13:40:19

Dave wrote:
[Quoted Text]
> Why doesn't Access support the SQL statement, "RENAME TABLE name1 TO name2"???

Because it's not ANSI-92 syntax e.g. test it at:

http://developer.mimer.se/validator/parser92/

Jamie.

--

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net