Thread: SQL Script

Results 1 to 6 of 6
  1. #1
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default SQL Script

    Hello,

    Once you have installed a SQL Script, can it be undone? I installed a mod that required me to install a SQL script but I now want to remove this. Do I have to remove the SQL script as well or can i leave it?

    If i decided to delete it, how do i go about in doing that?

    If i decided to leave it, will it affect the site?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SQL Script

    A SQL file can do 50 bazillion things to your database ...

    You want to clean up what ever it did or you may have extra database tables, fields, changes to fields etc. that could alter how the normal site runs ...

    Perhaps if you said "what" add-on you ran a SQL file from it would help someone help you know what to do ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: SQL Script

    It's the News & Articles Management by Dreamscape

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SQL Script to deinstall News and Articles Manager

    Quote Originally Posted by Berserker
    It's the News & Articles Management by Dreamscape
    Run this SQL to remove the module's SQL components:
    Code:
    delete from configuration_group where configuration_group_title = 'News & Articles Management';
    delete from configuration where configuration_key in ('DISPLAY_NEWS_SUMMARY', 'DISPLAY_NEWS_SUMMARY_DAYS', 'DISPLAY_NEWS_SUMMARY_LENGTH', 'NEWS_COMMENTS_REQUIRE_CUSTOMER', 'ENTRY_NEWS_NAME_MIN_LENGTH', 'ENTRY_NEWS_COMMENTS_MIN_LENGTH',   'NEWS_COMMENTS_EMAIL_ADMIN_NOTICE', 'NEWS_RSS_FEED_NUMBER_OF_DAYS', 'NEWS_SCROLLER_NUMBER_OF_DAYS', 'NEWS_SCROLLER_HEIGHT', 'NEWS_SCROLLER_AMOUNT', 'NEWS_TICKER_NUMBER_OF_DAYS', 'NEWS_TICKER_HEIGHT', 'NEWS_TICKER_AMOUNT', 'NEWS_TICKER_DELAY');
    
    DROP TABLE IF EXISTS news_articles;
    DROP TABLE IF EXISTS news_articles_text;
    DROP TABLE IF EXISTS news_authors;
    DROP TABLE IF EXISTS news_comments;
    DROP TABLE IF EXISTS news_comments_description;
    Last edited by DrByte; 27 Jul 2006 at 02:20 AM.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: SQL Script

    Dr Byte,

    It doesn't seem to work. I get the error below:

    delete from configuration_group where configuration_group_name = 'News & Articles Management';

    1054 Unknown column 'configuration_group_name' in 'where clause'
    in:
    [DELETE FROM configuration_group where configuration_group_name = 'News & Articles Management';]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SQL Script

    oops -- corrected my post ... configuration_group_title ... not configuration_group_name
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v154 SQL Script Question
    By Feznizzle in forum General Questions
    Replies: 2
    Last Post: 2 Jul 2015, 07:13 PM
  2. SQL Script help
    By barnswallace in forum Basic Configuration
    Replies: 2
    Last Post: 20 Dec 2009, 03:20 AM
  3. Linking Products using a SQL script
    By guzzer in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 11 Oct 2009, 08:19 PM
  4. SQL Update Script Help
    By jayson.gurney in forum Customization from the Admin
    Replies: 5
    Last Post: 20 May 2006, 10:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR