Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Change Table Names
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change Table Names

 Post Reply Post Reply
Author
aalbitz View Drop Down
Newbie
Newbie


Joined: 18 June 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote aalbitz Quote  Post ReplyReply Direct Link To This Post Topic: Change Table Names
    Posted: 18 June 2007 at 9:49pm
I want to change the name of the tblAuthor to tblSubscriber so as to integrate it with my current database.  When I try to change the code, I get this error:


Server Error in Forum Application
An error has occured while executing SQL query on database.
Please contact the forum administrator.

Support Error Code:- err_Access_get_forum_data
File Name:- default.asp

Error details:-
Microsoft JET Database Engine
No value given for one or more required parameters.

Is there somewhere else I need to change it in the code (I changed it on the pages from Author to subscriber where neccessary.) 

Is it coded in somewhere that I can't change the table name?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2007 at 7:57am
The table names are in 100's of files.

You would need to go through each file and update it to the new table name, which must contain the same field names and data types as the original tblAuthor table
Back to Top
aalbitz View Drop Down
Newbie
Newbie


Joined: 18 June 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote aalbitz Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2007 at 1:47pm
Hi,

I did do a universal search and replace and replaced every instance of the table name, so there's no instances of it calling the table with the old name.  To test it, all I did was rename the table, I didn't import or export anything yet.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.