Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6838557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:36:41+00:00 2026-05-26T23:36:41+00:00

I am using the open source CMS pimcore ( http://www.pimcore.org ), which runs on

  • 0

I am using the open source CMS pimcore (http://www.pimcore.org), which runs on a MySQL backend.

It uses fairly complicated views to represent objects and one of them has become broken at some stage when a column in another table being referenced by the view was renamed. Whenever I try to interact with the table via SQL commands I receive the error:

View ‘barriste_website.object_6’ references invalid table(s) or
column(s) or function(s) or definer/invoker of view lack rights to use
them

I would like to simply update the view to reference the renamed columns, but I need to know the current structure of the view before I start poking around – how exactly do I retrieve the structure of the view once it is broken? I’ve tried

SHOW CREATE VIEW object_6

but I receive the same error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:36:42+00:00Added an answer on May 26, 2026 at 11:36 pm

    MySQL:

    SELECT VIEW_DEFINITION FROM INFORMATION_SCHEMA.VIEWS
    WHERE TABLE_SCHEMA = 'test' AND TABLE_NAME = 'v';
    

    reference: The INFORMATION_SCHEMA VIEWS Table

    SQL Server:

    USE databasename
    GO
    
    EXEC sp_helptext viewName
    

    or also a query like this:

    SELECT TABLE_NAME as ViewName,
    VIEW_DEFINITION as ViewDefinition
    FROM INFORMATION_SCHEMA.Views
    

    where you could add a WHERE to only retrieve one view

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using an open source .Net library which uses MSMQ underneath. After about
I have a .NET application, which is using an open source C++ compression library
I am using the SharpZipLib open source .net library from www.icsharpcode.net My goal is
I'm using a open-source library for i2c bus actions. This library frequently uses a
I working on a cms project and using a open source cms that hosted
I'm working with an open-source CMS that uses some very big multi dimensional arrays/objects.
I am using open source C++ library DCMTK from http://dicom.offis.de/dcmtk.php.en . I have successfully
An open-source cms I'm working on uses the following regex for validating emails: valid_regex=^[_a-z0-9-]+(.[_a-z0-9-]+)@[a-z0-9-]+(.[a-z0-9-]+)(.[a-z]{2,3})$
I'm currently trying to customize OpenCms (java-based open source CMS) a bit, which is
I'm new to using open source libraries in production code so when it says

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.